Yaskawa YASNAC PC NC PLC Programming Manual User Manual

Page 52

Advertising
background image

6 - 16

YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions

(d) Example

Do not use the same address for both a fixed timer and a variable timer.

If used, correct operation cannot be guaranteed.

(2) TMR (Variable Timer) RR = 1 at time-up

(a) Function

The timer instruction counts the length of time while the ST contact is ON (RR = 1),
and turns the TM ON at the preset time.

While the ST contact is OFF (RR = 0), the instruction sets the TM OFF and resets
the timer.

(b) Format

(c) Explanation

•

Setting range is from 0 to 255 in decimal. However, the setting must be made in
hexadecimal.

•

If the setting is “255”, the timer does not count up.

•

Write the timer value from the NC keyboard by following the parameter writing
procedure. In this case, the timer value can be written in a decimal value.

•

Five types of timer can be used as with the TIM instruction.

(d) Example:

Paradym31 Variable Name

CV PV

Advertising