Yaskawa YASNAC PC NC PLC Programming Manual User Manual

Page 121

Advertising
background image

6 - 85

YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions

Execution command (ACT)

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

R1 remains unchanged.

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

Error output (OUT)

OUT = 0: Normal

OUT = 1: Error

#2999

Operation status is written.

d0 = 1:

0

d1 = 1:

Negative

d5 = 1:

Overflow

(20)SUBP 038 (Binary-data Multiplication) RR after operation:

Ù

a) Function

The instruction executes multiplication of 1-, 2-, or 4-byte binary data.

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

Advertising