
Instruction List
B-39
ET 200S Interface Module IM 151/CPU
A5E00058783-01
B.25
Floating-Point Math Instructions (32 Bits)
The result of the math instructions is in ACCU1. The execution time of the
instruction depends on the value to be calculated.
In-
struc-
tion
Address
ID
Description
Length
in
Words
Typical Execution Time in
s
+R
–
Add 2 real numbers (32 bits)
(ACCU1)=(ACCU2)+(ACCU1)
1
< 35
–R
–
Subtract 2 real numbers (32 bits)
(ACCU1)=(ACCU2)–(ACCU1)
1
< 35
*
R
–
Multiply 2 real numbers (32 bits)
(ACCU1)=(ACCU2)
*
(ACCU1)
1
< 35
/R
–
Divide 2 real numbers (32 bits)
(ACCU1)=(ACCU2)
:
(ACCU1)
1
< 40
Status word for:
+R, –R,
*
R, /R
BR
A1
A0
OV
OS
OR
STA
RLO
/FC
Instruction depends on:
–
–
–
–
–
–
–
–
–
Instruction controls:
–
Yes
Yes
Yes
Yes
–
–
–
–
NEGR –
Negate real number in ACCU1
1
0.3
ABS
–
Make absolute value of the real number in
ACCU1
1
0.3
Status word for:
NEGR, ABS
BR
A1
A0
OV
OS
OR
STA
RLO
/FC
Instruction depends on:
–
–
–
–
–
–
–
–
–
Instruction controls:
–
–
–
–
–
–
–
–
–
B.26
Addition of Constants
Addition of integer constants to ACCU1. The indicators are not affected.
In-
struc-
tion
Address
ID
Description
Length
in
Words
Typical Execution Time in
s
+
i8
Add an 8-bit integer constant
1
0.3
+
i16
Add a 16-bit integer constant
2
0.3
+
i32
Add an 32-bit integer constant
3
0.6
Содержание SIMATIC IM 151/CPU
Страница 6: ...Important Information vi ET 200S Interface Module IM 151 CPU A5E00058783 01 ...
Страница 14: ...Contents xiv ET 200S Interface Module IM 151 CPU A5E00058783 01 ...
Страница 42: ...ET 200S in the PROFIBUS Network 3 12 ET 200S Interface Module IM 151 CPU A5E00058783 01 ...
Страница 68: ...Commissioning and Diagnostics 4 26 ET 200S Interface Module IM 151 CPU A5E00058783 01 ...
Страница 98: ...Technical Specifications 6 8 ET 200S Interface Module IM 151 CPU A5E00058783 01 ...
Страница 108: ...Cycle and Response Times 7 10 ET 200S Interface Module IM 151 CPU A5E00058783 01 ...
Страница 190: ...Execution Times of the SFCs and SFBs C 4 ET 200S Interface Module IM 151 CPU A5E00058783 01 ...
Страница 196: ...Migration of the IM 151 CPU D 6 ET 200S Interface Module IM 151 CPU A5E00058783 01 ...