MrT

Sysmac TON Reset

7 posts in this topic

Hi All, 

 

Please can you assist.

I am trying to create a "delay" to slow down the rate that an action takes place.

I place a TON function black, but once run once it does not reset.

I need to know what function I need to put in the following rung or at the end of the rung to reset the TON function again.

Basically want to check a condition every 5 seconds.

 

Any ideas?

 

Many thanks

Share this post


Link to post
Share on other sites

The TON resets automatically when the input becomes false.

How I accomplish what you are looking to do is as follows:

Capture.PNG

Share this post


Link to post
Share on other sites

Hi, Thank you for your kind response.

 

Your solutions makes sense, however, it doesn't see to be carrying through for me.

Where am i going wrong?

20220209_210617.jpg

Share this post


Link to post
Share on other sites

The ton_3.q bit is only true for a single cycle so you won't see rung 14 progressing, I recommend paralleling a test bit on rung 14 so you can see what is happening. You could also latch a test bit at the end of the rung to see if the rung power is making it through when needed.

Share this post


Link to post
Share on other sites

This is how i made a timer so re-triggers every second.

 

 

Screenshot_2.png

Share this post


Link to post
Share on other sites

62056b214fcac_TMRLOGIC.png.3db507c3300e3

Edited by skyfox
Oops. Just realized Photovoltaic already provided a better solution with one less tag.

Share this post


Link to post
Share on other sites

Thank you to you all for being so kind as to share your knowledge and ideas to assist me. 

With a combination of your inputs, no pun intended, i have solved my puzzle. 

I used 2 timers to create a Filpflop, the second resetting the inverted input on TON.I of the first timer and visa versa

Works like a charm. 

Thanks for the help

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now