Measurement table
generic-measurement-table
In the measurement table the required variables and any auxiliary variables are configured. The measurement table can have up to 99 entries. Each entry is configured by the parameters described below.
The measurement table is a powerful tool to configure a wide range of measurement inputs. The controls S‑TYP, S‑NUM and S‑MEA are used to select the input type and the measurement source. Scale and Offset convert the acquired signal to a readable quantity and Function applies a statistical transformation. Finally, S-ADD is used to apply a special property to the measurement variable, e.g. MR1 to reset a summed variable at the 1st of the month.
- Function
- generic-measurement-table-function
- Defines the output type of the variable. The following options are available:
ID
Function
Description
1
Off
The variable is not recorded and stored.
2
Actual
The last value acquired within the storage interval is recorded and saved.
3
Meanval
The average of all values acquired within the storage interval is recorded and saved.
4
Minimum
The minimum of all values acquired within the storage interval is recorded and saved.
5
Maximum
The maximum of all values acquired within the storage interval is recorded and saved.
6
Sum
The sum of all values acquired within the storage interval is recorded and saved.
7
Intens.
The difference of the last two stored values is saved. If the difference is negative, 0 is returned. Often used for rain intensity measurements.
8
Diff.
The difference of the last two stored values is saved.
9
Custom1
not generally available
10
Custom2
not generally available
- Identifier
- generic-measurement-table-identifier
- User defined variable name. Max. 17 characters long.
- Unit
- generic-measurement-table-unit
- The unit of the selected variable. Max. 7 characters long.
- Decimals
- generic-measurement-table-decimals
- The number of decimal places assigned to the selected variable. The following options are available:
ID
Decimals
Description
1...5
1…5number of decimal places assigned to the selected variable
6
noneno decimal places
7
as SFor a connected serial sensor the number of decimal places of the sensor output is adopted.
For a connected analog sensor the following rules apply:
Input type
Decimal places
Voltage, resistance
4
Frequency of wind sensor
1
Direction of wind sensor
1
- Scale
- generic-measurement-table-scale
- The slope applied to the selected variable. Only available if Decimals is set to 1…5 or none. If Decimals is set as S (as source), no scaling is applied.
- Adjustment
- generic-measurement-table-adjustment
- A measurement of the selected variable is triggered and the result displayed in a terminal window. If the measured value deviates from the correct value, the correct value can be entered. This adjusts the value in Offset. The factor in Scale is not affected by this correction.
- Test
- generic-measurement-table-test
- A measurement of the selected variable is triggered and the result displayed in a terminal window.
- S-TYP
- generic-measurement-table-s-typ
- One of the following sensor (or source) types:
S-TYP
Description and S-MEA options
AIN
Analog input
The input port is set in S-MEA with the following options:
AN 1 ... AN 8Analog input 1 ... 8
WIND
Wind sensor
The input is set in S-MEA with the following options:
SpeedWind speed
Direct.Wind direction
COUNT
Counter input
See Counter & frequency measurements for details.
SDI12
SDI-12 input
The sensor address is set in S-NUM, and the position of the measurement value within the output string is assigned in S-MEA. See SDI-12 for details.
SBP
SOMMER sensor that supports the SBP-protocol (via RS-485)
The sensor address is set in S-NUM, and the position of the measurement value within the output string is assigned in S-MEA. See RS-485 for details.
MIO
SOMMER sensor that supports the MIO-protocol (via RS-485)
The sensor address is set in S-NUM, and the position of the measurement value within the output string is assigned in S-MEA. See Reading data in MIO-format for details.
SYS
System variable
The variable is set in S-MEA with the following options:
Status ANumber of triggers received on the TRIG- input within the Measurement Interval
Status Bnot assigned
Exep. ADiagnostic variable
Exep. BDiagnostic variable
HBHeartbeat (diagnostic variable)
+Sup VSupply voltage
12V | 14VVoltage of internal 12V / 14V power supply
5VVoltage of internal 5V power supply
2.5VVoltage of internal 2.5V power supply
RECYC
Performs an operation on the variable referenced in S-NUM and returns its result. See S-ADD for available operations.
RECYCM
Performs a mathematical operation between two variables referenced in S-NUM and S-MES, and returns its result. See S-ADD for available functions.
- S-NUM
- generic-measurement-table-s-num
- This setting depends on the selection of S-TYP. For example, if S-TYP is set to SDI12, S-NUM sets the SDI-12 address of the connected sensor.
- S-MEA
- generic-measurement-table-s-mea
- This setting depends on the selection of S-TYP. For example, if S-TYP is set to SDI12, S-MEA sets the position of the measurement variable within the SDI-12 string. See S-TYP for all available options.
|
S-TYP |
S-NUM |
S-MEA |
Usage |
|---|---|---|---|
|
SBP |
Sensor address (0...99) |
Position of variable in received data string (0...99). |
Read value of digital sensor using SBP protocol. |
|
MIO |
Sensor address (0...99) |
Position of variable in received data string (0...99). |
Read value of digital sensor using MIO protocol. |
|
SDI12 |
Sensor address (0...62) |
Position of variable in received data string (0...99). |
Read value of SDI-12 sensor. |
|
RECYC |
Measurement ID (0...99) |
- |
See table in S-ADD. |
|
RECYCM |
Measurement ID (0...99) |
Measurement ID (0...99) |
See table in S-ADD. |
- S-ADD
- generic-measurement-table-s-add
- Contains additional commands which are sent with a standard request to a sensor (or source), or which provide additional options for controlling measurements and handling results. The available commands depend on the settings of Function, S-TYP and S-ADD.
Function
S-TYP
S-ADD
Description
SUM
all
NR
No reset of summed variables at defined reset event.
SUM
all
MRx
Monthly reset of summed variables at day x, e.g MR1 for reset at 1st of month.
SUM
all
DD
Double data for summed variables at reset event; old and new values are stored.
all
SDI12
_Cn
Concurrent measurement command for measurements n (_C1 .... _C9).
all
SDI12
CCn
Concurrent measurement command with CRC for measurements n (_CC1 .... _CC9).
all
SDI12
_Mn
Measurement command for measurements n, (_M1 .... _M9).
all
SDI12
MCn
Measurement command with CRC for measurements n, (_MC1 .... _MC9).
all
SDI12
_Rn
Read command for measurements n, (_R0 .... _R9).
all
SDI12
RCn
Read command with CRC for data n, (_RC0 .... _RC9).
all
SDI12
RD
Rain disdrometer data of Sommer Messtechnik RHD sensor.
all
SDI12
HD
Hail disdrometer data of Sommer Messtechnik HDI sensor.
all
SBP, MIO
SCx
Sub-channel x for MDL compatibility.
all
SBP, MIO
TD
Trigger data of a SBP or MIO device.
all
MIO
TF
Trigger fake. In MIO protocol ID's are often only string ID's and not real device ID's. TF marks the real device ID's.
all
all
SY
Synchronous storage: variable that is normally stored asynchronously is stored in the main storage interval, e.g. a counter intput.
all
all
AS
Asynchronous storage: variable that is normally stored synchronously is stored in the Storage interval asynchronous, i.e. it is only stored if the variable changes its value.
all
all
PV
Values are returned on serial port RS-485-2 immediately after measurement. This may be used to send measurement values to another serial sensor as input.
ATTENTION Make sure to use proper timing if data are also received over the RS-485-2 port.
all
all
MAxx
Moving average of
xxvalues, wherexxis 5, 12, 24, 48, 96.Note: Each command can only be applied once, i.e. one MA5, one MA12, ...!
all
all
PS
Converts the measurement interval into seconds (PS), minutes (PM), hours (PH) and days (PD) and multiplies the it with the value of the variable. Generally used to calculate differences and intensities.
For example, a sensor returns a flow rate with the unit m³/s. To return the total flow, set Function to Sum, the Unit to m³ and S-ADD to PS. Here, the measurement interval is converted into seconds, multiplied with the measurement value and added to the flow.
ATTENTION: Select the time unit that matches the unit of the variable!
all
all
PM
all
all
PH
all
all
PD
all
RECYC
GS
Returns the limit status of the variable referenced in S-NUM. If a limit has been violated 1 is returned.
all
RECYCM
D+
Adds variables referenced in S-NUM and S-MEA.
all
RECYCM
D-
Subtracts variable referenced in S-MEA from S-NUM.
all
RECYCM
D*
Multiplies variables referenced in S-NUM and S-MEA.
all
RECYCM
D/
Divides variable referenced in S-NUM by S-MEA.
all
RECYCM
EX
Returns exponential of variable referenced in S-NUM (power to basis
e).all
RECYCM
PTy.y
Returns potential of variable referenced in S-NUM to the power of
y.y, e.g. a value of 2 with function PT3.0 returns 2³ = 8.all
RECYCM
DM
Returns the value of the variable referenced in S-MEA at the maximum or minimum of the variable referenced in S-NUM. Generally used to record the wind directions of wind gusts (direction maximum).
TIP Multiple commands can be entered by separating them with a space, e.g.
D+ SY.
