OPPERMANN_MSX_MOD_I_80_XX_X_XXX

OPPERMANN_MSX_MOD_I_80_XX_X_XXX (FB)

FUNCTION_BLOCK OPPERMANN_MSX_MOD_I_80_XX_X_XXX

Representation

General

This is a multisensor transmitter for installation in ventilation ducts

MS3: without VOC sensor MS4: with VOC sensor (optional)

AI: analog inputs - module (optional) DO: relay output - module (optional)

D-NFC: with NFC display (optional) : without NFC display

The configuration of the Modbus interface and other parameters is carried out via NFC and app when a display is present (variant 1). The configuration of the Modbus interface and other parameters is carried out via buttons when a display is present (variant 2).

A termination resistor (120 ohm) can be enabled/disabled.

The Modbus interface is parameterized as follows without further settings:

RTU 9600 baud 8 data bits Even parity 1 stop bit device address = 1 polling >= 500 ms

It can be parameterized via Modbus (registers 80 - 82) (device address, baud rate and parity). However, this is not implemented in this function block.

Registers 19, 20, 64, 65 and 66 may only be written with FC06.

All parameter changes are made immediately in RAM (not protected against power loss). For permanent storage, saving to EEPROM is required (register 85 = 1).

The device then restarts automatically; Modbus communication is possible again only after approx. 15 s.

The NFC display has higher priority for parameterization than setting parameters via Modbus. As soon as the NFC display is reconnected, the parameter settings from the display are adopted.

Only the temperature sensor and the sensor for relative humidity can be calibrated via Modbus. No calibration option is provided for the CO2 sensor or the optional VOC sensor.

The function of the analog outputs is defined in registers 5 - 7 (9 = writable via registers 56 - 58). The current setpoints of the analog outputs are defined in registers 56 - 58. The current MIN/MAX limit setpoints of the analog outputs are defined in registers 44 - 50. The current function of the analog outputs is read from registers 21 - 23. The current actual values of the analog outputs are read from registers 5 - 7.

The current actual values of the analog inputs are read from registers 53 - 54.

The state of the relay depends on the output (= manipulated variable) of a two-point controller.

Up to four measured values can be used as the controlled variable (selection via register 41). Up to four measured values can be used as the setpoint/target variable (selection via register 40). The setpoint is limited by adjustable limits (minimum via register 43, maximum via register 42). The direction of action of the controller can be set in register 37 (0 = reversed, 1 = direct). The switching hysteresis of the controller can be set in register 36 (in percent of the setpoint). The current state of the relay is read from register 24 (0 = relay not energized, 1 = relay energized). In the ‘Direct’ direction of action the relay energizes if the controlled variable falls below the setpoint by the switching hysteresis. In the ‘Direct’ direction of action the relay de-energizes if the controlled variable exceeds the setpoint by the switching hysteresis.

InOut:

Scope
Name
Type
Initial
Comment

Input

xEn

BOOL

TRUE

Enable / disable communication (TRUE = enabled)

Input

byUnitId

BYTE

0

Device address (1 .. 127)

Input

xUpdateActual

BOOL

FALSE

Update of actual values (on every rising edge ) (range: operation)

Input

xUpdateSetp

BOOL

FALSE

Update of setpoints (on every rising edge )

Input

xUpdateConfigWrite

BOOL

FALSE

Update of configuration (write access) ( on every rising edge)

Input

rAO1_Man_Perc

REAL

0.0

Setpoint at analog output 1 in manual mode in percent ( eAO1_Config_Select = MANUAL_OUTPUT ) (0.0 - 100.0% corresponds to 1.0 - 10.0 V )

Input

rAO2_Man_Perc

REAL

0.0

Setpoint at analog output 2 in manual mode in percent ( eAO2_Config_Select = MANUAL_OUTPUT ) (0.0 - 100.0% corresponds to 1.0 - 10.0 V )

Input

rAO3_Man_Perc

REAL

0.0

Setpoint at analog output 3 in manual mode in percent ( eAO3_Config_Select = MANUAL_OUTPUT ) (0.0 - 100.0% corresponds to 1.0 - 10.0 V )

Input

xCal_CO2_400

BOOL

FALSE

Input to trigger calibration of the CO2 sensor to 400.0 ppm (on every rising edge)

Input

wCO2_ABC_Time

WORD

7

Cycle duration for automatic adjustment of the lowest CO2 actual value to the 400 ppm reference (0 = disabled, 1 - 15 = duration in days)

Input

xStoreParamEEPROM

BOOL

FALSE

Input to trigger saving all parameters to EEPROM (on every rising edge)

Input

xResError

BOOL

FALSE

Reinitialization of the output ‘eErrorCodeCom’ ( on every rising edge )

Inout

ModbusClient

ModbusClientBase

Client of the device

Output

rTemp

REAL

Temperature in XX.X degrees Celsius

Output

rTemp_Average

REAL

Time-averaged temperature in XX.X degrees Celsius

Output

rRH

REAL

Relative humidity in XX.X percent

Output

rRH_Average

REAL

Time-averaged relative humidity in XX.X percent

Output

rDewPointTemp

REAL

Dew point temperature in XX.X degrees Celsius

Output

rCO2

REAL

CO2 concentration in XXXX ppm

Output

rCO2_Average

REAL

Time-averaged CO2 concentration in XXXX ppm

Output

rVOC

REAL

VOC index in XXX index points (0 = good quality, 500 = poor quality)

Output

rVOC_Average

REAL

Time-averaged VOC index in XXX index points (0 = good quality, 500 = poor quality)

Output

rAO1_Perc

REAL

Actual value at analog output 1 in percent (0.0 - 100.0% corresponds to 1.0 - 10.0 V )

Output

rAO2_Perc

REAL

Actual value at analog output 2 in percent (0.0 - 100.0% corresponds to 1.0 - 10.0 V )

Output

rAO3_Perc

REAL

Actual value at analog output 3 in percent (0.0 - 100.0% corresponds to 1.0 - 10.0 V )

Output

eAO1_Config

OPPERMANN_MSX_MOD_I_80_XX_X_XXX_ANALOG_OUTPUTS_CONFIG

Configuration of analog output 1 (9 = writable via ‘rAO1_Man’ )

Output

eAO2_Config

OPPERMANN_MSX_MOD_I_80_XX_X_XXX_ANALOG_OUTPUTS_CONFIG

Configuration of analog output 2 (9 = writable via ‘rAO2_Man’ )

Output

eAO3_Config

OPPERMANN_MSX_MOD_I_80_XX_X_XXX_ANALOG_OUTPUTS_CONFIG

Configuration of analog output 3 (9 = writable via ‘rAO3_Man’ )

Output

xDO1

BOOL

State of relay DO1 (FALSE = relay not active, TRUE = relay active) (optional)

Output

rAI1_Perc

REAL

Actual value at analog input 1 in percent (0.0 - 100.0% corresponds to 1.0 - 10.0 V ) (optional)

Output

rAI2_Perc

REAL

Actual value at analog input 2 in percent (0.0 - 100.0% corresponds to 1.0 - 10.0 V ) (optional)

Output

xSensorOffsetInDevice

BOOL

Indicates whether sensor calibration must be performed in the device ( TRUE = calibration required in the device, FALSE = calibration required in the FB )

Output

xAlarm

BOOL

Collective fault (TRUE = fault)

Output

xAlarmCom

BOOL

Collective fault - communication (TRUE = fault)

Output

eErrorCodeCom

ModbusErrorCode

Error code - communication (0 = no error)

Output

xBusy

BOOL

Communication indicator (TRUE = communication)

Input Const

rDO1_Setp_Max

REAL

2000.0

Absolute maximum of the setpoint of the two-point controller for the relay output DO1 (depending on the selection of the controlled variable ‘eDO1_ControlVarSelect’ )

Input Const

rDO1_Setp_Min

REAL

0.0

Absolute minimum of the setpoint of the two-point controller for the relay output DO1 (depending on the selection of the controlled variable ‘eDO1_ControlVarSelect’ )

Input Const

eDO1_ControlVarSelect

OPPERMANN_MSX_MOD_I_80_XX_X_XXX_DO1_CONTROL_VARIABLE_SELECTION

OPPERMANN_MSX_MOD_I_80_XX_X_XXX_DO1_CONTROL_VARIABLE_SELECTION.CO2

Selection of the controlled variable of the two-point controller for the relay output DO1

Input Const

rDO1_Setp

REAL

800.0

Setpoint of the two-point controller for the relay output DO1 ( depending on the selection of the controlled variable ‘eDO1_ControlVarSelect’ )

Input Const

eDO1_DirecOfAction

OPPERMANN_MSX_MOD_I_80_XX_X_XXX_DO1_DIRECTION_OF_ACTION

OPPERMANN_MSX_MOD_I_80_XX_X_XXX_DO1_DIRECTION_OF_ACTION.DIRECT_ACTION

Direction of action of the two-point controller for the relay output DO1

Input Const

rDO1_Hysteres

REAL

10.0

Hysteresis of the two-point controller for the relay output DO1 ( in percent of the setpoint ‘rDO1_Setp’ )

Input Const

xEn_DO_Option

BOOL

FALSE

Enable/disable the option ‘1 relay - module’ ( potential-free changeover contact) (TRUE = enabled)

Input Const

xEn_AI_Option

BOOL

FALSE

Enable/disable the option ‘2 analog inputs’ (1.0 - 10.0 V) (TRUE = enabled)

Input Const

tTimeAverageCalc

TIME

TIME#20s0ms

Time constant for calculating averages and for executing controller functions (5 - 122 s)

Input Const

xEnAutoStoreEEPROM

BOOL

FALSE

Enable/disable automatic storage of all setpoints/parameters in EEPROM (FALSE: only via input ‘xStoreParamEEPROM’, TRUE = automatic)

Input Const

rVOC_Max_AOX

REAL

499.0

VOC actual value that forms the maximum of the linear characteristic at the analog output (produces 100.0% = 10.0 V) (0.0 - 500.0)

Input Const

rCO2_Max_AOX

REAL

2000.0

CO2 actual value that forms the maximum of the linear characteristic at the analog output (produces 100.0% = 10.0 V) (0.0 - 5000.0)

Input Const

rCO2_Min_AOX

REAL

0.0

CO2 actual value that forms the minimum of the linear characteristic at the analog output (produces 0.0% = 1.0 V) (0.0 - 5000.0)

Input Const

rRH_Max_AOX

REAL

95.0

Humidity actual value that forms the maximum of the linear characteristic at the analog output (produces 100.0% = 10.0 V) (0.0 - 100.0)

Input Const

rRH_Min_AOX

REAL

0.0

Humidity actual value that forms the minimum of the linear characteristic at the analog output (produces 0.0% = 1.0 V) (0.0 - 100.0)

Input Const

rTemp_Max_AOX

REAL

50.0

Temperature actual value that forms the maximum of the linear characteristic at the analog output (produces 100.0% = 10.0 V) (-25.0 - 50.0)

Input Const

rTemp_Min_AOX

REAL

-25.0

Temperature actual value that forms the minimum of the linear characteristic at the analog output (produces 0.0% = 1.0 V) (-25.0 - 50.0)

Input Const

rRH_Offset

REAL

0.0

Constant measurement offset for the transmitted humidity actual value ( +/- 20.0% RH )

Input Const

rTemp_Offset

REAL

0.0

Constant measurement offset for the transmitted temperature actual value ( +/- 20.0 degrees Celsius )

Input Const

eAO3_Config_Select

OPPERMANN_MSX_MOD_I_80_XX_X_XXX_ANALOG_OUTPUTS_CONFIG

OPPERMANN_MSX_MOD_I_80_XX_X_XXX_ANALOG_OUTPUTS_CONFIG.MANUAL_OUTPUT

Affects: outputs: rTemp, rTemp_Average Configuration of analog output 3 (9 = writable via ‘rAO3_Man’ )

Input Const

eAO2_Config_Select

OPPERMANN_MSX_MOD_I_80_XX_X_XXX_ANALOG_OUTPUTS_CONFIG

OPPERMANN_MSX_MOD_I_80_XX_X_XXX_ANALOG_OUTPUTS_CONFIG.MANUAL_OUTPUT

Configuration of analog output 2 (9 = writable via ‘rAO2_Man’ )

Input Const

eAO1_Config_Select

OPPERMANN_MSX_MOD_I_80_XX_X_XXX_ANALOG_OUTPUTS_CONFIG

OPPERMANN_MSX_MOD_I_80_XX_X_XXX_ANALOG_OUTPUTS_CONFIG.MANUAL_OUTPUT

Configuration of analog output 1 (9 = writable via ‘rAO1_Man’ )

Input Const

tTimeUpdateConfigWrite

TIME

TIME#0ms

Update interval for the operations affected by the input 'xUpdateConfigWrite'

Input Const

tTimeUpdateSetp

TIME

TIME#45s0ms

Update interval for the operations affected by the input 'xUpdateSetp'

Input Const

tTimeUpdateActual

TIME

TIME#3s0ms

Update interval for the operations affected by the input 'xUpdateActual'

Last updated