

As a parameter for the pulse timer the time for the pulse is defined.Īfter the output has been on for that amount of time it will be turned off again. When that happens the timer will start counting time. You can activate the timer by turning on the input. Yes, that is also how we can describe its functionality: This timer is a little different than the two others, since this one is used to generate pulses. The final one of the 3 standard timers is called the Pulse Timer or PT.Īlthough this timer is not so commonly used it is still a very useful timer function. After a certain delay the output will be turned on. Here you can always see how long the timer has been turned on.Īs soon as you activate the timer by turning on the input the timer will start counting. Elapsed time (ET) is the current time of the timer. When you turn on the input (IN) the timer will start timing (turning on the timer). The delay said in another way, is how long you want the timer to be turned on. This delay is called the preset time (PT). You can see that the output is turned on after a delay. The functionality of the on delay timer (TON) can be described like this:įor that reason the timer also has its name.īelow here you can see the timing diagram of the on delay timer.

You will find this in any platform and it is in fact so useful that you can build the other timer functions with the on delay timer. This is by far the most used timer in PLC programming. On Delay Timer (TON)įirst one of the standard timers is the on delay timer also known as just TON. That way, you can see how you can use the PLC timer functions in your own PLC programs. In this tutorial, I will not only show you how those standard timer functions work but also stimulate them in the open-source CodeSys environment. Since this is the standard for PLC programming languages most platforms have these three types of timer functions available You will find them defined in the official standard for PLC programming languages – IEC61131-3 by PLCOpen. The reason for this is that they work the same way no matter which platform you are using. They can even be used to check how long an actuator has been running and then for alarms in a SCADA system.īecause this can be very confusing with all these different timer function, I will give you an introduction to the 3 standard timer functions. Timers can be used not only in ladder logic but also as functions blocks in function block diagram or functions in structured text.
