SYSTEMAIR_SAVE_CONTROL

SYSTEMAIR_SAVE_CONTROL (FB)

FUNCTION_BLOCK SYSTEMAIR_SAVE_CONTROL

InOut:

Scope
Name
Type
Initial
Comment

Input

xEn

BOOL

TRUE

Enable / disable communication ( TRUE = enabled )

Input

byUnitId

BYTE

0

Address of the device

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

eOpMode

SYSTEMAIR_SAVE_CONTROL_OP_MODE

SYSTEMAIR_SAVE_CONTROL_OP_MODE.AUTO

Device operating mode — default

Input

arwSpFan_Percent

ARRAY [1..10] OF WORD

[16, 16, 16, 16, 16, 16, 16, 16, 16, 16]

Setpoints (percent) of the fans at the individual fan levels (MIN, LOW, NORMAL, HIGH, MAX) arwSpFan_Percent[1] = Setpoint - supply air fan at level MIN (range: 16 … 100) arwSpFan_Percent[2] = Setpoint - exhaust air fan at level MIN (range: 16 … 100) arwSpFan_Percent[3] = Setpoint - supply air fan at level LOW (range: 16 … 100) arwSpFan_Percent[4] = Setpoint - exhaust air fan at level LOW (range: 16 … 100) arwSpFan_Percent[5] = Setpoint - supply air fan at level NORMAL (range: 16 … 100) arwSpFan_Percent[6] = Setpoint - exhaust air fan at level NORMAL (range: 16 … 100) arwSpFan_Percent[7] = Setpoint - supply air fan at level HIGH (range: 16 … 100) arwSpFan_Percent[8] = Setpoint - exhaust air fan at level HIGH (range: 16 … 100) arwSpFan_Percent[9] = Setpoint - supply air fan at level MAX (range: 16 … 100) arwSpFan_Percent[10] = Setpoint - exhaust air fan at level MAX (range: 16 … 100)

Input

arwSpFan_UPM

ARRAY [1..10] OF WORD

[500, 500, 500, 500, 500, 500, 500, 500, 500, 500]

Setpoints (RPM) of the fans at the individual fan levels (MIN, LOW, NORMAL, HIGH, MAX) arwSpFan_UPM[1] = Setpoint - supply air fan at level MIN (range: 500 … 5000) arwSpFan_UPM[2] = Setpoint - exhaust air fan at level MIN (range: 500 … 5000) arwSpFan_UPM[3] = Setpoint - supply air fan at level LOW (range: 500 … 5000) arwSpFan_UPM[4] = Setpoint - exhaust air fan at level LOW (range: 500 … 5000) arwSpFan_UPM[5] = Setpoint - supply air fan at level NORMAL (range: 500 … 5000) arwSpFan_UPM[6] = Setpoint - exhaust air fan at level NORMAL (range: 500 … 5000) arwSpFan_UPM[7] = Setpoint - supply air fan at level HIGH (range: 500 … 5000) arwSpFan_UPM[8] = Setpoint - exhaust air fan at level HIGH (range: 500 … 5000) arwSpFan_UPM[9] = Setpoint - supply air fan at level MAX (range: 500 … 5000) arwSpFan_UPM[10] = Setpoint - exhaust air fan at level MAX (range: 500 … 5000)

Input

arwSpFan_Pressure

ARRAY [1..10] OF WORD

[0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

Setpoints (pressure) of the fans at the individual fan levels (MIN, LOW, NORMAL, HIGH, MAX) arwSpFan_Pressure[1] = Setpoint - supply air fan at level MIN (range: unknown) arwSpFan_Pressure[2] = Setpoint - exhaust air fan at level MIN (range: unknown) arwSpFan_Pressure[3] = Setpoint - supply air fan at level LOW (range: unknown) arwSpFan_Pressure[4] = Setpoint - exhaust air fan at level LOW (range: unknown) arwSpFan_Pressure[5] = Setpoint - supply air fan at level NORMAL (range: unknown) arwSpFan_Pressure[6] = Setpoint - exhaust air fan at level NORMAL (range: unknown) arwSpFan_Pressure[7] = Setpoint - supply air fan at level HIGH (range: unknown) arwSpFan_Pressure[8] = Setpoint - exhaust air fan at level HIGH (range: unknown) arwSpFan_Pressure[9] = Setpoint - supply air fan at level MAX (range: unknown) arwSpFan_Pressure[10] = Setpoint - exhaust air fan at level MAX (range: unknown)

Input

arwSpFan_VolumeFlow

ARRAY [1..10] OF WORD

[0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

Setpoints (volume flow) of the fans at the individual fan levels (MIN, LOW, NORMAL, HIGH, MAX) arwSpFan_VolumeFlow[1] = Setpoint - supply air fan at level MIN (range: unknown) arwSpFan_VolumeFlow[2] = Setpoint - exhaust air fan at level MIN (range: unknown) arwSpFan_VolumeFlow[3] = Setpoint - supply air fan at level LOW (range: unknown) arwSpFan_VolumeFlow[4] = Setpoint - exhaust air fan at level LOW (range: unknown) arwSpFan_VolumeFlow[5] = Setpoint - supply air fan at level NORMAL (range: unknown) arwSpFan_VolumeFlow[6] = Setpoint - exhaust air fan at level NORMAL (range: unknown) arwSpFan_VolumeFlow[7] = Setpoint - supply air fan at level HIGH (range: unknown) arwSpFan_VolumeFlow[8] = Setpoint - exhaust air fan at level HIGH (range: unknown) arwSpFan_VolumeFlow[9] = Setpoint - supply air fan at level MAX (range: unknown) arwSpFan_VolumeFlow[10] = Setpoint - exhaust air fan at level MAX (range: unknown)

Input

rSpTemp

REAL

22.0

Setpoint - temperature (supply air, exhaust air, room) (range: 12.0 - 30.0 degrees Celsius)

Input

rSpSupplyTempMin

REAL

18.0

Minimum value - supply air temperature (range: 12.0 - 40.0 degrees Celsius)

Input

rSpSupplyTempMax

REAL

30.0

Maximum value - supply air temperature (range: 12.0 - 40.0 degrees Celsius)

Input

xFilterReset

BOOL

FALSE

Filter reset status (TRUE = active)

Input

xResError

BOOL

FALSE

Reinitialization of the outputs ‘eErrorCodeCom’ to the no-error state (on each rising edge)

Inout

ModbusClient

ModbusClientBase

Client of the device

Output

eOpModeFb

SYSTEMAIR_SAVE_CONTROL_OP_MODE_FB

Device operating mode — feedback

Output

xOperation

BOOL

Device operation indicator (TRUE = operating)

Output

rSpSupplyFan_Min

REAL

Setpoint - supply air fan at Minimum level (percent, RPM, pressure, volume flow)

Output

rSpExhausFan_Min

REAL

Setpoint - exhaust air fan at Minimum level (percent, RPM, pressure, volume flow)

Output

rSpSupplyFan_Low

REAL

Setpoint - supply air fan at Low level (percent, RPM, pressure, volume flow)

Output

rSpExhausFan_Low

REAL

Setpoint - exhaust air fan at Low level (percent, RPM, pressure, volume flow)

Output

rSpSupplyFan_Nor

REAL

Setpoint - supply air fan at Normal level (percent, RPM, pressure, volume flow)

Output

rSpExhausFan_Nor

REAL

Setpoint - exhaust air fan at Normal level (percent, RPM, pressure, volume flow)

Output

rSpSupplyFan_Hig

REAL

Setpoint - supply air fan at High level (percent, RPM, pressure, volume flow)

Output

rSpExhausFan_Hig

REAL

Setpoint - exhaust air fan at High level (percent, RPM, pressure, volume flow)

Output

rSpSupplyFan_Max

REAL

Setpoint - supply air fan at Maximum level (percent, RPM, pressure, volume flow)

Output

rSpExhausFan_Max

REAL

Setpoint - exhaust air fan at Maximum level (percent, RPM, pressure, volume flow)

Output

rRotSpeedSupFan

REAL

Current rotational speed of the supply air fan in 1/min ( tachometer signal, 0 - 5000)

Output

rRotSpeedExhFan

REAL

Current rotational speed of the exhaust air fan in 1/min ( tachometer signal, 0 - 5000)

Output

rSpSupplyAirTemp

REAL

Current supply air setpoint temperature (12.0 - 30.0 degrees Celsius)

Output

rAntifreezeSig

REAL

Actual value - antifreeze sensor (-40.0 - +80.0 degrees Celsius)

Output

rTempOda

REAL

Current outside temperature (-40.0 - +80.0 degrees Celsius)

Output

rSupplyAirTemp

REAL

Current supply air temperature (-40.0 - +80.0 degrees Celsius)

Output

rRoomTemp

REAL

Current room temperature (-40.0 - +80.0 degrees Celsius)

Output

rOverHeatTemp

REAL

Current overtemperature in the electric reheat coil (-40.0 - +80.0 degrees Celsius)

Output

rExhaustAirTemp

REAL

Current exhaust air temperature (-40.0 - +80.0 degrees Celsius)

Output

rContSigHeatRec

REAL

Control signal - heat recovery unit or bypass (0 - 100%)

Output

rContSigReHeat

REAL

Control signal - reheat coil (0 - 100%)

Output

xFilterMainten

BOOL

Actual value - filter maintenance indicator (TRUE = maintenance required )

Output

xFireAlarm

BOOL

Actual value - fire alarm (smoke detector) (TRUE = alarm active)

Output

xErrorDevice_A

BOOL

Alarm output - fault messages - Alarm A (TRUE = fault active)

Output

xErrorDevice_B

BOOL

Alarm output - fault messages - Alarm B (TRUE = fault active)

Output

xErrorDevice_C

BOOL

Alarm output - fault messages - Alarm C (TRUE = fault active)

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

eSpFanMode

SYSTEMAIR_SAVE_CONTROL_SP_FAN_MODE

SYSTEMAIR_SAVE_CONTROL_SP_FAN_MODE.PERCENT

Operating mode for fan setpoints Selecting this operating mode determines which array is monitored for setpoint changes. Example: eSpFanMode = SYSTEMAIR_SAVE_CONTROL_SP_FAN_MODE.PERCENT The array ‘arwSpFan_Percent’ is monitored for changes and transmitted if necessary.

Input Const

eExhaustAirFanLevel

SYSTEMAIR_SAVE_CONTROL_EXHAUST_AIR_FAN_LEVEL

SYSTEMAIR_SAVE_CONTROL_EXHAUST_AIR_FAN_LEVEL.NORMAL

Fan level of the exhaust air fan in manual operation

Input Const

eSupplyAirFanLevel

SYSTEMAIR_SAVE_CONTROL_SUPPLY_AIR_FAN_LEVEL

SYSTEMAIR_SAVE_CONTROL_SUPPLY_AIR_FAN_LEVEL.NORMAL

Fan level of the supply air fan in manual operation

Input Const

diAdrOffset

DINT

0

Offset for calculating Modbus addresses (from the Modbus registers) (permissible range: -1, 0, +1)

Input Const

tTimeUpdateSetp

TIME

TIME#45s0ms

Update interval for operations influenced by the input 'xUpdateSetp'

Input Const

tTimeUpdateActual

TIME

TIME#10s0ms

Update interval for operations influenced by the input 'xUpdateActual'

Last updated