The purpose of this post is to demonstrate the proper Xpress Tag syntax when working with the AB ControlLogix Ethernet Communication Driver. This post assumes that the user has already configured the AB ControlLogix Ethernet Communication Driver Channel and Device within the Xpress Manager software.
This post is for Program (Local) STRING tags defined in the Logix5000 project. STRING Tags are pre-defined Logix STRUCTURED data types. They are made up of the following members with Atomic Data Types DINT and SINT:
NOTE: The maximum character length of a STRING is 82.
This means that two Xpress Tags will need to be created in order to use a Program STRING tag within an Xpress Project.
The Xpress Tag Syntax is as follows:
The MESSAGE TOOL is used within the Xpress Project to display the STRING Tag.
Example Program STRING Tag within the Logix5000 Project:
Example Tag Addressing within the Xpress Project (Channel = CH1 / Device = D1):
The Xpress Tag MyLocalTag_STRING can be used as the MESSAGE INPUT and MESSAGE OUTPUT for the MESSAGE TOOL:
For additional information reference the Interact Xpress CommServer Help file for the AB ControlLogix Ethernet Driver.