Yaskawa YASNAC PC NC PLC Programming Manual User Manual
Page 93

6 - 57
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
Designate the address where the data, stored at the number in the table which is
specified in item 2 above, should be output.
If “BYT = 1”, the upper byte data are output to the address next to the designated
address.
•
Designation of the conversion data table (TPSHXXXX)
The size of table differs depending on the PLC table number.
9000 to 9007: Max 256 bytes
9008 to 9023: Max. 128 bytes
•
Designation of the data size (BYT)
Designate the size of the data in the conversion data table.
BYT = 0: 1 byte
BYT = 1: 2 bytes
•
Reset (RST)
Designate whether or not the error output coil R1 is reset.
RST = 0: Not reset
RST = 1: Reset
•
Execution command (ACT)
ACT = 0: The COD instruction is not executed. R1 remains unchanged.
ACT = 1: The COD instruction is executed.
•
Error output (R1)
If an error occurs during the execution of the COD instruction (a numeric value
greater that the size of the table is set), “1” is set for “R1” (R1” (R1 = 1) indicating
the occurrence of an error.