Sign in to follow this  
Followers 0
Guest Luis Ferrigno

Timer

4 posts in this topic

A dum question, but I forgot how to do it. How can I latch a timer untill is done after it has been activated bu an input with one-shot? Thanks in advance. Luis Ferrigno ~~~~~~~~~~~~~~~~~~~~~~~

Share this post


Link to post
Share on other sites
The classic way is to create a branch around the input and one-shot which includes an XIC instruction with the timer's Enable address, and an XIO instruction with the timer's Done address. That way the timer will remain enabled any time it is "enabled but not done". A-B timers have a single bit that fulfills this role, with the mnemonic code ".TT" for "Timing".

Share this post


Link to post
Share on other sites
Whatever you are using to trigger ___________TON____ __________________| |__________________________| | | | | | | Timer On Delay | | | | Timer T4:0 | | T4:0.TT | | Time Base 0.01 | |_____| |___| | Preset 3000< | | | | Accum 0< | |_________________| The .TT(Timer Timing) will latch the timer on until it is .DN(Done). Good Luck.

Share this post


Link to post
Share on other sites
Whatever input you are using to trigger the Timer.                                                                                        _________ TON ____ _________________| |______________________________| Timer On Delay       |                       |      | |           |                                         | Timer             T4:0 |                       |                     |                                        |  Time Base      0.01 |                       |      T4:0.TT    |                                        |  Preset           3000 |                       |_____| |_____|                                         | Accum              0  |                                 | |                                                  |_________________|   This should help sorry about the previous reply.

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
Sign in to follow this  
Followers 0