SIMATIC Instructions
Invert Byte, Invert Word, Invert Double Word Instructions
L
INV_B
A
EN
D
F
IN
B
D
INV_W
EN
IN
INV_DW
EN
IN
S
T
INVB
L
INVW
INVD
221
222 224
Invert...
Inputs/Outputs
IN
Byte
Byte
OUT
IN
Word
Word
OUT
IN
Double
Word
Word
OUT
9-118
The Invert Byte instruction forms the ones complement
of the input byte IN, and loads the result into byte value
OUT.
ENO
The Invert Word instruction forms the ones complement
OUT
of the input word IN, and loads the result in word value
OUT.
ENO
The Invert Double Word instruction forms the ones
OUT
complement of the input double word IN, and loads the
result in double word value OUT.
ENO
Error conditions that set ENO = 0: SM4.3 (run-time),
0006 (indirect address)
OUT
This instruction affects the following Special Memory bits:
SM1.0 (zero)
OUT
OUT
OUT
226
Operands
VB, IB, QB, MB,SB, SMB, LB, AC, Constant, *VD,
*AC, *LD
VB, IB, QB, MB, SB, SMB, LB, AC,*VD, *AC, *LD
VW, IW, QW, MW, SW, SMW, T, C, AIW, LW, AC,
Constant, *VD, *AC, *LD
VW, IW, QW, MW, SW, SMW, T, C, LW, AC, *VD, *AC,
*LD
VD, ID, QD, MD, SD, SMD, LD, HC, AC, Constant,
*VD, *AC, *LD
VD, ID, QD, MD, SD, SMD, LD, AC, *VD, *AC, *LD
S7-200 Programmable Controller System Manual
Data Types
BYTE
BYTE
WORD
WORD
DWORD
DWORD
A5E00066097-02