3 xor instruction (xor), Parameter „ program example, Outline – Yaskawa MP900 Series Machine Controller New Ladder Editor User Manual

Page 67

Advertising
background image

1.3 Logical Operation/Comparison Instructions

1-57

1

„

Parameter

„

Program Example

The logical sum of MW00100 and a constant is stored in MW00101.

1.3.3 XOR Instruction (XOR)

„

Outline

The XOR instruction outputs the exclusive logical sum (XOR) of Source A and Source B to
the Dest.

Parameter Name

Setting

Source A

• Any integer type and double-length integer type register
• Any integer type and double-length integer type register with

subscript

• Subscript register
• Constant

Source B

• Any integer type and double-length integer type register
• Any integer type and double-length integer type register with

subscript

• Subscript register
• Constant

Dest

• Any integer type and double-length integer type register

(except for # and C register)

• Any integer type and double-length integer type register with

subscript (except for # and C register)

• Subscript register

Table 1.9 1 bit Truth Table for the Exclusive Logical Sum

Source A

Source B

Dest

0

0

0

0

1

1

1

0

1

1

1

0

Advertising
This manual is related to the following products: