AdvancedHMI Software

General Category => Support Questions => Topic started by: UchihaKurt on July 07, 2015, 10:23:23 AM

Title: Error in connection
Post by: UchihaKurt on July 07, 2015, 10:23:23 AM
Hello, i'm new here.
I saw a youtube video, showing how to read a timer from a compactlogix clp with this program, and i'm trying to do the exactly same thing with it, but i'm getting this error:
CIP Error - Path Segment error.
someone can help me?
(http://i.imgur.com/FcKCmFu.png)
thx.

 (https://www.youtube.com/watch?v=jFjrR124uLA&index=24&list=WL)
Title: Re: Error in connection
Post by: Archie on July 07, 2015, 10:27:36 AM
A path segment error typically means the tag does not exist. Are you using a controller scope or program scope tag?
Title: Re: Error in connection
Post by: UchihaKurt on July 07, 2015, 10:31:58 AM
A program scope tag.
Title: Re: Error in connection
Post by: Archie on July 07, 2015, 10:39:07 AM
You will need to precede tha tag name with  PROGRAM:programname.
Title: Re: Error in connection
Post by: UchihaKurt on July 07, 2015, 10:53:04 AM
I'm sorry, i dont understand.
I have to do something like this: TRM_LOAD.ACC:TESTE ?
Title: Re: Error in connection
Post by: Archie on July 07, 2015, 10:55:54 AM
What is the name of the program the tag is in? What is the tag name?
Title: Re: Error in connection
Post by: UchihaKurt on July 07, 2015, 10:56:46 AM
the name of the program is TESTE.ACD
the tag's name is TMR_LOAD.ACC
Title: Re: Error in connection
Post by: Archie on July 07, 2015, 11:13:18 AM
TEST.ACD is the filename. What you need is the name of the program within RSLogix where the tag resides. By default it will be MainProgram. In that case, you would need to put:

PROGRAM:MainProgram.TMR_LOAD.ACC

in the PLCAddressValue property of the DigitalPanelMeter.

If you are unsure, try to create a timer as a controller scope tag, then you do not need to prefix it with a program name.
Title: Re: Error in connection
Post by: UchihaKurt on July 07, 2015, 11:25:42 AM
working perfectly, it is exactly as you said.
Thank you very much.
And I'm sorry for my bad english