XLINK 500/100 Operations & Maintenance Manual page # 174
Diagnostic
0x08
Return Bus Message Count
0x0B
Diagnostic
0x08
Return Bus Comm Error
0x0C
Diagnostic
0x08
Return Bus Exception Count
0x0D
Diagnostic
0x08
Return Slave Message Count
0x0E
Diagnostic
0x08
Return Slave Broadcast Count
0x0F
Diagnostic
0x08
Return Bus Char Overrun Count
0x12
Write Multiple Registers
0x10
Sutron Function Code
0x41
Get Log
GL
Sutron Function Code
0x41
Get File
GF
Sutron Function Code
0x41
Send File
SF
18.4.1.
Identifying Registers
There are two types of data that can be accessed using the Modbus protocol. These include
Holding and Input registers.
Holding Registers
Holding registers are reserved for the purpose of setting and getting data such as the date and
time and diagnostic counts if the ability to send the above Diagnostic (0x08) command is not
available. The following table identifies the holding registers and their locations. Each of these
registers is an unsigned 16-bit value (if readings registers using an Xpert, set the data type to
ushort).
Data
Register
Valid Data Values
Hour of current time
1001
0
–
23
Minute of current time
1002
0
–
59
Second of current time
1003
0
–
59
Year of current time
1004
> 2000
Month of current date
1005
1
–
12
Day of current month
1006
1
–
31
Recording status
1007
1 means running
0 means stopped
Reset Unit
1008
Write 1 to reset
Modbus Protocol
1009
0
–
RTU
1
–
ASCII
Force Measurement *
1010
0
–
force all active
measurements
1-32 force that
measurement only
Bus Message Count
1011
Read Only
Bus Comm Error
1012
Read Only
Slave Exception Count
1013
Read Only
Slave Message Count
1014
Read Only
Broadcast Message Count
1015
Read Only
Char Overrun Count
1016
Read Only
*Note: When forcing a measurement, be sure to wait the proper amount of time for a
measurement to finish before requesting data.