How about a CPT Compute
Help says it is compatable with the following so it may not work for you.
SLC 5/03 OS302
SLC 5/04 OS401
SLC 5/05
MicroLogix 1400 Series A
N7:12+N7:13+n7:14+...
Destination N12:0
Expressions - The expression is zero or more lines, with up to 28 characters per line, up to 255 characters. Instructions that can be used in the Expression include: +, -, *, l (DIV), SQR, - (NEG), NOT, XOR, OR, AND, TOD, FRD, LN, TAN, ABS, DEG, RAD, SIN, COS, ATN, ASN, ACS, LOG, and ** (XPY). The execution of a CPT instruction is longer than a single arithmetic operation and uses more instruction words.
You can also use indirect or indexed addressing but it seems to me you would need to do one ad per scan using those.