Download  Print this page

Siemens CPU 412-1 Instruction Manual Page 86

S7-400; cpu 412 series; cpu 414 series; cpu 416 series; cpu 417 series;.
Hide thumbs

Advertisement

Data Type Conversion Instructions,
continued
The real number to be converted is in ACCU1.
Instruc-
Instruc-
Address
Address
ID
tion
RND+
Convert a real number into a
32-bit integer. The number is
rounded up to the next whole
number.
RND
Convert a real number into a
32-bit integer.
RND-
Convert a real number into a
32-bit integer. The number is
rounded down to the next whole
number.
TRUNC
Convert a real number into a
32-bit integer. The places after
the decimal point are truncated.
Status word for:
RND, RND-, RND+,
TRUNC
Instruction evaluates:
Instruction affects:
S7-400 Instruction List
A5E00267845-01
Length
Length
Description
Description
in
in
Words
1
1
1
1
BR
CC1
Data Type Conversion Instructions
Execution Time in ms
CPU 412
CPU 414
0.4
0.24
0.4
0.24
0.4
0.24
0.4
0.24
CC0
OV
OS
Yes
Yes
CPU 416
CPU 417
0.16
0.12
0.16
0.12
0.16
0.12
0.16
0.12
OR
STA
RLO
/FC
84

Advertisement

   Related Manuals for Siemens CPU 412-1

Comments to this Manuals

Symbols: 0
Latest comments: