beautypg.com

Yaskawa YASNAC PC NC PLC Programming Manual User Manual

Page 70

background image

6 - 34

YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions

(b) Format

(c) Explanation

The ADC instruction is executed in intervals of “4 × n” msec while the ST contact is
ON.

To execute the ADC instruction, the content of RR must be “0”.

(d) Example

(26)ADDW (ADD Word Register) RR after operation: RR-

(a) Function

The instruction executes addition between the contents of double-length register (WR2)
and double-length register (WR1) when the ST contact is ON (RR = 1) and stores the
result to register (WR2).

If the ST contact is OFF (RR = 0), the ADDW instruction is not executed.

(b) Format

A B Paradym31 Variable Name

A B Paradym31 Variable Name