beautypg.com

Yaskawa YASNAC PC NC PLC Programming Manual User Manual

Page 55

background image

6 - 19

YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions

(c) Explanation

An ST contact must be entered before the DCR instruction.

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

There is no function to detect overflow. If a timer counts to 0H, it returns to FFH.

(d) Example

(3) CLR (Clear) RR after operation: RR-

(a) Function

The instruction clears the content of the register “0” when the ST contact is ON (RR = 1).
If the ST contact is OFF (RR = 0), the content of the register is not cleared.

The RR content remains unchanged before and after the execution of the CLR instruction.

(b) Format

(c) Explanation

An ST contact must be entered before the CLR instruction.

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

(d) Example

D

Paradym31 Variable Name