Yaskawa YASNAC PC NC PLC Programming Manual User Manual

Page 118

Advertising
background image

6 - 82

YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions

(18)SUBP 036 (Binary-data Addition) RR after operation:

Ù

a) Function

The result of operation is set to the registers: the numeric value of operation result
is set to the register designated by the operation result output address and the sign
information to #2999.

(b) Example

(c) Control conditions

Designation of the augend data address (APSH#XXXX)

Designate the address where the augend data are stored.

Designation of the addend data address (APSH/IPSH#XXXX)

Designate the address where the addend data is stored.

Designation of the operation result output address (IPSH X)

Designate the address where the result of operation is output.

The address is stored as 4-byte data.

Designation of the type of operation.

Designate the data length and the data type of augend/addend.

1st digit

= 0: 1byte

Augend data address
Addend data address
Operation result output address
Operation type

Advertising