AdvancedHMI Software

General Category => Support Questions => Topic started by: dmoore26 on July 27, 2017, 04:21:41 PM

Title: HMI button to PLC tag
Post by: dmoore26 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.
Title: Re: HMI button to PLC tag
Post by: Archie on July 27, 2017, 05:14:19 PM
What PLC are you using?
Title: Re: HMI button to PLC tag
Post by: dmoore26 on July 27, 2017, 07:33:52 PM
I am using a Logix5561 using ethernet communication.
Title: Re: HMI button to PLC tag
Post by: Archie 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
Title: Re: HMI button to PLC tag
Post by: dmoore26 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.
Title: Re: HMI button to PLC tag
Post by: Phrog30 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.
Title: Re: HMI button to PLC tag
Post by: Archie 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?
Title: Re: HMI button to PLC tag
Post by: dmoore26 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!
Title: Re: HMI button to PLC tag
Post by: Archie 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