Jump to content

Double action button


Recommended Posts

Hi, I’m new in Visilogic and currently working on Samba HMI/PLC splice detector program. 

I wonder if there is a double action button or advanced setting for a button that could turn e.g. red when the alarm activated and when pressed it turns back to green. 

Please help.

Link to comment
Share on other sites

  • MVP 2023

I took a quick look at that particular video and it is unfortunately a less than stellar example of a tutorial.  

@PeterT -I would still encourage you to check out the videos to get yourself more up to speed on how Visilogic works, but what you're looking for is a binary text object.  The color on these can be externally controlled and I often use them in place of buttons for this kind of function. 

Control the color itself with your alarm bit or a copy of it and then assign another bit to the touch property to acknowledge the alarm and turn the color controlling bit back off.

If this is confusing try beating on it yourself and then post your plc program and we can give you some guidance.

Joe T.

Link to comment
Share on other sites

Thank again for your support, the buttons are now working the way I wanted thanks to your suggestions. 

Please find attached the copy of the program, not finished yet but pretty good considering this is my first ever PPL/HMI programming.

Please let me know what could be improved.

Many thanks

Peter

SM43 BFM2 counter _modified by PT 1009.vlp

Link to comment
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
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.