Measurement table

generic-measurement-table

 

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…5

number of decimal places assigned to the selected variable

6

none

no decimal places

7

as S

For 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.
Offset
generic-measurement-table-offset
The offset applied to the selected variable.
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:

An1

Analog input 1

An2

Analog input 2

An3 (N)

Analog input 3

An4 (D)

Analog differential input

WIND

Wind sensor

The input is set in S-MEA with the following options:

Speed

Wind speed

Direct.

Wind direction

COUNT

Counter input

Counter 1

Counter input 1

Counter 2a

Counter input 2

Counter 2ab

Counter input 2-a and 2-b for shaft encoder

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 ID of the measurement value 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:

Key A

Number of times the MRL-7 is activated via its keyboard.

Key S

Number of times the MRL-7 is activated via its keyboard with the special key sequence + .

Manual

If a value as Offset is entered manually over the MRL-7 keyboard.

Excp. A

Diagnostic variable

Excp. B

Diagnostic variable

Light

Ambient light intensity (0…3000 Lux)

+Sup V

Supply voltage X2

+Bat V

Voltage of internal battery X1

5V sup

Voltage of internal 5V bus supply

Mo CSQ

Modem signal strength

Mo excp.

Modem exception message to monitor data transmission.

Mo srv1...3

Modem data server response

X21

Status of switch that is to be recorded. The switch number is set in S-NUM.

Message

Number of successful message transmissions since the last storage event. The message number defined in Measurement table must be entered in S-NUM.

RECYC

Performs an operation on the variable referenced in S-NUM and returns its result. See S-ADD for available operations. Also used to rescale a variable with Scale and Offset.

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

String number (0...63)

Position of variable in received data string (0...3).

Read value of digital sensor using MIO protocol.

SDI12

Sensor address (0...61)

Position of variable in received data string (1...99).

Read value of SDI-12 sensor.

RECYC

Measurement ID (1...99)

-

See table in S-ADD.

RECYCM

Measurement ID (1...99)

Measurement ID (1...99)

See table in S-ADD.

SYS

Number of switch (1...3)

X21

Status of one of the X21 switches that is to be recorded.

SYS

Number of messages (1...16)

Message

Number of successful message transmissions since the last storage event.

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. The reset time is set in Sum, reset time.

SUM

all

DD

Double data for summed variables at reset event; old and new values are stored.

SUM

all

TR

Threshold reset: for summed variables with Limit; sum is reduced by Limit after a limit violation.

all

SDI12

_Cn*

Concurrent measurement command for measurements n (_C1 .... _C9).

all

SDI12

CCn*

Concurrent measurement command with CRC for measurements n (CC .... CC9).

all

SDI12

_Mn

Measurement command for measurements n, (_M1 .... _M9).

all

SDI12

MCn*

Measurement command with CRC for measurements n, (MC .... 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

Reads disdrometer data of Sommer Messtechnik RHD sensor.

all

SDI12

HD

Reads 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

COUNT

SW

Switched direction of shaft/impuls encoder.

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.

all

all

ST

Triggers an action if the measurement value is Smaller Than the specified limit set in Limit.

all

all

PS

Converts the measurement interval into seconds (PS), minutes (PM), hours (PH) and days (PD) and multiplies 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 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 the 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).

*needs to be set for each entry in the measurement table that reads SDI-12 data from the sensor in question

TIP  Multiple commands can be entered by separating them with a space, e.g. D+ SY.

Limit
generic-measurement-table-limit
Optional limit value. By default, the measurement value must exceed the limit to trigger an action. Add the command ST in S-ADD to trigger an action if the measurement value falls below the limit. The value is not allowed to have more number of digits after the decimal point as the input value.
Messages
generic-measurement-table-messages
The action to be performed if the measurement value exceeds or falls below the limit set in Limit. The actions are specified in Messages, table and are referenced by their message number. Multiple actions can be selected.