261
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
10 Arithmetic and Logical Operation (
+
,
−
,
×
,
÷
) – FNC 20 to FNC 29
10.7 FNC 26 – WAND / Logical Word AND
1
In
troduct
io
n
2
Ov
e
rv
ie
w
3
In
st
ru
ct
ion
Li
st
4
D
evi
ce
s
in
De
ta
il
5
Speci
fied t
h
e
D
evi
ce &
C
onst
a
nt
6
Bef
o
re
Pr
ogr
a
m
m
ing
7
Bas
ic
In
st
ru
cti
o
n
8
FNC0
0
-FNC0
9
P
ro
g
ra
m F
lo
w
9
FNC1
0
-FNC1
9
M
ov
e
&
C
om
par
e
10
FNC
20-
FNC
2
9
Ar
ith.
&
Logi
c
O
per
at
io
n
2. 32-bit operation (DAND and DANDP)
The logical product (AND) operation is executed to the contents of [
+1,
] and [
+1,
] in
units of bit, and the result is transferred to [
+1,
].
• While the command input is OFF, the data of the transfer destination [
+1,
] does not change.
• While the command input is ON, the data of the transfer source [
+1,
] [
+1,
] do not
change.
• When a constant (K) is specified in the transfer source [
+1,
] [
+1,
], it is
automatically converted into the binary format.
• The logical product operation is executed in units of bit as shown in the table below (1
∧
1 = 1, 0
∧
1 = 0, 1
∧
0 = 0, 0
∧
0 = 0).
1: ON, 0: OFF
+1,
+1,
+1,
DAND (FNC 26) instruction
Logical operation
(unit: bit)
0
0
0
1
0
0
0
1
0
1
1
1
S
1
S
1
S
2
S
2
D
D
Command
input
FNC 26
DAND
S
1
S
2
+1,
∧
+1,
→
+1,
D
S
1
S
2
D
S
1
S
2
D
D
D
S
1
S
1
S
2
S
2
S
1
S
1
S
2
S
2
S
1
S
1
S
2
S
2
D
D