Mitsubishi Electric MELDAS 60 Series Programming Manual page 148

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

Advertisement

WXOR ... Exclusive OR of 16-bit data
Bit device
X
Y
M
L SM F
S1
S2
D
WXOR
Function
Exclusive OR is executed for each bit of the 16-bit data designated with S1 and designated with S2,
and the results are stored in the device designated with D.
Before execution
After execution
Execution conditions
The execution conditions for WXOR are as follow.
Operation command OFF
WXOR
Usable device
Word device
T
C
D
R
Z
Operation command
WXOR
S1
S1
0
1
0
1
S2
0
0
0
0
D
0
1
0
1
ON
Executed per scan
- 140 -
Con-
Pointer
Level
stant
K
H
P
N
Setting data
Data to be exclusive ORed
S1
or No. of device where
S2
D
S2
data is stored.
No. of device to store
D
exclusive OR results.
16-bit
0
1
0
1
0
1
0
1
WXOR
1
1
1
1
0
0
0
0
1
0
1
0
0
1
0
1
Executed per scan
WXOR
Digit
No. of
desig-
steps Index
nation
4
0
1
0
1
1
1
1
1
1
0
1
0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents