Tag Address Formats
- Last UpdatedDec 16, 2021
- 1 minute read
After migrating the project successfully, the following changes can be observed in tag addresses.
Controller Tags
-
Controller Tags
For the Tag address [OPCTOPIC] will be added to the tag address format.
Example:
ABCLX Tag address => TagAddress_00
OPCLX Tag address => [OPCTOPIC]TagAddress_00
-
Controller Array Tags
If the Tag address contains "{}" braces it will be changed to the [] braces.
Example
ABCLX Tag address => TagAddress_00{100}
OPCLX Tag address => [OPCTOPIC]TagAddress_00[100]
-
Controller Array Tags referring to a particular bit in the array
If the Tag address contains "/" character it will be changed to "." character.
Example
ABCLX Tag address => TagAddress_00{100}/5
OPCLX Tag address => [OPCTOPIC]TagAddress_00[100].5
-
Controller sub array tags
If the Tag address contains "!A[<count>]" then it will be changed to ",L<Count>!A[<count>].
Example
ABCLX Tag address => TagAddress_00!A[5]
OPCLX Tag address => [OPCTOPIC] TagAddress_00,L5!A[5]
-
Controller sub array tags
If the Tag address contains "/<startIndex>!A[<count>]" then it will be changed to "[startIndex],L<Count>!A[<count>].
Example
ABCLX Tag address => TagAddress_00/10!A[5]
OPCLX Tag address => [OPCTOPIC] TagAddress_00[10],L5!A[5]
Program Tags
For FactoryTalk Tag address formats are:
-
Program Tags
::[OPCTOPIC]PROGRAM:MainProgram.TagName
Example:
ABCLX Tag address => PROGRAM:MainProgram.TagAddress_00
OPCLX Tag address => ::[OPCTOPIC]PROGRAM:MainProgram.TagAddress_00
-
Program Array Tags
::[OPCTOPIC]PROGRAM:MainProgram.TagName
For RSLinx Classic Tagaddress formats are:
-
Program Tags
[OPCTOPIC]PROGRAM:MainProgram.TagAddress_00
Example:
ABCLX Tag address => PROGRAM:MainProgram.TagAddress_00
OPCLX Tag address => [OPCTOPIC]PROGRAM:MainProgram.TagAddress_00
-
Program Array Tags
[OPCTOPIC]PROGRAM:MainProgram.TagName[ArraySize]
Example:
ABCLX Tag address => PROGRAM:MainProgram.TagName{10}
OPCLX Tag address => [OPCTOPIC]PROGRAM:MainProgram.TagName[10]