Yaskawa YASNAC PC NC PLC Programming Manual User Manual
Page 59

6 - 23
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(c) Explanation
•
An ST contact must be entered before the ORI instruction.
•
The ORI instruction is executed in intervals of “4 × n” msec while the ST contact is
ON.
•
The relationship between register and numeric value is shown below”.
(d) Example
(9) XRI (XOR Immediate)
(a) Function
The instruction executes XOR between the specified numeric value and the content of the
register and stores the result to the register when the ST contact is ON (RR = 1). If the ST
contact is OFF (RR = 0), the instruction is not executed.
The RR content remains unchanged before and after the execution of the XRI instruction.
(b) Format
(c) Explanation
•
An ST contact must be entered before the XRI instruction.
•
The XRI instruction is executed in intervals of “4 × n” msec while the ST contact is
ON.
D7
D6
D5
D4
D3
D2
D1
D0
Register
0
0
1
1
0
0
1
1
Numeric value
0
1
0
1
0
1
0
1
Result
0
1
1
1
0
1
1
1
B A Paradym31 Variable Name