Using the Status Group Registers
 
Overview
This topic describes the two register blocks in the status group:
More than one register is referred to as a block.
System Status Block
NOTE: If you attempt to read a register within the diagnostic table (offset from F801), you will receive an error 3002, non-existent register requested. You must start the read at the first register of F801.
The registers in this group provide information about the module's revision level and current operating parameters. These registers are read-only. The module status block starts at offset 4F801(hex).
Words of Information
Description
Value
Word 1
Length of status block (words)
Max. of 13 words
Word 2
Number of I/O module input words
Module dependent
Word 3
Number of I/O module output words
Module dependent
Word 4
I/O module ID number
Module dependent
Word 5
Communication adapter revision number
Format: XR
Where:
  • X = upper 4 bits, always 0000
  • R = lower 12 bits, defining the revision as 3 hex characters
Example:
  • 100 hex = Rev. 1.00
  • 200 hex = Rev. 2.00
Word 6
ASCII header length in words
Module dependent
Word 7
Last IP address to communicate with this adapter in most recent Modbus transaction (low word of 2 words). See 4F80D.
Node address dependent
Word 8
Remaining ownership reservation time
Milliseconds
Word 9
Remaining output holdup time
Milliseconds
Word 10
I/O Module health
8000 hex = healthy
0000 hex = not healthy
Word 11
I/O module last error counter
Module dependent
Word 12
I/O module error counter
Error count 0000 FFFF hex
Word 13
Last IP address to communicate with this adapter in most recent Modbus transaction (high word of 2 words).See 4F807.
Node address dependent
MAC Address Offending Node Block
The MAC address of the offending node will be saved in the 4F820 register area (non-volatile) memory. Read the 4F820 register to use the stored information for analysis. Remember that the Momentum 170ENT11001 will be at its default address since the adapter returns to its default IP. Connect to the 170ENT11001 using its default IP address. To establish the default IP, see the appendix Deriving an IP Address from a MAC Address. You may need to add a route to your computer. To complete this process, see the appendix Establishing an Active Route - Momentum 170ENT11001.
ASCII Header Block
The ASCII header block starts at offset 4FC01. These registers contain an ASCII text description of the module. These registers are read-only.
The block length depends upon the type of I/O base to which the adapter is connected. The maximum length is 64 bytes of ASCII characters, which corresponds to a length of eight (8) 32-words as specified in word 6 of the module status block (at reference 4F806).
The block contains labels to identify quantities of input and output words, and the ID code of the I/O base. The block contents can be parsed by an application program to extract this information.
Status block parsing
ASCII Characters
Description
Ethernet
Identifies Ethernet communication adapter
0x20
Space
IEC
Data is transferred with I/O base in IEC format
0x20
Space
DIG:
EXP:
ANA:
Digital module (ID range: XX00 ... XX7F hex)
Expert module (ID range: XX80 ... XXBF hex)
Analog module (ID range: XXC0 ... XXFE hex)
0x20
Space
Inlen=n
Input words (n = quantity of words, decimal)
0x20
Space
Outlen=n
Output words (n = quantity of words, decimal)
0x20
Space
ID=0xnnnn
Module DI code (nnnn = ID code, hex)