beautypg.com

Yaskawa YASNAC PC NC PLC Programming Manual User Manual

Page 91

background image

6 - 55

YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions

(5) SUBP 007 (CODE CONVERT) RR after operation:

Ù

(a) Function

This instruction converts the data by using the conversion table created on the PLC table.

BYT = 0

If “3” is specified for the conversion standard data address as shown above, the
instruction stores the “third data” from the start of the table to the conversion data
output address.

The start of the table is 0th.

BYT = 1

In this case, the size of the conversion data table should be an even number of bytes.