EasyManuals Logo

Siemens SIMATIC IM 151/CPU User Manual

Siemens SIMATIC IM 151/CPU
218 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #173 background imageLoading...
Page #173 background image
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

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SIMATIC IM 151/CPU and is the answer not in the manual?

Siemens SIMATIC IM 151/CPU Specifications

General IconGeneral
BrandSiemens
ModelSIMATIC IM 151/CPU
CategoryControl Unit
LanguageEnglish

Related product manuals