Yaskawa YASNAC PC NC PLC Programming Manual User Manual
Page 107

6 - 71
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(c) Control conditions
•
Designation of the data code area (APSH#XXXX)
Designate the address of the code to be decoded.
Two bytes are used.
•
Designation of the start address of the decode table (APSHXXXX)
Designate the start address of the table to be decoded.
•
Maximum decode number (IPSHXXXX)
Designate the maximum number of the decode bits.
•
Designation of the size of the data in the decode area (BYT).
LD = 0:
The size if the data in the conversion table is 1 byte.
LD = 0:
The size if the data in the conversion table is 2 byte.
•
Reset (RST)
RST =0:
Error output R1 is not reset.
RST = 1: Error output R1 is reset.
•
Execution command (ACT)
ACT = 0: The binary decode instruction is executed. R1 remains unchanged.
ACT = 1: The binary decode instruction is to executed.
•
Error output (R1)
R1 = 0:
Normal
R1 = 1:
Error
A numeric value greater than the table size is set.