What is PLC Timers?
PLC timer is an element in ladder logic programming taken from electrical systems. Timers are devices that count time increments.
The timer creates a delay in both PLC programming and in relay boards on connection or instantaneous disconnection.
Simply, when the input is activated the timer starts its operation keeping track of the time. When this time exceeds the programmed time then the timer activates its output.
You could set the PLC timer from millisecond (ms) to an hour (hr) time span in the programming of the Ladder Diagram (LD) PLC.
There are three types of PLC timers:
- ON delay timer (TON)
- OFF delay timer (TOFF)
- Retentive Timer (RTO)
ON delay Timer:
On delay means that once a timer has received a power on signal, its output will change state after a predetermined delay.
The timer will be ON when a start input
The signal status of the output adjusts from 0 to 1 when the preset time is reached by changing the RLO (Result of logic operation) from 0 to 1(ON) at the starting input.
For example, When input S1 is activated, timer TR1 starts counting. When pre programmed time
OFF delay timer:
The OFF delay means that it will change state a predetermined time after the timer has received the shutdown signal.
When the off-delay timer (True) is energized in PLC programming, it immediately turns its output on. The display will be ‘ on ‘ until the setting time is reached.
The timer begins to work when the rung signal is false The timer continues to accumulate times until the accumulated value becomes equal to the preset value. When the accumulated value is equal to the preset value, the output turns off.
Retentive Timer On (RTO):
The RTO’s main function is used to keep or store the (accumulated) set time. It is used when rung state change, power loss or any device interruption occurs.
When its rung goes from false to true, the Accumulate value of the retentive timer counts from where it stopped the last time.
The reset instruction will be activated when its rung is true and resets the timer according to the address assigned to the reset instruction.
The timer’s power loss after reaching its preset value does not affect the contacts ‘ state. The retentive timer must be reset with a different signal for the reset time.
Timer address for different PLC brand:
The output bit is often referred to as the ‘ Completed bit ‘ of the timer in the AB or Siemens PLC. And it indicates that the clock has reached its preset time.
Addressing for ABB PLC
We can simply write the ladder diagram’s I / O address in the ABB PLC. We can set the value in T0 to T255 ranges.
Addressing for Siemens PLC
In the Siemens, LD program can be written with the five types of timers.
- Pulse timer (S_Pulse)
- Pulse extended timer (S_PExT)
- On delay timer (S_ODT)
- On delay extended timer (S_ODTS)
- Off delay timer (S_OffDT)
Addressing for AB (Rockwell) PLC
The timer has the address between T4:0 and T4:255 for the AB PLC. Where T4 is the type of file. Addressing format with the three status bits for timer instruction.
Addressing for Delta PLC & Mitsubishi:
You can use timer addressing from ‘ T0 to T127 ‘ for the WPLSoft program. The input timer address is shown as a general representation in Delta PLC (T0, T1, …….. T127). And
Where ‘ T0 ‘ is the address of the timer and ‘ K ‘ is the constant term.