FX Series Programmable Controlers
5.3.7
WAND (FNC 26)
Mnemonic
WAND
FNC 26
(
Logical
word AND)
16 BIT OPERATION
The following rules are used to determine the result of a logical AND operation. This takes
place for every bit contained within the source devices:
General rule: (S
1 WAND 1 = 1
1 WAND 0 = 0
Function
A logical AND is
K, H,
performed on the
KnX, KnY,
source devices -
KnM, KnS,
result stored at
T, C, D, V, Z
destination
32 BIT OPERATION
) Bit n WAND (S
) Bit n = (D) Bit n
1
2
0 WAND 1 = 0
0 WAND 0 = 0
Operands
S1
S2
PULSE-P
Operation:
The bit patterns of the two source devices are
analyzed (the contents of S
the contents of S
analysis is stored in the destination device (D).
Applied Instructions 5
FX
FX
FX
1S
1N
2N
Program steps
D
KnY, KnM, KnS,
WAND,WANDP:
T, C, D, V, Z
7 steps
DAND,
DANDP:
13 steps
is compared against
2
). The result of the logical AND
1
5-36
FX
2NC
Need help?
Do you have a question about the FX1S Series and is the answer not in the manual?