Integer Math (16 Bits)
61
S7-400 Instruction List
A5E00267845-01
Integer Math (16 Bits)
Math instructions on two 16-bit words. The result is written to ACCU1 and/or ACCU1-L. ACCU3 and ACCU4 are then transferred to
ACCU2 and ACCU3.
Length
Execution Time in s
tion
ID
Words
CPU 412 CPU 414 CPU 416 CPU 417
+I Add 2 integers (16 bits)
(ACCU1-L)=(ACCU1-L)+(ACCU2-L)
1 0.1 0.06 0.04 0.03
–I Subtract 1 integer from another (16 bits)
(ACCU1-L)=(ACCU2-L)-(ACCU1-L)
1 0.1 0.06 0.04 0.03
Status word for: +I, –I, BR CC1 CC0 OV OS OR STA RLO /FC
Instruction evaluates: – – – – – – – – –
Instruction affects: – Yes Yes Yes Yes – – – –