Remember to Turn captions on and subscribe =D
How to use TON (Timer ON Delay) timer in rslogix 5000 / Studio 5000 - 2021 - With a sample usecase
Follow us: https://www.youtube.com/c/EACTRAINING...
Follow the transcript:
In this video tutorial we will present the TON timer features and capabilities, To help you to understand how it works and create a project.
Adding a RUNG with a TON instruction, creating a TAG for timer with the DATA TYPE : TIMER, For activate the timer you can add a XIC instruction, name it as you want and create as DATA TYPE: BOOL.
Checking the timer properties we can confirm the data type, if everything is ok approve the changes so we can test it out When toogling the activation bit the timer will start counting.
When the Accum is equal to Preset the Done bit is set to true As the TON is a non retentive timer, so the rung is not activated the Accum goes back to zero.
Monitoring the tag we will check the internal tags
The internal tags are:
Preset. DINT that is the Value of the timer preset in milliseconds
That means 5000 is equivalent to 5 seconds
Accum is also a DINT and represent the accumulated time counting
The timer structure bits are:
DN = The done bit when set indicates the timing operation is complete (or paused).
EN = The enable bit contains rung-condition-in when the instruction was last executed.
TT = The timing bit when set indicates the timing operation is in process.
The Watch panel enable us to see the internal tags while testing the program
We can also change the preset value on the flight
In this example change it to 10000 that means 10 seconds
As the timer is enabled, completed or reset the internal tags change accordingly
Is possible to drag and drop the timer tag and edit the end for .DN for example
This will help us to create our example application code
The practical example is an alarm horn that must be activated if the enable tag is on for more the 10 seconds
The TAG_DELAY will activate the alarm if the ENABLE_TIMER tag is on for more than 10 seconds
Setting the Enable bit to 1 will start the timer, if it remains in 1 until the timer is done the DN bit will activate the TAG_Delay
If this was useful please Subscribe and Share with your friends ABOUT OUR CHANNEL
Our channel is about IIoT Tech. We cover lots of cool stuff such as PLC, Scada and Security
Check out our channel here: / eactraining
Don’t forget to subscribe!
CHECK OUT OUR OTHER VIDEOS
• INSTALL EDS FILES IN RSLINX CLASSIC