125
4-6-7
.
Logic AND [WAND], Logic OR[WOR], Logic Exclusive OR [WXOR]
1. Summary
Do logic AND, OR, XOR for data
Logic AND [WAND]
16 bits
WAND
32 bits
DWAND
Execution
condition
Normally ON/OFF,
rising/falling edge
Suitable
Models
XD, XL
Hardware
requirement
-
Software
requirement
-
Logic OR[WOR]
16 bits
WOR
32 bits
DWOR
Execution
condition
Normally ON/OFF,
rising/falling edge
Suitable
Models
XD, XL
Hardware
requirement
-
Software
requirement
-
Logic Exclusive OR [WXOR]
16 bits
WXOR
32 bits
DWXOR
Execution
condition
Normally ON/OFF,
rising/falling edge
Suitable
Models
XD, XL
Hardware
requirement
-
Software
requirement
-
2. Operands
Operands Function
Data Type
S1
The operation data address
16bit/32bit,BIN
S2
The operation data address
16bit/32bit,BIN
D
The result address
16bit/32bit,BIN
3. Suitable soft components
*Notes: D includes D, HD; TD includes TD, HTD; CD includes CD, HCD, HSCD, HSD;
DM includes DM, DHM; DS includes DS, DHS.
< Logic AND >
WAND
D10
D12
D14
D·
X0
S1·
S2·
Operand
System
Constant Module
D
*
FD
TD
*
CD
*
DX
DY
DM
*
DS
*
K /H
ID
QD
S1
●
●
●
●
●
●
●
●
●
S2
●
●
●
●
●
●
●
●
●
D
●
●
●
●
●
●
Word
Description
0&0=0 0&1=0
1&0=0 1&1=1