Using Auto-Build with ABCIP

I am using Auto-build for ABCIP with 3 different PLC programs. This goes to the IDE - 2023R2.

I have graphics set to the templates which are brought in from the AutoBuild.

Assuming the template has attributes say AttA, AttB and AttC.

I have the graphics set to use Me.AttA / Me.AttB / Me.AttC - so the instance name will get picked up automatically.

If I use Prefix when doing the autobuild (to differentiate the individual program), the template and instance gets added with the prefix (say P_)

So all my template and instance becomes P_Template and P_Object1.

What would be the best way to get the data inside the Graphic which originally had Me.AttA?

It is looking at Object1.AttA but the prefix made it P_Object1.AttA.

Parents Reply Children
  • Hi  , the attribute names did not change - it remains the same. But since the name of the object changed, the Me reference does not remain the same anymore. Example - the Me.TagName changes to P_Object1 instead of Object1. Also, when I look through Object Viewer, I was getting a Bad Quality for all the attributes.

  • "Me" is a relative reference that works regardless of what name you give to the object instance.

    Yes, the Tagname attribute holds the unique name of each Application Server object, so when renaming the object the value of Tagname changes. But that has zero bearing on the "Me" references since these are not bound by the name of the object.

    If a watch list in Object Viewer includes items referencing the old name of an object, these references will turn bad after renaming the object and you need to change your watch list references to the new object name.