TROX_XM0

TROX_XM0 (FB)

FUNCTION_BLOCK TROX_XM0

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

xResError

BOOL

FALSE

Reinitialization of the outputs 'eErrorCodeCom' and 'xErrorCodeDev' to the error-free state (on each rising edge)

Input

rSetpVolFlowPerc

REAL

0.0

Setpoint - volumetric flow in % (0.0 - 100.0 %) (0.0 % = Vmin, 100.0 % = Vmax)

Inout

ModbusClient

ModbusClientBase

Client of the device

Output

rVnomUnit

REAL

Nominal volumetric flow in the selected volumetric flow unit

Output

rVminUnit

REAL

Minimum value - volumetric flow in the selected volumetric flow unit

Output

rVmaxUnit

REAL

Maximum value - volumetric flow in the selected volumetric flow unit

Output

rDamperPosPerc

REAL

Absolute position of the damper in percent (0.0% = Closed, 100.0% = Open)

Output

rDamperPosDegree

REAL

Absolute position of the damper in degrees

Output

rVolFlowPerc

REAL

Actual value of the volumetric flow in percent of the nominal volumetric flow

Output

rVolFlowUnit

REAL

Actual value of the volumetric flow in the selected volumetric flow unit

Output

eSetpSourceFb

TROX_XM0_SETP_SOURCE

Feedback of the source for the setpoint (2 = bus)

Output

rSensorValue

REAL

Current actual value of the sensor in mV

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

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

stErrorCodeDev

STRING

String with the numbers of the active device errors

Output

xBusy

BOOL

Communication indicator ( TRUE = communication )

Input Const

rSensorValueOffset

REAL

0.0

Constant measurement offset for the transmitted voltage actual value

Input Const

eSetpSource

TROX_XM0_SETP_SOURCE

TROX_XM0_SETP_SOURCE.BUS_IN_BUS_OUT

Influence: Outputs: rSensorValue Source for the setpoint (2 = bus)

Input Const

eOverrideCon

TROX_XM0_OVERRIDE_CON

TROX_XM0_OVERRIDE_CON.NO_OVERRIDE

Forced override of the air damper (0 = none)

Input Const

eCommand

TROX_XM0_COMMAND

TROX_XM0_COMMAND.NO_COMMAND

Triggering of test functions (0 = none)

Input Const

eVolumeFlowUnit

TROX_XM0_VOLUMEFLOW_UNIT

TROX_XM0_VOLUMEFLOW_UNIT.M3_PER_H

Unit for the absolute volumetric flow values (1 = m3/h)

Input Const

xSetpVolumeFlowMinMax

BOOL

FALSE

Triggering the transmission of the parameters ‘rSetpVolumeFlowMin’ and ‘rSetpVolumeFlowMax’ (on every rising edge)

Input Const

rSetpVolumeFlowMax

REAL

300.0

Setpoint for the maximum volumetric flow in the selected volumetric flow unit (when rSetpVolFlowPerc = 100.0 %)

Input Const

rSetpVolumeFlowMin

REAL

100.0

Setpoint for the minimum volumetric flow in the selected volumetric flow unit (when rSetpVolFlowPerc = 0.0 %)

Input Const

tTimeOut

TIME

TIME#10s0ms

Duration for activating the state 'communication failure'

Input Const

eBusFailureCommand

TROX_XM0_BUS_FAILURE

TROX_XM0_BUS_FAILURE.NO_FAILURE

Specification of behavior in case of a bus failure (0 = no action)

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