Specifications
IEC 1131-3 Instructions
10-34
S7-200 Programmable Controller System Manual
C79000-G7076-C233-01
Real To Double Integer
The Real To Double Integer function converts a real
value (N) to a double Integer value and loads the result
into the variable specified by OUT.
Error conditions that set ENO = 0: SM1.1 (overflow),
SM4.3 (run-time), 0006 (indirect address)
Inputs/Outputs Operands Data Types
IN VD, ID, QD, MD, SD, SMD, LD, AC, Constant,*VD,*LD, *AC REAL
OUT VD, ID, QD, MD, SD, SMD, LD, AC, *VD, *LD, *AC DINT
Double Integer To Integer
The Double Integer to Integer function converts the
double integer (IN) to an integer value and loads the
result into the variable specified by OUT.
Error conditions that set ENO = 0: SM1.1 (overflow),
SM4.3 (run-time), 0006 (indirect address)
This function affects the following Special Memory bits:
SM1.1 (overflow)
Inputs/Outputs Operands Data Types
IN VD, ID, QD, MD, SD, SMD, LD, HC, AC, Constant,*VD,*LD,
*AC
DINT
OUT VW, IW, QW, MW, SW, SMW, LW, T, C, AC, *VD, *LD, *AC INT
L
A
D
F
B
D
R_TO_DI
EN
IN OUT
ENO
222 224
333
221
L
A
D
F
B
D
DI_TO_I
EN
IN OUT
ENO
222 224
333
221