Addressing Program Tags
- Last UpdatedDec 02, 2024
- 1 minute read
ControlLogix program tags contain data that is used exclusively by the routines within an individual program. These tags can be viewed as local variables.
Individual tag addressing and array tag addressing are available for program tags by using PROGRAM:<TaskName> as a prefix.
Examples
Single Byte within a structure in program MyProgram.
|
PLC Tag Address |
MyProgram.SingleStructure.SingleByte |
|
PLC Tag Type |
SINT |
|
Plant SCADA Tag Name |
MyProgram_SingleStructure_SingleByte |
|
Plant SCADA Tag Address |
PROGRAM:MyProgram.SingleStructure.SingleByte |
|
Plant SCADA Tag Type |
BYTE |
Single Digital in program MyProgram
|
PLC Tag Address |
MyProgram.SingleBoolean |
|
PLC Tag Type |
BOOLEAN |
|
Plant SCADA Tag Name |
MyProgram_SingleBoolean |
|
Plant SCADA Tag Address |
PROGRAM:MyProgram.SingleBoolean |
|
Plant SCADA Tag Type |
DIGITAL |
Single integer within an array of integers in program MyProgram
|
PLC Tag Address |
MyProgram.IntegerArray[5] |
|
PLC Tag Type |
INT |
|
Plant SCADA Tag Name |
MyProgram_IntegerArray_5 |
|
Plant SCADA Tag Address |
PROGRAM:MyProgram.IntegerArray{5} |
|
Plant SCADA Tag Type |
INTEGER |