Mitsubishi Electric MELDAS C6 Programming Manual page 247

Hide thumbs Also See for MELDAS C6:
Table of Contents

Advertisement

WOR, WORP ... Logical OR of 16-bit data
Bit device
X
Y M
L
F
B SB T SM V T
S
D
S1
S2
D
WOR
WORP
WOR
WORP
Function
WOR
S
D
Logical OR is executed for each bit of the 16-bit data in the device designated with D and the device
designated with S, and the results are stored in the device designated with D.
Before execution
After execution
WOR
S2
S1
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
8. Function Commands
WOR, WORP
Usable device
Word device
C D R W SW Z SD K
Operation command
WOR
WORP S
Operation command
WOR
S1
WORP S1
WORP
S
D
,
0
1
0
1
D
0
0
0
0
S2
0
1
0
1
D
D
WORP
S1
S2
,
0
1
0
1
S1
0
0
0
0
S2
0
1
0
1
D
- 238 -
Get other manuals https://www.bkmanuals.com
Con-
stant
H
Setting data
S
D
Data to be logical ORed
S
or No. of device
where data is stored.
The logical OR results
D
D
are stored in D device.
Setting data
S2
S1 Data to be logical ORed
D
or No. of device where
S2
data is stored.
No. of device to store
D
S2
D
logical OR results.
16-bit
0
1
0
1
0
1
0
1
0
WOR,WORP
1
1
1
1
1
0
1
0
0
1
1
1
1
1
1
1
1
0
D
16-bit
0
1
0
1
0
1
0
1
0
WOR,WORP
1
1
1
1
1
0
1
0
0
1
1
1
1
1
1
1
1
0
Digit
No. of
Pointer
desig-
Index
steps
nation
P
3
4
1
0
1
1
0
1
1
0
1
1
0
1
1
0
1
1
0
1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Meldas c64

Table of Contents