1.348 Measurement-Converter

The logical device Measurement-Converter translates of a measurement value to a physical quantity in linear context. This is for example useful to converts a measure current (in mA) to humidity, temperature or pressure.

The device calculates gradient (m = delta y / delta x) and y-intercept (n = y - m*x) from to given points configured in the device setup (minIn:maxIn and minOut:maxOut). On every change of the input measurement, a new physical quantity is calculated.

Device window pages

The following table shows which device window pages are available with this individual device type. Tool-bar functions not mentioned here are described at the general description of device windows .

Configuration parameters

At the maintenance contains settings to configure this logical device.

parameter description
input.Id Parameter ID of the value which should be converted
minIn Minimum of input value
maxIn Maximum of input value
minOut Minimum of output value
maxOut Maximum of output value
max Maximum / upper limit
returnMin value which will be returned if the input is below min
returnMax value which will be returned if the input is above max
unit unit of output value

Variables defined by this device driver

name type flags range
info.driver TEXT R/O StringRange R/O
lowLevel.cmd TEXT StringRange
lowLevel.reply TEXT R/O StringRange R/O
faults.99 ALARM R/O AlarmFlagRange R/O (Communication)
faults.commstat TEXT R/O StringRange R/O
info.type TEXT R/O StringRange R/O
info.frame TEXT R/O StringRange R/O
config.input.Id TEXT SAVE SETUP StringRange
config.minIn TEXT SAVE SETUP StringRange
config.maxIn TEXT SAVE SETUP StringRange
config.minOut TEXT SAVE SETUP StringRange
config.maxOut TEXT SAVE SETUP StringRange
config.unit CHOICE SAVE SETUP EnumRange (mbar % °C ° ppm m/s m3/h kLux)
input FLOAT DoubleRange (0.00 .. 0.00)
value FLOAT R/O DoubleRange R/O (0.00 .. 0.00)
internal.m FLOAT R/O DoubleRange R/O (0.00 .. 0.00)
internal.n FLOAT R/O DoubleRange R/O (0.00 .. 0.00)