Sign in to follow this  
Followers 0
tvsteevie

Too SLOW?

4 posts in this topic

I am trying to program a 1 hour timer, that will, on completion, move a counter value to a V storage location, reset the timer, and reset the counter. this is to track parts made each hour.

I have programmed the simulator, in DoMore 2.3, to do this but it says the timer.done needs 2 scans to be seen. My timer is resetting before I can see the done bit. Since this is the basis for my data move, my data is not moving. Is this just a function of the simulator, or will I get this in the PLC too?

 

Share this post


Link to post
Share on other sites

Your rungs should be

Use done bit to perform the move

Use done bit to reset the counter

Use done bit to reset the timer.

This order works in my simulator.

 

Edited by b_carlton

Share this post


Link to post
Share on other sites

Thanks b_carlton. This is a matter of order of operation?

Share this post


Link to post
Share on other sites

Mainly make sure the reset of the timer is last because resetting it resets the done bit. And of course the move of the counter's accumulator has to come before it is reset.

Edited by b_carlton

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