EasyManua.ls Logo

Siemens HydroRanger 200 HMI - Relay function codes (2.8.1.4. Relay function only)

Siemens HydroRanger 200 HMI
404 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Communications
C.36 Split values
HydroRanger 200 HMI
Operating Instructions, 06/2018, A5E36281317-AC
341
C.36
Split values
Certain parameters are actually pairs of numbers separated by a colon, using this format:
xx:yy
.
One example is Echo Confidence as shown in Measurement View 2 [
The local display
(Page 51
)
], 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

Table of Contents

Related product manuals