Siemens SIMATIC IM 151/CPU Manual page 172

Interface module for et 200s distributed i/o system
Table of Contents

Advertisement

Instruction List
B.24
Fixed-Point Math Instructions (32 Bits)
Math instructions of two 32-bit numbers. The result is in ACCU1.
In-
Address
struc-
ID
tion
+D
Add 2 integers (32 bits)
(ACCU1)=(ACCU2)+(ACCU1)
–D
Subtract 2 integers (32 bits)
(ACCU1)=(ACCU2)–(ACCU1)
D
Multiply 2 integers (32 bits)
*
(ACCU1)=(ACCU2)
/D
Divide 2 integers (32 bits)
(ACCU1)=(ACCU2):(ACCU1)
MOD
Divide 2 integers (32 bits) and load the re-
mainder of the division in ACCU1:
(ACCU1)=Remainder from
[(ACCU2):(ACCU1)]
Status word for:
+D, –D,
*
Instruction depends on:
Instruction controls:
B-38
Description
(ACCU1)
*
D, /D, MOD
BR
A1
Yes
Length
Typical Execution Time in
in
Words
1
1
1
1
1
A0
OV
OS
OR
Yes
Yes
Yes
ET 200S Interface Module IM 151/CPU
s
2.0
2.7
9.9
10.8
11.3
STA
RLO
/FC
A5E00058783-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents