Logical Sums With 16-Bit Data: Wor - 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.20 Logical sums with 16-bit data: WOR

Setting
data
(Note-1)
X
Y
M
(S1)
(S2)
(D)
[Setting data]
[Function]
[Error]
Bit device
SM
F
T
C
D
[Instruction]
Command
WOR
Setting data
(S1)
Data for a logical sum operation or the head number of the devices where
(S2)
Head number of the devices where the logical sum operation result will
(D)
(1) Conducts a logical sum operation on each bit of the 16-bit data of the device
designated by (S1) and the 16-bit data of the device designated by (S2), and
stores the results at the device designated by (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).
WOR
(S1)
the data is stored (BIN 16 bits)
be stored (BIN 16 bits)
5 - 54
Constant
Pointer
Level
K
H
P
N
(S2)
(D)
Description
Digit
desig-
Index
nation
: Usable

Advertisement

Table of Contents
loading

Table of Contents