Yaskawa YASNAC PC NC PLC Programming Manual User Manual

Page 99

Advertising
background image

6 - 63

YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions

•

Designation of the data table size (the number of bytes) (IPSHXXXX)

Designate the size of the data table by the number of bytes.

•

Designation of the start address of the data table (APSH#XXXX)

Designate the start address of the data table.

The data table can be created at any place.

•

Designation of the input data address (APSH#XXXX)

Designate the address where the data to be searched are stored.

•

Designation of the output data address (APSH#XXXX)

When the specified data are found (R1 = 0), the number in the table where the
found data are stored is output. Designate the address where that number is stored.

•

Designation of the data size (BYT)

BYT = 0: The data stored in the data table are 1-byte data.

BYT = 1: The data stored in the data table are 2-byte data.

•

Execution command (ACT)

ACT = 0: The DSCH instruction is executed.

ACT = 1: The DSCH instruction is not executed.

•

Reset (RST)

RST = 0: Error output R1 is not reset.

RST = 1: Error output R1 is reset.

•

Error output (R1)

R1 = 0:

The search data are found.

R1 = 1:

The search data are not found.

Advertising