beautypg.com

Yaskawa YASNAC PC NC PLC Programming Manual User Manual

Page 74

background image

6 - 38

YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions

(d) Example

(30)INRW (Increment Word Register) RR after operation: RR-

(a) Function

The instruction adds “+1” to the content of the double-length register when the ST
content is ON (RR = 1)

(b) Format

(c) Explanation

A ST contact must be entered before the INRW instruction.

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

There is no function to detect overflow. If the result of operation exceeds FFH, it
returns to 0H.

(d) Example

D

Paradym31 Variable Name