Mitsubishi Electric MELDAS C6 Programming Manual page 251

Hide thumbs Also See for MELDAS C6:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Meldas c64

Table of Contents