Sutron Corporation X-Link Operations & Maintenance Manual, Rev 1.63 5/24/2016 pg. 173
Sutron Function Code
0x41
Get File
GF
Sutron Function Code
0x41
Send File
SF
18.3.1.
Identifying Registers
There are two types of data that can be accessed using the Modbus protocol.
These include Holding and Input registers.
18.3.1.1.
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-16 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.
18.3.1.2.
Input Registers
Input registers return the last measured data from the device. Ideally these
values should be requested on a schedule slightly lagging the measurement
schedule on the X-Link. This will ensure data will follow that found in the X-Link
log. If the last measured data is not acceptable, a live reading can be forced by
writing to the Force Measurement (1010) holding register. Care must be taken