Author Topic: Newbie - Basic Button Question  (Read 1223 times)

jweav2223

  • Newbie
  • *
  • Posts: 4
    • View Profile
Newbie - Basic Button Question
« on: February 01, 2017, 12:11:23 AM »
In the PLC I have a 16 Bit Register linked to a 3 Position Selector Switch on the HMI. Value of #0-Hand, #1-Off, #2-Auto. On the AdvanceHMI I thought it might be easier to have 3 separate Basic Buttons. Depending on which is pressed it writes those values to the Address linked to the Switch versus having 3 separate Basic Buttons that engage the Boolean Address that in turn stores the correct value to the Switch.

For the Basic Button there is an option for ValueToWrite where I would assume I put thte #0, #1, #2 depending on which position the switch would be in if pressed. However, I'm not seeing a location that makes sense for the address to go to have the value stored.


Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5269
    • View Profile
    • AdvancedHMI
Re: Newbie - Basic Button Question
« Reply #1 on: February 01, 2017, 12:29:16 AM »
A better choice may be to use the MultiStateIndicator. It functions as multiple buttons grouped into the same control. Add 3 items in the States property. See this for a little more detail:

http://advancedhmi.com/documentation/index.php?title=MultiStateIndicator