Mitsubishi Electric MELDAS 60 Series Programming Manual page 144

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

Advertisement

WOR ... Logical OR of 16-bit data
Bit device
X
Y
M
L SM F
S1
S2
D
WOR
Function
Logical OR 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
Execution conditions
The execution conditions for WOR are as follow.
Operation command OFF
WOR
Usable device
Word device
T
C
D
R
Z
Operation command
WOR
S1
S1
0
1
0
1
S2
0
0
0
0
D
0
1
0
1
ON
Executed per scan
- 136 -
Con-
Pointer
Level
stant
K
H
P
N
Setting data
S1 Data to be logical ORed
or No. of device
S2
S2
where data is stored.
D
No. of device to store
D
logical OR results.
16-bit
0
1
0
1
0
1
0
1
WOR
1
1
1
1
1
0
1
0
1
1
1
1
1
1
1
1
Executed per scan
WOR
Digit
No. of
desig-
steps Index
nation
4
0
1
0
1
0
1
0
1
0
1
0
1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents