beautypg.com

Yaskawa YASNAC PC NC PLC Programming Manual User Manual

Page 65

background image

6 - 29

YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions

(b) Format

(18)ORR (OR Register) RR after operation: RR-

(a) Function

The function executes OR operation between the content in the resister R2 and the content
in register R1 when the ST contact is ON (RR = 1) and stores the result to register R2.

The content in register R1 remains unchanged and status of RR also remains unchanged.

If the ST contact is OFF (RR = 0), the instruction is not executed.

(b) Format

(19)XRR (XOR Register) RR after operation: RR-

(a) Function

The function executes XOR operation between the content in the resister R2 and the
content in register R1 when the ST contact is ON (RR = 1) and stores the result to register
R2.

The content in register R1 remains unchanged and status of RR also remains unchanged.

If the ST contact is OFF (RR = 0), the instruction is not executed.

(b) Format

A B Paradym31 Variable Name

A B Paradym31 Variable Name

A B Paradym31 Variable Name