AdvancedHMI Software

General Category => Support Questions => Topic started by: gbradley on September 27, 2013, 10:13:59 AM

Title: EthernetIPforCLXCom1
Post by: gbradley on September 27, 2013, 10:13:59 AM
I was messing around with a Compactlogix processor, and I found that if I try to read a Program tag, I get an error.
Invalid Tag Address. CIP Status4

Controller tags work fine.
My solution is to Copy the Program tag array in the PLC over to a controller tag array.
I then referenced the controller tag because I know that works.

AdvancedHMIv35'

Is there something else that I could have done in order to read Program tags?
Title: Re: EthernetIPforCLXCom1
Post by: Archie on September 27, 2013, 11:26:28 AM
To access program scope tags use the following format:

PROGRAM:ProgramName.TagName
Title: Re: EthernetIPforCLXCom1
Post by: gbradley on September 27, 2013, 12:10:35 PM
I tried MainProgram.MyArray[94], but no luck.
What would I use to read the value of 7812 (MyArray[94])?
maybe you can tell from the photo?
Title: Re: EthernetIPforCLXCom1
Post by: Archie on September 27, 2013, 12:24:03 PM
Try it like this:

PROGRAM:MainProgram.MyArray[94]
Title: Re: EthernetIPforCLXCom1
Post by: gbradley on September 27, 2013, 12:43:33 PM
That did it
I think I had a space in there somewhere
Thanks a lot!