IEC 1131-3 Instructions
10-31
S7-200 Programmable Controller System Manual
A5E00066097-02
Inputs/Outputs Operands Data Types
IN VW, IW, QW, MW, SW, SMW, LW, T, C, AIW, AC, Constant,
*VD, *LD, *AC
WORD
OUT VW, IW, QW, MW, SW, SMW, LW, T, C, AC, *VD, *AC, *LD WORD
Double Integer to Real
The Double Integer to Real function converts a 32-bit,
signed integer (IN) into a 32-bit real number loads the
result into the variable specified by OUT.
Error conditions that set ENO = 0: SM4.3 (run-time),
0006 (indirect address)
Inputs/Outputs Operands Data Types
IN VD, ID, QD, MD,SD, SMD, LD, HC, AC, Constant,*VD,*LD,
*AC
DINT
OUT VD, ID, QD, MD, SD, SMD, LD, AC, *VD, *LD, *AC REAL
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)
L
A
D
F
B
D
DI_TO_R
EN
IN OUT
ENO
222 224
✓✓✓
221 226
✓
L
A
D
F
B
D
R_TO_DI
EN
IN OUT
ENO
222 224
✓✓✓
221 226
✓
L
A
D
F
B
D
DI_TO_I
EN
IN OUT
ENO
222 224
✓✓✓
221 226
✓