Mitsubishi Electric MELDAS 60 Series Programming Manual page 140

Plc programming
Hide thumbs Also See for MELDAS 60 Series:
Table of Contents

Advertisement

WAND ... Logical AND of 16-bit data
Bit device
X
Y
M
L SM F
S1
S2
D
W AND
Function
(1) Logical AND is executed for each bit of the 16-bit data in the device designated with S1 and the
device designated with S2, and the results are stored in the device designated with D.
Before execution
After execution
(2) The bit device other than the designated digits are operated as 0.
(Refer to program example (2).)
Usable device
Word device
T
C
D
R
Z
Operation command
S1
WAND
S1
1
1
1
1
1
S2
0
0
0
1
0
D
0
0
0
1
0
- 132 -
Con-
Pointer
Level
stant
K
H
P
N
Setting data
S1 Data to be logical ANDed
or No. of device
S2
S2
D
where data is stored.
No. of device to store
D
logical AND results.
16-bit
1
1
1
0
0
0
WAND
0
1
0
0
0
1
0
1
0
0
0
0
WAND
Digit
No. of
desig-
steps Index
nation
4
0
1
1
1
1
1
0
1
0
0
0
0
1
0
0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents