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