EasyManua.ls Logo

Siemens SIMATIC IM 151/CPU - Page 172

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

Table of Contents

Related product manuals