Double Integer to Integer Convert

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

Memory Ranges ENO Errors Instruction Support for S7-200 CPUs SIMATIC/International Mnemonics
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:

0006 (indirect address), SM1.1 (overflow), SM4.3 (run-time)

These instructions affect the following Special Memory bits:

SM1.1 (overflow)