Yaskawa YASNAC PC NC PLC Programming Manual User Manual

Page 108

Advertising
background image

6 - 72

YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions

(13)SUBP 027 (Binary Code Conversion) RR after operation:

Ù

(a) Function

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

From the contents of data “0” to “n” (= “m”) of the conversion standard data address, the
data in the “m” th line from the start of the table data are read and output to the conversion
data output address.

For the type of output data, selection is possible from byte, word double-word. The
relationship between the number in the table and the table is as indicated below according
to the data length.

Double-word

Word

Byte

Table

0

0

0

1

1

2

3

1

.
.
.

n

2

.
.
.

n

4

.
.
.

n

Advertising