Author Topic: ControlLogix Local Tags  (Read 1934 times)

chrisziemba

  • Newbie
  • *
  • Posts: 5
    • View Profile
ControlLogix Local Tags
« on: September 27, 2023, 04:07:36 PM »
I'm confused what should be entered into "PLCAddressValue" for a Local Tag.  I found this:

https://advancedhmi.com/documentation/index.php?title=EthernetIPforCLXCom

But, I guess I'm confused as to what PROGRAM & MainRoutine mean in this below:

    Program scope tags require a prefix to indicate which program. For example:

    PROGRAM:MainRoutine.MyTag

I thought I knew but I keep getting a Path Segment Error(Invalid Tag Name).  Can someone help me out?

Thanx

dmroeder

  • Administrator
  • Full Member
  • *****
  • Posts: 212
    • View Profile
Re: ControlLogix Local Tags
« Reply #1 on: September 27, 2023, 05:42:34 PM »
It is literally PROGRAM, always.  so PROGRAM:"ProgramName".TagName (no quotes).  You don't use routine name, local tags aren't part of a routine, they're part of a program.