Sign in to follow this  
Followers 0
a.afkhami94

edge detection

4 posts in this topic

hello... i use of OMRON CQM1h-CPU51. How do I find rising edge for increment a Counter?

Share this post


Link to post
Share on other sites
I think if you are using a contact to control it right click and got to differentiate up or you can maybe put an @ sign in frnt of your inc /dec function

Share this post


Link to post
Share on other sites
Counters don't need it, they are automatically pulsed. But for commands like INC/DEC, ADD, SUB, other options include: Using a DIFU function Right click on a contact and select Differentiate up Using @ sign on name of function or function block. Only certain commands support @, so check programming manual.

Share this post


Link to post
Share on other sites
You cannot differentiate a single contact (on a CQM1H), but you could use the DIFU instruction, which makes every contact for that address a one shot.

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