Download  Print this page

Floating-point Math (32 Bits) - Siemens CPU 412-1 Instruction Manual

S7-400; cpu 412 series; cpu 414 series; cpu 416 series; cpu 417 series;.
Hide thumbs

Advertisement

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-
Instruc-
Address
Address
tion
ID
+R
Add 2 real numbers (32 bits)
(ACCU1)=(ACCU2)+(ACCU1)
–R
Subtract 1 real number from another (32 bits)
(ACCU1)=(ACCU2)-(ACCU1)
* R
Multiply 1 real number by another (32 bits)
(ACCU1)=(ACCU2) * (ACCU1)
/R
Divide 1 real number by another (32 bits)
(ACCU1)=(ACCU2):(ACCU1)
Status word for:
+R, –R, * R, /R
Instruction evaluates:
Instruction affects:
S7-400 Instruction List
A5E00267845-01
Description
Description
BR
CC1
Yes
Floating-Point Math (32 Bits)
Execution Time in ms
Length
Length
in
in
CPU 412
CPU 414
Words
1
0.4
1
0.4
1
0.2
1
0.7
CC0
OV
OS
Yes
Yes
Yes
CPU 416
CPU 417
0.24
0.16
0.12
0.24
0.16
0.12
0.12
0.08
0.06
0.42
0.28
0.21
OR
STA
RLO
/FC
65

Advertisement

   Related Manuals for Siemens CPU 412-1

Comments to this Manuals

Symbols: 0
Latest comments: