Yaskawa YASNAC PC NC PLC Programming Manual User Manual
Page 58

6 - 22
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(b) Format
(c) Explanation
•
An ST contact must be entered before the ANI instruction.
•
The ANI 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
(8) ORI (OR Immediate) RR after operation: RR-
(a) Function
The instruction executes OR 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 ORI instruction.
(b) Format
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
0
0
1
0
0
0
1
B A Paradym31 Variable Name
B A Paradym31 Variable Name