Sign in to follow this  
Followers 0
waterboy

Why does this timer run?

8 posts in this topic

Please look at the attached Logic and someone tell me why this Timer keeps running. The inputs are true, one by a Force and another by the LEQ statement on the second rung. So I figure it it must be a logic race so I moved it to the botton of the ladder and it made no difference. Monitoring O:0/1 and I:0/15 using a 50ms trend sample rate shows no transitions so I see no evidence of a race. Edited by waterboy

Share this post


Link to post
Share on other sites
With O:0/1 true and forcing I:0/15 off the XIO ( Examine if Open) instruction the rung will be true causing the timer to run. Force I:0/15 on, then rung will be false and the timer will not run. See link below for a XIC/XIO examination http://www.patchn.com/index.php?option=com_content&task=view&id=58&Itemid=74 Edited by Mickey

Share this post


Link to post
Share on other sites
If the input stays true, it should only run once and then set the .DN .... right? It shouldn't start over again until the input transitions again.

Share this post


Link to post
Share on other sites
It wasn't doing that, it would run constantly without the input changing state in a detectable way. The Force must interfere with the the logical state of the physical inputs.

Share this post


Link to post
Share on other sites
Because every time T4:13 goes DN, B3:1/10 is SET (true) for one scan. In the second rung, the fact that B3:1/10 is SET causes P1_START to be RESET (false) for one scan, which starts the entire sequence over again.

Share this post


Link to post
Share on other sites
Bill gets the brass ring for this one.

Share this post


Link to post
Share on other sites
Doh! I see it now. Thanks Bill.

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