Integer 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 Also See for CPU 412-1:
Table of Contents

Advertisement

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-
Instruc-
Address
Address
tion
ID
+D
Add 2 integers (32-bit)
(ACCU1)=(ACCU2)+(ACCU1)
–D
Subtract 2 integer from another (32 bits)
(ACCU1)=(ACCU2)-(ACCU1)
* D
Multiply 2 integer by another (32 bits)
(ACCU1)=(ACCU2) * (ACCU1)
Status word for:
+D, –D, * D, /D
Instruction evaluates:
Instruction affects:
S7-400 Instruction List
A5E00267845-01
Length
Length
Description
Description
BR
CC1
Yes
Execution Time in ms
in
in
CPU 412
CPU 414
Words
1
0.1
1
0.1
1
0.1
CC0
OV
OS
Yes
Yes
Yes
Integer Math (32 Bits)
CPU 416
CPU 417
0.06
0.04
0.06
0.04
0.06
0.04
OR
STA
RLO
0.03
0.03
0.03
/FC
63

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents