Siemens HydroRanger 200 Instruction Manual Page 116

  • Download
  • Add to my manuals
  • Print
  • Page
    / 256
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 115
Page 102 HydroRanger 200 – INSTRUCTION MANUAL 7ML19981FCO1
mmmmm
Data Types
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 92 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 Milltronics device:
value = (xx + 128) x 256 + (yy + 128)
For reading from the Milltronics 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
Page view 115
1 2 ... 111 112 113 114 115 116 117 118 119 120 121 ... 255 256

Comments to this Manuals

No comments