PLUS+1 User Forum

PLUS+1 Software => General controls => Topic started by: MilanP on April 23, 2019, 05:25:38 PM

Title: toggling of Buttons
Post by: MilanP on April 23, 2019, 05:25:38 PM
Hi

I'd like the buttons in my application to toggle, and if at any point both were to be true,
the output from the one that was pressed first will become false, while the one just pressed will remain true.
Is such a thing possible?
I've found the toggle function, however the last part is giving me issues,
and I can't seem to find a good solution.
 
Title: Re: toggling of Buttons
Post by: Beezkneez on April 23, 2019, 06:38:48 PM
MilanP,

As with just about any programming challenge there are several ways to accomplish this. Attached is a basic function block that will do what you are asking, it works using set pulses in ST. Hope this helps.

Jake