
Page 106
HydroRanger 200 – INSTRUCTION MANUAL
7ML19985FC03
mmmmm
Da
ta
T
yp
e
s
For example, if R41,442 is read as a UINT32, the 32 bits would look like this:
The two registers are read as a 32-bit integer.
The most significant word (MSW) and least significant word (LSW) can be reversed to
accommodate some Modbus drivers. See
Word Order (R40,062)
on page 96 for details.
The position of the decimal place is dependent on the register. For more details see the
description of the register.
Split Values
Certain parameters are actually a pair of numbers separated by a colon, using this
format: xx:yy.
One example is P807, Transducer Noise, where:
xx = the average noise value in dB
yy = the peak noise in dB
The number which corresponds to xx:yy, either for reading or setting a parameter, is
determined by the following formula:
For storing to the device:
value = (xx + 128) x 256 + (yy + 128)
For reading from the device:
xx
= (value / 256) – 128
yy
= (value % 256) – 128
where % is the modulus operator.
The modulus can be computed by following these steps:
value
1
= value / 256
value
2
= remainder of value
1
value
3
= value
2
x 256
yy = value
3
– 128
It may simplify Parameter to notice:
xx = (most significant byte of value) – 128
yy = (least significant byte of value) – 128
R41,442
R41,443
16
MSW
1
16
LSW
1
32
32-bit integer value (UINT32)
1
Содержание HydroRanger 200
Страница 1: ...Instruction Manual July 2009 200 hydroranger ...
Страница 232: ...Page 222 HydroRanger 200 INSTRUCTION MANUAL 7ML19985FC03 mmmmm Parameters Notes ...
Страница 264: ...Page 254 HydroRanger 200 INSTRUCTION MANUAL 7ML19985FC03 mmmmm Appendix H Software Rev Notes ...
Страница 278: ...Notes ...
Страница 279: ......