Logical Products With 16-Bit Data: Wand - Mitsubishi Electric MELSEC Q Series Programming Manual

Motion controller
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

5 SEQUENCE INSTRUCTIONS FOR MOTION CPU

5.4.18 Logical products with 16-bit data: WAND

Setting
data
(Note-1)
X
Y
M
(S1)
(S2)
(D)
[Setting data]
[Function]
[Error]
Bit device
SM
F
T
C
D
[Instruction]
Command
WAND
Setting data
(S1)
(S2)
(D)
(1) A logical product operation is conducted for each bit of the 16-bit data of the
device designated at (S1) and the 16-bit data of the device designated at (S2),
and the results are stored in the device designated at (D).
(2) For bit devices, the bit devices after the points designated by digit specification are
regarded as "0" in the operation.
When the same device is specified in (S1) and (D) or (S2) and (D), a sequence
program error occurs, the safety observation errors (SM57) are turned ON and error
code (SD32): 10, detail code (SD33): 2700H are stored.
Usable device
Word device
W
T
C
SD
Z
(Note-1): Cannot specify the same device in (S1) and (D), or (S2) and (D).
WAND
(S1)
Data for a logical product operation or the head number of the devices
where the data is stored (BIN 16 bits)
Head number of the devices where the logical product operation result
will be stored (BIN 16 bits)
5 - 52
Constant
Pointer
Level
K
H
P
N
(S2)
(D)
Description
Digit
desig-
Index
nation
: Usable

Advertisement

Table of Contents
loading

Table of Contents