Page
211
of
248
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
Server Exception Count
1013
Read Only
Server 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.
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 station. This will ensure data will follow that
found in the 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 to allow enough time to pass for taking a
measurement before requesting the data.
Since the system works with floating point numbers and Modbus only allows for 16-bit registers, a
multiple register read can be used to access the entire reading. The Modbus client device should be
configured to treat these reads as a single floating point number. For example, if accessing Last measured
via an Xpert, read 1 value of type float starting at register 1. The complete list of registers and their
locations are below.
Содержание SUTRON XLINK 100
Страница 1: ...Operations Maintenance Manual SUTRON XLINK 100 500 Part No 8800 1217 Rev 8 44 4 January 14 2022...
Страница 230: ...Page 230 of 248...
Страница 247: ...Page 247 of 248...