Sign in to follow this  
Followers 0
Omkar

Button Single Press, Double press function

3 posts in this topic

Hello,

I am trying to have single press and double press etc. functionality in my PLC program where for example, single press will turn on the motor whereas double press will turn on the motor for 5 seconds.

Is it possible to achieve using ladder logic in sysmac studio, if yes, how?

Thank you in advance.

Edited by Omkar

Share this post


Link to post
Share on other sites

of course it is possible and there are different ways to implement it. basically you need timer, counter and few extra bits for flags.

button press need to be counted and evaluated within some time limit.

here is one idea. this example is using pseudo code version of ladder with just the most basic

instructions so it is easy to implement on any platform.

one button multiple functions.png

Share this post


Link to post
Share on other sites

As another idea, most HMI products have such a feature built in.

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