THERMOKON_WRF07_CO2_VOC

THERMOKON_WRF07_CO2_VOC (FB)

FUNCTION_BLOCK THERMOKON_WRF07_CO2_VOC

General

InOut:

Scope
Name
Type
Initial
Comment

Input

xEn

BOOL

TRUE

Enable / disable communication ( TRUE = enabled )

Input

byUnitId

BYTE

0

Address of the device ( 1 .. 247 ) ( 1 .. 63 via DIP switch, 1 .. 247 via Modbus commands )

Input

xUpdateActual

BOOL

FALSE

Update of actual values (on every rising edge )

Input

xUpdateSetp

BOOL

FALSE

Update of setpoint values (on every rising edge )

Input

xUpdateConfig

BOOL

FALSE

Update of the configuration ( on every rising edge )

Input

xUpdateStates

BOOL

FALSE

Update of the states ( on every rising edge )

Input

xUpdateInfo

BOOL

FALSE

Update of the information ( on every rising edge )

Input

xResDevice

BOOL

FALSE

Reset of the device ( on every rising edge ) (

Input

rSetpTempBase

REAL

22.0

Base setpoint temperature ( degrees Celsius )

Input

xEnOffset

BOOL

FALSE

Enable / disable the influence of the setpoint adjuster ‘rOffset’ on the setpoint temperature ( ‘rSetpTemp’ )

Input

xLED1

BOOL

FALSE

Control of LED1 ( TRUE = On )

Input

xLED2

BOOL

FALSE

Control of LED2 ( TRUE = On )

Input

xLED3

BOOL

FALSE

Control of LED3 ( TRUE = On )

Input

xLED4

BOOL

FALSE

Control of LED4 ( TRUE = On )

Input

xLED5

BOOL

FALSE

Control of LED5 ( TRUE = On )

Input

xLED6

BOOL

FALSE

Control of LED6 ( TRUE = On )

Input

xLED7

BOOL

FALSE

Control of LED7 ( TRUE = On )

Input

xLED8

BOOL

FALSE

Control of LED8 ( TRUE = On )

Input

xLED9

BOOL

FALSE

Control of LED9 ( TRUE = On )

Input

xOverrRoomOccu

BOOL

FALSE

Override of room occupancy ( TRUE = Room occupancy active )

Input

eFanLevelSelect

THERMOKON_WRF07_CO2_VOC_FAN_LEVEL

THERMOKON_WRF07_CO2_VOC_FAN_LEVEL.FAN_LEVEL_AUTO

Selection of the current fan level

Input

xResError

BOOL

FALSE

Reinitialization of the output 'eErrorCodeCom' (on each rising edge)

Inout

ModbusClient

ModbusClientBase

Client of the device

Output

rDeviceType

REAL

Device identification

Output

rSensorAssembly

REAL

Device sensor configuration

Output

rOffset

REAL

Current offset from setpoint - potentiometer in K ( +/- )

Output

rOffsetPercent

REAL

Current offset from setpoint - potentiometer in percent 0.0 = left stop, 100.0 = right stop )

Output

rSetpTemp

REAL

Current setpoint temperature in degrees Celsius

Output

rTemp

REAL

Current room temperature in degrees Celsius or degrees Fahrenheit

Output

rRelHumidity

REAL

Relative room humidity in percent

Output

rCO2

REAL

Current CO2 concentration in ppm

Output

rVOC

REAL

Current VOC value in percent

Output

rCO2_VOC_Mix

REAL

Current CO2-VOC mix value in percent

Output

xSensorOffsetInDevice

BOOL

Indicator whether the calibration of the sensors must be performed in the device (TRUE = calibration in device required, FALSE = calibration in FB required)

Output

rDewPointTemp

REAL

Dew point temperature in degrees Celsius or Fahrenheit

Output

rAbsHumidity

REAL

Absolute room humidity in g/m3 or grain/ft3

Output

rEnthalpy

REAL

Enthalpy in kJ/kg or BTU/lb3

Output

xRoomOccu

BOOL

State of room occupancy ( TRUE = Room is occupied )

Output

xButton1

BOOL

FALSE

Actuation of button 1 ( RAW, pulse with duration ‘tTimeButtonPulse’ )

Output

xButton2

BOOL

FALSE

Actuation of button 2 ( RAW, pulse with duration ‘tTimeButtonPulse’ )

Output

xButton3

BOOL

FALSE

Actuation of button 3 ( RAW, pulse with duration ‘tTimeButtonPulse’ )

Output

xButton4

BOOL

FALSE

Actuation of button 4 ( RAW, pulse with duration ‘tTimeButtonPulse’ )

Output

xButton5

BOOL

FALSE

Actuation of button 5 ( RAW, pulse with duration ‘tTimeButtonPulse’ )

Output

rTLSZone

REAL

Current traffic light zone ( 0.0 = Off, 1.0 = Zone 1, 2.0 = Zone 2, 3.0 = Zone 3 )

Output

rFanLevel

REAL

Current fan level ( 0.0 = Level 0, 1.0 = Level 1, 2.0 = Level 2, 3.0 = Level 3, 4.0 = Automatic )

Output

xDI1

BOOL

FALSE

State of digital input 1 ( assignment depending on function ‘eFunctionDI1’ ) ( FALSE = Open, TRUE = Closed to GND )

Output

xDI2

BOOL

FALSE

State of digital input 2 ( assignment depending on function ‘eFunctionDI2’ ) ( FALSE = Open, TRUE = Closed to GND )

Output

xAlarm

BOOL

FALSE

General fault ( TRUE = fault )

Output

xAlarmCom

BOOL

FALSE

General fault - communication ( TRUE = fault )

Output

eErrorCodeCom

ModbusErrorCode

Error code - communication ( 0 = no error )

Output

xBusy

BOOL

Communication indicator ( TRUE = communication )

Input Const

xEnOverrRoomOccu

BOOL

FALSE

Enable of the input for overriding room occupancy ( TRUE = Override is active )

Input Const

rFanLevelMax

REAL

3.0

Maximum fan level ( 0 - 3, -1.0 = none )

Input Const

rFanLevelMin

REAL

0.0

Minimum fan level ( 0 - 3 )

Input Const

rTLSThreshold_23

REAL

1250.0

Threshold for switching to range 3

Input Const

rTLSThreshold_12

REAL

750.0

Threshold for switching to range 2

Input Const

eTLSSource

THERMOKON_WRF07_CO2_VOC_TLS_SOURCE

THERMOKON_WRF07_CO2_VOC_TLS_SOURCE.CO2

Source ( = sensor value ) for the traffic light function

Input Const

rResDeviceValue

REAL

2.0

Value for the register for device reset ( register 1000 ) ( 1.0 = factory default, 2.0 = restart )

Input Const

eUnit

THERMOKON_WRF07_CO2_VOC_UNIT

THERMOKON_WRF07_CO2_VOC_UNIT.SI

Current unit system of the device

Input Const

rHeightAboveSeaLevel

REAL

400.0

Height of the device above sea level in meters

Input Const

rVOCOffset

REAL

0.0

Offset of the VOC sensor ( for calibration of the VOC sensor ) in percent

Input Const

rCO2Offset

REAL

0.0

Offset of the CO2 sensor ( for calibration of the CO2 sensor ) in ppm

Input Const

rHumidityOffset

REAL

0.0

Offset of the room humidity ( for calibration of the humidity sensor ) in percent

Input Const

rTempOffset

REAL

0.0

Offset of the room temperature ( for calibration of the temperature sensor ) in K

Input Const

eFunctionLED9

THERMOKON_WRF07_CO2_VOC_LED_FUNCTION

THERMOKON_WRF07_CO2_VOC_LED_FUNCTION.EXTERNAL_CONTROL

Function of LED 9

Input Const

eFunctionLED8

THERMOKON_WRF07_CO2_VOC_LED_FUNCTION

THERMOKON_WRF07_CO2_VOC_LED_FUNCTION.EXTERNAL_CONTROL

Function of LED 8

Input Const

eFunctionLED7

THERMOKON_WRF07_CO2_VOC_LED_FUNCTION

THERMOKON_WRF07_CO2_VOC_LED_FUNCTION.EXTERNAL_CONTROL

Function of LED 7

Input Const

eFunctionLED6

THERMOKON_WRF07_CO2_VOC_LED_FUNCTION

THERMOKON_WRF07_CO2_VOC_LED_FUNCTION.EXTERNAL_CONTROL

Function of LED 6

Input Const

eFunctionLED5

THERMOKON_WRF07_CO2_VOC_LED_FUNCTION

THERMOKON_WRF07_CO2_VOC_LED_FUNCTION.EXTERNAL_CONTROL

Function of LED 5

Input Const

eFunctionLED4

THERMOKON_WRF07_CO2_VOC_LED_FUNCTION

THERMOKON_WRF07_CO2_VOC_LED_FUNCTION.EXTERNAL_CONTROL

Function of LED 4

Input Const

eFunctionLED3

THERMOKON_WRF07_CO2_VOC_LED_FUNCTION

THERMOKON_WRF07_CO2_VOC_LED_FUNCTION.EXTERNAL_CONTROL

Function of LED 3

Input Const

eFunctionLED2

THERMOKON_WRF07_CO2_VOC_LED_FUNCTION

THERMOKON_WRF07_CO2_VOC_LED_FUNCTION.EXTERNAL_CONTROL

Function of LED 2

Input Const

eFunctionLED1

THERMOKON_WRF07_CO2_VOC_LED_FUNCTION

THERMOKON_WRF07_CO2_VOC_LED_FUNCTION.EXTERNAL_CONTROL

Function of LED 1

Input Const

eFunctionDI2

THERMOKON_WRF07_CO2_VOC_DIGITAL_INPUT_FUNCTION

THERMOKON_WRF07_CO2_VOC_DIGITAL_INPUT_FUNCTION.NO_SPECIAL_FUNCTION

Function of digital input 2

Input Const

eFunctionDI1

THERMOKON_WRF07_CO2_VOC_DIGITAL_INPUT_FUNCTION

THERMOKON_WRF07_CO2_VOC_DIGITAL_INPUT_FUNCTION.NO_SPECIAL_FUNCTION

Function of digital input 1

Input Const

rOffsetMax

REAL

3.0

Upper limit - setpoint potentiometer ( Kelvin )

Input Const

rOffsetMin

REAL

-3.0

Lower limit - setpoint potentiometer ( Kelvin )

Input Const

rSetpTempMax

REAL

30.0

Absolute maximum - setpoint temperature ( degrees Celsius )

Input Const

rSetpTempMin

REAL

15.0

Absolute minimum - setpoint temperature ( degrees Celsius )

Input Const

tTimeButtonPulse

TIME

TIME#1s0ms

Duration of the pulse at the output if the assigned button was actuated

Input Const

eButton5OutpMode

THERMOKON_WRF07_CO2_VOC_BUTTON_OUTP_MODE

THERMOKON_WRF07_CO2_VOC_BUTTON_OUTP_MODE.RAW

Operating mode of the output ‘xButton1’ ( RAW, PULSE )

Input Const

eButton4OutpMode

THERMOKON_WRF07_CO2_VOC_BUTTON_OUTP_MODE

THERMOKON_WRF07_CO2_VOC_BUTTON_OUTP_MODE.RAW

Operating mode of the output ‘xButton1’ ( RAW, PULSE )

Input Const

eButton3OutpMode

THERMOKON_WRF07_CO2_VOC_BUTTON_OUTP_MODE

THERMOKON_WRF07_CO2_VOC_BUTTON_OUTP_MODE.RAW

Operating mode of the output ‘xButton1’ ( RAW, PULSE )

Input Const

eButton2OutpMode

THERMOKON_WRF07_CO2_VOC_BUTTON_OUTP_MODE

THERMOKON_WRF07_CO2_VOC_BUTTON_OUTP_MODE.RAW

Operating mode of the output ‘xButton1’ ( RAW, PULSE )

Input Const

eButton1OutpMode

THERMOKON_WRF07_CO2_VOC_BUTTON_OUTP_MODE

THERMOKON_WRF07_CO2_VOC_BUTTON_OUTP_MODE.RAW

Operating mode of the output ‘xButton1’ ( RAW, PULSE )

Input Const

eFunctionButton5

THERMOKON_WRF07_CO2_VOC_BUTTON_FUNCTION

THERMOKON_WRF07_CO2_VOC_BUTTON_FUNCTION.NO_SPECIAL_FUNCTION

Function of button 5

Input Const

eFunctionButton4

THERMOKON_WRF07_CO2_VOC_BUTTON_FUNCTION

THERMOKON_WRF07_CO2_VOC_BUTTON_FUNCTION.NO_SPECIAL_FUNCTION

Function of button 4

Input Const

eFunctionButton3

THERMOKON_WRF07_CO2_VOC_BUTTON_FUNCTION

THERMOKON_WRF07_CO2_VOC_BUTTON_FUNCTION.NO_SPECIAL_FUNCTION

Function of button 3

Input Const

eFunctionButton2

THERMOKON_WRF07_CO2_VOC_BUTTON_FUNCTION

THERMOKON_WRF07_CO2_VOC_BUTTON_FUNCTION.NO_SPECIAL_FUNCTION

Function of button 2

Input Const

eFunctionButton1

THERMOKON_WRF07_CO2_VOC_BUTTON_FUNCTION

THERMOKON_WRF07_CO2_VOC_BUTTON_FUNCTION.NO_SPECIAL_FUNCTION

Function of button 1

Input Const

tTimeUpdateInfo

TIME

TIME#0ms

Update interval for the processes influenced by the input ‘xUpdateInfo’

Input Const

tTimeUpdateStates

TIME

TIME#500ms

Update interval for the processes influenced by the input ‘xUpdateStates’

Input Const

tTimeUpdateConfig

TIME

TIME#0ms

Update interval for the processes influenced by the input ‘xUpdateConfig’

Input Const

tTimeUpdateSetp

TIME

TIME#45s0ms

Update interval for operations influenced by the input 'xUpdateSetp'

Input Const

tTimeUpdateActual

TIME

TIME#3s0ms

Update interval for operations influenced by the input 'xUpdateActual'

Last updated