Author Topic: toggling of Buttons  (Read 6738 times)

Offline MilanP

  • PLUS+1 Novice
  • *
  • Posts: 4
  • Karma: +0/-0
toggling of Buttons
« 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.
 

Offline Beezkneez

  • PLUS+1 Expert
  • ****
  • Posts: 50
  • Karma: +2/-0
    • Trebro Turf Equipment
Re: toggling of Buttons
« Reply #1 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