Floating-Point Math (32 Bits)
65
S7-400 Instruction List
A5E00267845-01
Floating-Point Math (32 Bits)
The result of the math instruction is in 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
+R
Add 2 real numbers (32 bits)
(ACCU1)=(ACCU2)+(ACCU1)
1
0.4
0.24
0.16
0.12
–R
Subtract 1 real number from another (32 bits)
(ACCU1)=(ACCU2)-(ACCU1)
1
0.4
0.24
0.16
0.12
*R
Multiply 1 real number by another (32 bits)
(ACCU1)=(ACCU2)*(ACCU1)
1
0.2
0.12
0.08
0.06
/R
Divide 1 real number by another (32 bits)
(ACCU1)=(ACCU2):(ACCU1)
1
0.7
0.42
0.28
0.21
Status word for:
+R, –R, *R, /R
BR
CC1
CC0
OV
OS
OR
STA
RLO
/FC
Instruction evaluates:
–
–
–
–
–
–
–
–
–
Instruction affects:
–
Yes
Yes
Yes
Yes
–
–
–
–