General Category > Support Questions
Path Segment Error (Invalid Tag Name)
(1/1)
gusterminator:
I created a new routine. I added a JSR on Main page to link to the new routine. Everything works In the new routine....program wise. I then added a new Form to Advanced HMI. I added the EitherNetIP communication driver. When ever I link something from my new Form I get this error "Path Segment Error (Invalid Tag Name)" I have checked spelling......copy paste exact name.....nothing works from the new routine on my new form page. If I link to something from the Main routine from the new Form it works.
any ideas what might be causing this???
Thanks,
dmroeder:
Maybe your tag was created as a "Program Scope" tag rather than a "Controller Scope"?
If it is program scoped, it can still be read, you just have to change the format a bit:
PROGRAM:ProgramName.TagName
You would have to replace "ProgramName" with the name of the program that the tag was created in and replace "TagName" with the name of your tag.
timryder:
What PLC. This very much matters.
HillMakeItBetter:
--- Quote from: dmroeder on November 13, 2017, 07:42:26 PM ---PROGRAM:ProgramName.TagName
You would have to replace "ProgramName" with the name of the program that the tag was created in and replace "TagName" with the name of your tag.
--- End quote ---
I did not read between the lines, but figured it out. Only replace "ProgramName" and replace "TagName" as noted. Leave the word PROGRAM: (or Program:) as is.
Here is an example that worked for me connecting to AB PLC:
"Program:RFID_Controllers.RFID_Max_Read[0]"
Maybe this example will help someone else, or me - sometime later.
Phrog30:
This link will have some useful info to the next person as well.
https://advancedhmi.com/documentation/index.php?title=EthernetIPforCLXCom
Navigation
[0] Message Index
Go to full version