PLC BASICS · TIMER

GX Works2 Timer T0: Understanding K20, K30 and /T0

A timer is not just a “wait command.” It accumulates time while its condition remains true, then changes contact state so the sequence can move forward.

GX Works2T0K20 / K30/T0

Confirm the timer base first

In an FX3U example where T0 uses a 100 ms time base, K20 means 2.0 seconds and K30 means 3.0 seconds. Timer bases can vary by PLC family and device range, so the useful habit is to verify the time base before treating the K value as seconds.

Timer mental model
Condition ON→T0 accumulates→Preset reached→Done contact ON

T0 and /T0 do opposite jobs

The T0 done contact is OFF before the preset expires and turns ON at completion. /T0 is true before completion, including before timing starts. To allow an output only while timing, combine /T0 with the timer enable condition.

|----[ X0 ]----------------[ T0 K20 ]----|
|----[ T0 ]----------------( Y0 )--------|
|----[ X0 ]----[/T0 ]------( Y1 )--------|

This learning example executes a non-retentive timer every scan. Before starting, X0=OFF gives Y1=OFF. While X0=ON and T0=OFF, Y1=ON. At completion, Y1 turns OFF. When X0 turns OFF, the timer and both outputs reset.

Separate waiting from the next action

If a valve needs two seconds to stabilize before a motor starts, it is clearer to energize the valve first and let the T0 done contact release the motor later. A lamp that must stay active only during the wait uses X0 in series with /T0. It is OFF when X0 is OFF, and ON only while X0 is ON and T0 is not done.

Common field mistakes

  • Treating the K value as seconds without checking the timer base
  • Forgetting that a non-retentive timer resets when its enabling condition drops
  • Treating the done contact as a numeric value instead of a sequence state
  • Letting timer logic delay a higher-priority stop or alarm condition
A timer is not a safety stop. Stop, alarm and E-stop conditions should be able to interrupt the sequence independently of timer completion.
ENGINEER DISCUSSION

How would you design it in the field?

Challenge the sequence, interlocks, addressing or commissioning assumptions. Posts and replies appear only after moderation.

Server rate limit · moderated before publication

Loading engineer discussion…