Specifications
SIMATIC Instructions
9-111
S7-200 Programmable Controller System Manual
C79000-G7076-C233-01
And Word, Or Word, Exclusive Or Word
The And Word instruction ANDs the corresponding bits
of two input words and loads the result (OUT) in a word.
The Or Word instruction ORs the corresponding bits of
two input words and loads the result (OUT) in a
word.
The Exclusive Or Word instruction XORs the
corresponding bits of two input words and loads the
result (OUT) in a word.
Error conditions that set ENO = 0: SM4.3 (run-time),
0006 (indirect address)
These instructions affect the following Special Memory
bits: SM1.0 (zero)
Inputs/Outputs Operands Data Types
IN1, IN2 VW, IW, QW, MW, SW, SMW, LW, T, C, AIW, AC, Constant, *VD,
*AC, *LD
WORD
OUT VW, IW, QW, MW, SW, SMW, LW, T, C, AC, *VD, *AC, *LD WORD
L
A
D
S
T
L
ANDW IN1, OUT
WAND_W
EN
IN1
IN2
OUT
WOR_W
EN
IN1
IN2
OUT
WXOR_W
EN
IN1
IN2
OUT
ORW IN1, OUT
XORW IN1, OUT
ENO
ENO
ENO
F
B
D
222 224
333
221