142 Rockwell Automation Publication 2711R-UM001I-EN-E - February 2023
Appendix D Using PanelView 800 Terminals with CompactLogix 5370 and CompactLogix 5380 Controllers
In summary, predefined, module-defined, and user-defined data types of the
CompactLogix 5370 and CompactLogix 5380 controller can be accessed from
PanelView 800 terminals from their respective members, which are based on
the above atomic data types
The LINT data type is not supported in CompactLogix 5370 and
CompactLogix 5380 controllers.
Addressing Formats from PanelView 800 Terminals to CompactLogix
5370 or CompactLogix 5380 Controllers
When mapping a PanelView 800 terminal tag to a CompactLogix 5370 or
CompactLogix 5380 controller tag, make sure you copy the exact name and
format of the controller tag into the address field of the terminal tag in the Tag
Editor.
Element Level Addressing
PanelView 800
Data Type
CompactLogix 5370/
CompactLogix 5380 Data Type
Controller Tag Address
(Global) Example
Controller Tag Address
(Local, MainProgram) Example
Boolean BOOL Tag1 Program: MainProgram.Tag1
32-bit integer DINT Tag2 Program: MainProgram.Tag2
16-bit integer INT Tag3 Program: MainProgram.Tag3
8-bit integer SINT Tag4 Program: MainProgram.Tag4
Real REAL Tag5 Program: MainProgram.Tag5
String STRING
*
(1)
*
(2)
(1) Tag6.Data/N – N is the length of String.
(2) Program: MainProgram.Tag6.Data/N
Note the following:
• Tag address of Tag6.Len can be read/written for the length of String.
• Tag address of Tag6.Data[characterNo] is to read/write individual character of string by ASCII. For example, Tag6.Data[1] refers to the element 1.
Accessing a Member of a Structure (predefined, module-defined, user-defined data types)
PanelView 800
Data Type
CompactLogix 5370/
CompactLogix 5380 Data Type
Controller Tag Address
(Global) Example
Controller Tag Address
(Local, MainProgram) Example
Boolean BOOL STRUCTURE.Tag1 Program:MainProgram.STRUCTURE.Tag1
32-bit integer DINT STRUCTURE.Tag2 Program:MainProgram.STRUCTURE.Tag2
16-bit integer INT STRUCTURE.Tag3 Program:MainProgram.STRUCTURE.Tag3
8-bit integer SINT STRUCTURE.Tag4 Program:MainProgram.STRUCTURE.Tag4
Real REAL STRUCTURE.Tag5 Program:MainProgram.STRUCTURE.Tag5
String STRING
*
(1)
*
(2)
(1) STRUCTURE.Tag6.Data/N – N is the length of String.
(2) Program:MainProgram.STRUCTURE.Tag6.Data/N
Boolean Addressing
PanelView 800
Data Type
CompactLogix 5370/
CompactLogix 5380 Data Type
Controller Tag Address
(Global) Example
Controller Tag Address
(Local, MainProgram) Example
Boolean DINT
Tag2.bitNo
(1)
Program:MainProgram.Tag2.bitNo
Boolean INT
Tag3.bitNo
(1)
Program:MainProgram.Tag3.bitNo
Boolean SINT
Tag4.bitNo
(1)
Program:MainProgram.Tag4.bitNo
(1) bitNo can be any value – 0...31 for DINT, 0...15 for INT and 0...7 for SINT data type tags in the CompactLogix 5370 or CompactLogix 5380 controller.