Specifications

SIMATIC Instructions
9-128
S7-200 Programmable Controller System Manual
C79000-G7076-C233-01
Double Integer to Integer
The Double Integer to Integer instruction converts the
double integer value (IN) to an integer value and places
the result into the variable specified by OUT.
If the value that you are converting is too large to be
represented in the output, then the overflow bit is set and
the output is not affected.
Error conditions that set ENO = 0: SM1.1 (overflow),
SM4.3 (run-time), 0006 (indirect address)
These instructions affect the following Special Memory
bits: SM1.1 (overflow)
Inputs/Outputs Operands Data Types
IN VD, ID, QD, MD, SMD, AC, LD, HC, Constant, *VD, *AC, SD, *LD DINT
OUT VW, IW, QW, MW, SW, SMW, LW, T, C, AC, *VD, *LD, *AC INT
Integer to Double Integer
The Integer to Double Integer instruction converts the
integer value (IN) to a double integer value and places
the result into the variable specified by OUT. The sign is
extended.
Error conditions that set ENO = 0: SM4.3 (run-time),
0006 (indirect address)
Inputs/Outputs Operands Data Types
IN VW, IW, QW, MW, SW, SMW, LW, T, C, AIW, AC, Constant, *AC,
*VD, *LD
INT
OUT VD, ID, QD, MD, SD, SMD, LD, AC, *VD, *LD, *AC DINT
L
A
D
S
T
L
DTI IN, OUT
F
B
D
DI_I
EN ENO
IN OUT
222 224
333
221
L
A
D
S
T
L
ITD IN, OUT
F
B
D
I_DI
EN ENO
IN OUT
222 224
333
221