A PLC runs its program in scans: it reads the inputs, runs the rungs from top to bottom, writes the outputs, and starts again. A timer turns a duration into a bit. It has an input IN, a preset PT (the time to wait), an elapsed time ET updated every scan, and an output Q, written T1.Q for a timer named T1. In a rung, a timer is a box in place of a coil: the contacts before it drive IN, and T1.Q can be used as a contact in any rung. Addresses are in IEC style (%I0.0 an input bit, %Q0.0 an output bit, %M0.0 a memory bit); some PLC families write them differently.
ON-DELAY TIMER (TON)
Q={10IN=1 and ET≥PTotherwise
IN and Q are bits; PT and ET are in seconds. While IN = 1, ET rises from 0 and stops at PT; when IN = 0, ET returns to 0 at once. So Q turns on PT seconds after IN rises, if IN stays 1 that long, and off when IN falls.
PULSE TIMER (TP)
Q={100≤ET<PT after a rising edge of INotherwise
Symbols and units as for TON. A rising edge (IN going from 0 to 1) starts ET from 0, and Q = 1 for PT seconds whatever IN does; edges during the pulse are ignored. Then Q = 0, and ET holds at PT while IN = 1 and returns to 0 once IN = 0.
The table feeds one input to all three timers, each with PT = 2 s. IN is 1 from 1 s to 2 s and from 5 s to 10 s. Each cell gives ET in seconds, then Q; "0 to 1" means ET rises from 0 s to 1 s.