Function block instructions for measuring and controlling time. Each timer instance creates child variables (.IN, .Q, .PT, .ET).
| Instruction | Description |
|---|---|
| TON | On-Delay Timer - output turns on after a delay |
| TOF | Off-Delay Timer - output stays on after input turns off |
| TP | Pulse Timer - generates a fixed-duration pulse |
| RTO | Retentive On-Delay Timer - accumulates time across activations |
All timer types share the same set of child variables:
| Variable | Type | Description |
|---|---|---|
.IN |
BOOL | Input signal (activates the timer) |
.Q |
BOOL | Output signal (TRUE when timer condition is met) |
.PT |
TIME | Preset time (configured duration) |
.ET |
TIME | Elapsed time (current accumulated time) |