Siemens SIMATIC IM 151/CPU Manual page 171

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

Advertisement

B.23
Fixed-Point Math Instructions (16 Bits)
Math instructions of two 16-bit numbers. The result is in ACCU1–L.
In-
Address
struc-
ID
tion
+I
Add 2 integers (16 bits)
(ACCU1-L)=(ACCU1-L)+
(ACCU2-L)
–I
Subtract 2 integers (16 bits)
(ACCU1-L)=(ACCU2-L)–
(ACCU1-L)
I
Multiply 2 integers (16 bits)
*
(ACCU1-L)=(ACCU2-L)
(ACCU1-L)
/I
Divide 2 integers (16 bits)
(ACCU1-L)=(ACCU2-L):
(ACCU1-L)
The remainder of the division is in
ACCU1-H.
Status word for: +I, –I,
I, /I
*
Instruction depends on:
Instruction controls:
ET 200S Interface Module IM 151/CPU
A5E00058783-01
Description
*
BR
A1
A0
Yes
Yes
Instruction List
Length
Typical Execution Time in
in
s
Words
1
1.5
1
1.6
1
2.4
1
3.4
OV
OS
OR
STA
Yes
Yes
RLO
/FC
B-37

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents