Timers

Timers add time to the logic: wait, delay, make a pulse.

What it does

A timer counts time depending on its condition and sets a bit when the preset is reached. Each one has its own memory (a TIMER variable): preset, elapsed time and status bits. TON delays turning on, TOF delays turning off, TP gives a fixed-length pulse, and TONR (RTO) keeps the accumulated time even when the condition drops.

When to use it

Delayed conveyor start, fan that keeps running after a stop, command pulse, sensor confirmation, a pump's total running time.

In this category