Sign in to follow this  
Followers 0
iain545

OMRON CP1L Programming Help

3 posts in this topic

Hi all. New to this PLC programming so bear with me please. I am using an OMRON SYSMAC CP1L. Needing a part of my program to allow one button to be used for 3 different functions. Pressed once: Turns system on Pressed twice: Turns half of system off Pressed and help for 5 secs: Full stop I can figure the rest out but it is just trying to make the program determine the difference between the first press and second. I can use a TIMER function for the 5 second hold section. Any advice would be greatly appreciated. Thank you.

Share this post


Link to post
Share on other sites
Please browse the downloads section of this website. There are many examples. http://forums.mrplc.com/index.php?app=downloads&showfile=160 When / If you have additions questions, these forums have a section dedicated to Omron. Searching this section will yeild more examples. http://forums.mrplc.com/index.php?showforum=17

Share this post


Link to post
Share on other sites
can be done different way like - start timer (3 seconds for example) and reset counter - at the end of timer: . . - if button still pressed (long press, full stop) . . - if button no longer pressed check counter value (number of times button was pressed) alternatively one may sample button state to distinguish patterns, something like: distinguish button press by sampling pattern.pdf

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