Author Topic: HMI button to PLC tag  (Read 1332 times)

dmoore26

  • Newbie
  • *
  • Posts: 4
    • View Profile
HMI button to PLC tag
« on: July 27, 2017, 04:21:41 PM »
Im new to using this software, and Im trying to connect a bassicButton and a basicIndicator to boolean bits in the PLC.  How do I address the button and indicator to the tags I have created in the PLC?  Any help would be appreciated.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5260
    • View Profile
    • AdvancedHMI
Re: HMI button to PLC tag
« Reply #1 on: July 27, 2017, 05:14:19 PM »
What PLC are you using?

dmoore26

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: HMI button to PLC tag
« Reply #2 on: July 27, 2017, 07:33:52 PM »
I am using a Logix5561 using ethernet communication.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5260
    • View Profile
    • AdvancedHMI
Re: HMI button to PLC tag
« Reply #3 on: July 27, 2017, 07:38:37 PM »
For the BasicButton, enter a controller scope Boolean tag into the PLCAddressClick property. For the BasicInidicator, also enter a controller scope Boolean tag into PLCAddressValue

dmoore26

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: HMI button to PLC tag
« Reply #4 on: July 27, 2017, 08:39:19 PM »
There is no PLCAddressValue for the indicator and also when I put the tag name into the field for the button it tells me that it is an invalid tag name.  It is possible I am typing it wrong.

Phrog30

  • Guest
Re: HMI button to PLC tag
« Reply #5 on: July 27, 2017, 08:49:48 PM »
Maybe take a screenshot of what you are setting. It sounds like you are in the wrong area.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5260
    • View Profile
    • AdvancedHMI
Re: HMI button to PLC tag
« Reply #6 on: July 27, 2017, 08:52:40 PM »
There is no PLCAddressValue for the indicator.
Sorry, my mistake , the property is PLCAddressSelectColor2.

Are you sure it is a controller scope tag and not a program scope?

dmoore26

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: HMI button to PLC tag
« Reply #7 on: July 28, 2017, 08:04:34 AM »
Archie, I had them as program tags and not controller tags. I switched them and it works fine now. Thanks!

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5260
    • View Profile
    • AdvancedHMI
Re: HMI button to PLC tag
« Reply #8 on: July 28, 2017, 08:09:08 AM »
It is possible to use program scope tags, but I always recommend starting with controller scope just to eliminate that extra layer. You can read about how to use program scope tags here:

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