The text of a manual · part 11 of 12
ControlLogix DeviceNet Interface Module 1756-DNB User Manual: A - 1756-DNB Status Structure
Pages 87 to 90 of 96, from ControlLogix DeviceNet Interface Module 1756-DNB User Manual
The original document is the PDF (1.7 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Allen-Bradley 1756-DNB
Page 87
Appendix
A
1756-DNB Status Structure
Module Status Structure
The controller receives status information concerning the 1756-DNB module’s ability to exchange DeviceNet messages with other nodes by reading from a Status Structure in the 1756-DNB module. The module periodically updates the contents of the Status Structure and copies its contents to the controller. The Status Structure consists of several 64-bit tables. The bit position of each of the 64 bits that make up a given status table directly corresponds to the node address of a device. The Status Structure can be seen in the Controller Tags database by expanding the Status tag (i.e., Local:1:S).
1
Publication 1756-6.5.19 - May 2000
Page 88
A-2
1756-DNB Status Structure
The Status Structure consists of these data regions: Status Structure
Element Description
Data Type
Scan_Counter counter incremented each I/O scan
32-bit
Device_Failure_Register device failed bit table; 1 = failed
64-bit
Autoverify_Failure_Register device I/O size does not match scanner’s internal table; 1 = mismatch
64-bit
Device_Idle_Register device is idle bit table; 1 = idle
64-bit
Active_Node_Register
Node online table; 1 = online
64-bit
Status_Display
ASCII representation of DNB alphanumeric display
4-byte
Scanner_Device_Status
Scanner Device Status:
4-byte BCD scanner_address
DeviceNet address of DNB module
8-bit BCD scanner_status
Status of DNB module
8-bit BCD device_address
Scrolls through faulted DeviceNet nodes by address (0 = no faults)
8-bit BCD device_status
DINTs 10
11
8-bit BCD
Reserved_Array
Future Expansion (20 bytes)
20 8-bit
16
Device_Status_Array
DeviceNet node status, 1 byte per device
64 8-bit
24/32
The 1756-DNB, versions 3.002 and higher, and RSLogix 5000, versions 2.25 and higher, support variable size Status Structures. When the user specifies the size of the Status Structure during the 1756-DNB Module Properties configuration (see page 6-6), the elements of the structure correspond the definition of the Status Structure up to the size selected.
Publication 1756-6.5.19 - May 2000
Page 89
1756-DNB Status Structure
A-3
For ControlLogix, the available sizes are: • 10 DINTs (32-bit value) • 11 DINTs • 16 DINTs • 24 DINTs • 32 DINTs (Default) For example, if the user selects a status size of 10 DINTs in RSLogix 5000, the Status Structure would consist of fields Scan-Counter through Reserved_Array. If the user selects a status size of 24, the Status Structure would consist of fields Scan_Counter through half of the Device_Status_Array (first 32 DeviceNet addresses). If the user selects a Status Size of 32, the Status Structure would consist of fields Scan_Counter through the entire Device_Status_Array.
Publication 1756-6.5.19 - May 2000
Page 90
A-4
1756-DNB Status Structure
Publication 1756-6.5.19 - May 2000