beautypg.com

Yaskawa YASNAC PC NC PLC Programming Manual User Manual

Page 124

background image

6 - 88

YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions

Designation of the type of operation (IPSH X).

Designate the data length and the data type of dividend/divisor.

1st digit

= 0: 1byte

= 1: 2 bytes

= 2: 4bytes

2nd digit

= 0: Constant data

= 1: Address data

Execution command (ACT)

ACT = 0: The binary-data division instruction is executed.

R1 remains unchanged.

ACT = 1: The binary-data division instruction is not executed.

Error output (OUT#XXXX.X)

OUT = 0: Normal

OUT = 1: Error

#2999

Operation status is written.

d0 = 1:

0

d1 = 1:

Negative

d5 = 1:

Overflow

Division by “0” causes overflow.