Author Topic: Error in connection  (Read 2580 times)

UchihaKurt

  • Newbie
  • *
  • Posts: 11
    • View Profile
Error in connection
« 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?

thx.

 (https://www.youtube.com/watch?v=jFjrR124uLA&index=24&list=WL)

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Error in connection
« Reply #1 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?

UchihaKurt

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Error in connection
« Reply #2 on: July 07, 2015, 10:31:58 AM »
A program scope tag.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Error in connection
« Reply #3 on: July 07, 2015, 10:39:07 AM »
You will need to precede tha tag name with  PROGRAM:programname.

UchihaKurt

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Error in connection
« Reply #4 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 ?

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Error in connection
« Reply #5 on: July 07, 2015, 10:55:54 AM »
What is the name of the program the tag is in? What is the tag name?

UchihaKurt

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Error in connection
« Reply #6 on: July 07, 2015, 10:56:46 AM »
the name of the program is TESTE.ACD
the tag's name is TMR_LOAD.ACC

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Error in connection
« Reply #7 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.

UchihaKurt

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Error in connection
« Reply #8 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