MarinusS

Switch LAMP latch

2 posts in this topic

Hello 

I'm new with GT Designer 3, I'm writing code for a GOT2107 HMI.

I have a few buttons that when you press it, the LED on the switch comes on, and when depressing the switch the LED goes off. That's good, but how do I create a latch, that when the switch is pressed and depressed, the LED will stay on. and only go off after the next press and depress?

 

The attached image is my working switch button.

Regards

Marinus

 

 

Capture.JPG

Share this post


Link to post
Share on other sites

Than look at the Action tab again and look at the Lamp part at the bottom.

Also you are using the general switch for multiple actions. you can use a standard bit switch 

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