IEC 1131-3 Instructions
Inputs/Outputs
IN
VD, ID, QD, MD, SD, SMD, LD, HC, AC, Constant,*VD,*LD,
*AC
OUT
VW, IW, QW, MW, SW, SMW, LW, T, C, AC, *VD, *LD, *AC
Integer to Double Integer
L
I_TO_DI
A
D
EN
F
IN
B
D
221
222 224
Inputs/Outputs
IN
VW, IW, QW, MW, SW, SMW, LW, T, C, AIW, Constant, AC,
*VD,*LD, *AC
OUT
VD, ID, QD, MD, SD, SMD, LD, AC, *VD, *LD, *AC
Byte To Integer
L
B_TO_I
A
D
EN
F
IN
B
D
221
222 224
Inputs/Outputs
IN
VB, IB, QB, MB, SB, SMB, LB, AC, Constant, *VD, *LD, *AC
OUT
VW, IW, QW, MW, SW, SMW, LW, T, C, AC, *VD, *LD, *AC
10-32
Operands
The Integer to Double Integer function converts the
integer value specified by IN to a double integer value
ENO
and loads the result into the variable specified by OUT.
OUT
Error conditions that set ENO = 0: SM4.3 (run-time),
0006 (indirect address)
226
Operands
The Byte to Integer function converts the byte value (IN)
to an integer value and loads the result into the variable
ENO
specified by OUT.
OUT
Error conditions that set ENO = 0: SM4.3 (run-time),
0006 (indirect address)
226
Operands
Data Types
DINT
INT
Data Types
INT
DINT
Data Types
BYTE
INT
S7-200 Programmable Controller System Manual
A5E00066097-02
Need help?
Do you have a question about the SIMATIC S7-200 and is the answer not in the manual?
Questions and answers
settings get erased
Settings on the Siemens SIMATIC S7-200 may get erased if the memory areas are not configured to be retentive. Only the first 14 bytes of M memory (MB0 to MB13) can be configured as retentive, which means they are saved to EEPROM when the CPU loses power. If memory is not set as retentive, its contents are lost during a power cycle. Also, changes made in RUN mode may not take effect permanently until a power cycle or STOP-to-RUN transition occurs.
This answer is automatically generated