AdvancedHMI Software

General Category => Open Discussion => Topic started by: chrisziemba on September 27, 2023, 04:07:36 PM

Title: ControlLogix Local Tags
Post by: chrisziemba 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
Title: Re: ControlLogix Local Tags
Post by: dmroeder 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.