beautypg.com

Yaskawa YASNAC PC NC PLC Programming Manual User Manual

Page 117

background image

6 - 81

YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions

Designation of the data size (IPSH X)

IPSH = 0: The data stored in the data table is 1-byte data.

IPSH = 1: The data stored in the data table is 2-byte data.

IPSH = 2: The data stored in the data table is 4-byte data.

Designation of read/write processing (RW)

STR = 0: Data is read from the data table.

STR = 1: Data in the data table is rewritten.

Reset (RST)

RST = 0: Error output R1 is not reset.

RST = 1: Error output R1 is reset.

Execution command (ACT)

ACT = 0: The binary-index modifier data transfer instruction is executed.

R1 remains unchanged.

ACT = 1: The binary-index modifier data transfer instruction is not executed.

Error output (R1)

If an error occurs when this instruction is executed, “1” is set for “R1” (R1 = 1)
to indicate the occurrence of an error.

An error occurs in the following cases:

A numeric value greater than the size of the data table is set.

The size of the data is not a multiple of the designated data size.

Example: Data size.

Byte

1 × Nbytes

Word

2 × Nbytes

Double-word

4 × N bytes