Yaskawa YASNAC PC NC PLC Programming Manual User Manual
Page 96

6 - 60
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(c) Control conditions
•
Designation of check data address (APSHXXXX)
Designate the address where the data to be checked are stored.
Parity check is made for 1 byte (8 bits) of data.
•
Designation of parity scheme (OE)
OE = 0:
Even parity check
OE = 1:
Odd parity check
•
Reset (RST)
RST = 0: Error output R1 is not reset.
RST = 1: Error output R1 is reset.
•
Execution command (ACT)
ACT = 0: The PARI instruction is not executed. R1 remains unchanged.
ACT = 1: The PARI instruction is executed.
•
Error output (R1)
If the result of parity check does not meet the designated parity scheme, “1”
is set for “R1” (R1 = 1).
(8) SUBP 014 (DATA CONVERT) RR after operation:
Ù
(a) Function
The instruction converts the binary data to the BCD data and the BCD data to
the binary data.
(b) Example