Siemens Simatic S7-200 System Manual page 291

Programmable controller
Hide thumbs Also See for Simatic S7-200:
Table of Contents

Advertisement

And Word, Or Word, Exclusive Or Word
L
WAND_W
A
EN
D
IN1
IN2 OUT
WOR_W
EN
IN1
IN2 OUT
WXOR_W
EN
IN1
IN2 OUT
S
ANDW
T
L
ORW
XORW
212
214
S7-200 Programmable Controller System Manual
C79000-G7076-C230-02
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.
Operands:
Note: When programming in LAD, if you specify IN1 to be the
same as OUT, you can reduce the amount of memory required.
These instructions affect the following Special Memory bits:
SM1.0 (zero)
IN1, OUT
IN1, OUT
IN1, OUT
215
216
IN1, IN2: VW, T, C, IW, QW, MW, SMW, AC,
AIW, Constant, *VD, *AC, SW
OUT:
VW, T, C, IW, QW, MW, SMW, AC,
*VD, *AC, SW
Instruction Set
10-103

Advertisement

Table of Contents
loading

Table of Contents