7. APPLICATION INSTRUCTIONS
7
−
8
MELSEC-A
7.1.2 16-, 32-bit data logical add
(WOR, WORP, DOR, DORP)
Available Device
Bit device
Word (16-bit) device
Constant
Pointer
Level
Ca
rr
y
fla
g
Err
o
r
fla
g
X Y M L S B F T C D W R A0
A1
Z V K H P I N
D
igit specification
Inde
x
M9012 (M9010, M9011)
(S) O O O O O O O O O O O O O O O O O O
(D) O O O O O O O O O O O O O O O
(S1)
O O O O O O O O O O O O O O O O O O
(S2)
O O O O O O O O O O O O O O O O O O
WOR
(D1) O O O O O O O O O O O O O O O
K1
to
K4
(S) O O O O O O O O O O O O O O O O
DOR
(D) O O O O O O O O O O O O O
K1
to
K8
O
O
Functions WOR
(1) Performs the logical add of the 16-bit data of device specified at (D) and the
16-bit data of device specified at (S) per bit, and stores the result into the device
specified at (D).
Applicable
CPU
All CPUs
(S)
(D)
(S)
(D)
P
(S)
(S1)
(S2)
Data for which logical add
will be performed or head
number of device which
stores data
(D)
Data for performing
logical add or head
number of device where
the result of logical add
will be stored
(D1)
Head number of device
which will store the result
of logical add
Setting data
WOR, DOR
Indicates the instruction symbol.
Operation commands
(S1)
(D1)
(S1)
(D1)
P
(S2)
(S2)
WOR may only be used in the
areas marked *.
Operation commands
*
*
16 bits
WOR
Before execution
After execution
Summary of Contents for MELSEC-A series
Page 1: ......
Page 2: ......
Page 13: ...A 11 MEMO...
Page 505: ...APPENDICES APP 100 MELSEC A MEMO...
Page 507: ......
Page 508: ......