Sutron Corporation X-Link Operations & Maintenance Manual, Rev 1.63 5/24/2016 pg. 174
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 master 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. If the quality is also desired,
change the number of values to 2 and choose ushort for the second reading
type. The complete list of registers and their locations are below.
Modbus
registers
Last
Measured
min
max
number of
samples
raw
measurement
msw
lsw
msw
lsw
msw
lsw
msw
lsw
msw
lsw
M1
1
2
101
102
201
202
301
302
401
402
M2
3
4
103
104
203
204
303
304
403
404
M3
5
6
105
106
205
206
305
306
405
406
M4
7
8
107
108
207
208
307
308
407
408
M5
9
10
109
110
209
210
309
310
409
410
M6
11
12
111
112
211
212
311
312
411
412
M7
13
14
113
114
213
214
313
314
413
414
M8
15
16
115
116
215
216
315
316
415
416
M9
17
18
117
118
217
218
317
318
417
418
M10
19
20
119
120
219
220
319
320
419
420
M11
21
22
121
122
221
222
321
322
421
422
M12
23
24
123
124
223
224
323
324
423
424
M13
25
26
125
126
225
226
325
326
425
426
M14
27
28
127
128
227
228
327
328
427
428
M15
29
30
129
130
229
230
329
330
429
430
M16
31
32
131
132
231
232
331
332
431
432
Battery
Voltage
61
62
M1, M2, .. M16 refer to X-Link measurements.
E.g. to read the last measured sensor value for measurement M10, read registers
19 and 20 and combine the result into a single 32 bit IEEE floating point value.
E.g. to read the number of samples used in the last measurement of M5, read
registers 309 and 310 and combine the result into a single 32 bit IEEE floating
point value.
18.4.
Sutron Function Codes
This section describes the use of the Sutron function code to get files, send files
and, get the log over MODBUS.