3 exclusive or (xor), 1 ) operation, 2 ) format – Yaskawa MP900 Series Ladder Programming Manual User Manual
Page 136

5.4 Logic Operations and Comparison Instructions
5.4.3 Exclusive OR (XOR)
5-67
Instructions
5
5.4.3 Exclusive OR (XOR)
( 1 ) Operation
The XOR instruction performs an exclusive logical OR operation on input data A and input data B and the result is
stored in the output data.
This instruction can be used only with integer or double-length integer data.
Each bit in the input data is evaluated as shown in the following truth table.
( 2 ) Format
∗ C and # registers cannot be used.
Input data A
Input data B
Output data
0
0
0
0
1
1
1
0
1
1
1
0
Input data A
Output data
Input data B
Exclusive OR
(XOR)
Input data A
Input data B
Output data
Icon:
Key entry: ^
Parameter Name
Applicable Data Types
B
W
L
F
A
Index
Constant
Input data A (SrcA)
×
{
{
{
×
{
{
Input data B (SrcB)
×
{
{
{
×
{
{
Output data (Dest)
×
{
*
{
*
{
*
×
{
×