Sign in to follow this  
Followers 0
kcor

compare count # to turn on output

4 posts in this topic

Using a counter in my program - c5:2 I have the preset set to 25, when the accumulated value is for example 7, I want to turn on a output for a certain amount of time. What would be the best way to accomplish this? Thanks

Share this post


Link to post
Share on other sites
The best...? By doing it yourself. Honestly... That's the only way to learn. Show us your code and tell us what part gives you problems. We will try to help you out.

Share this post


Link to post
Share on other sites
Use a compare as the trigger, you will be able to compare the live count using C5:2.acc

Share this post


Link to post
Share on other sites
Use LIM EQU GRT GEQ LES LEQ As a sorce A use C5:0.acc and sorce B use the value yu require If you are still stuck Email me at garygale@optusnet.com.au I will attach an example for you. sounds to me as if you are still learning. the same goes for me Gary

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