TROX_XM0

TROX_XM0 (FB)

FUNCTION_BLOCK TROX_XM0

Representation

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 setpoints (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 - volume flow in % ( 0.0 - 100.0 % ) ( 0.0 % = Vmin, 100.0 % = Vmax )

Inout

ModbusClient

ModbusClientBase

Client of the device

Output

rVnomUnit

REAL

Nominal volume flow in the selected volume flow unit

Output

rVminUnit

REAL

Minimum value - volume flow in the selected volume flow unit

Output

rVmaxUnit

REAL

Maximum value - volume flow in the selected volume 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 volume flow in percent of the nominal volume flow

Output

rVolFlowUnit

REAL

Actual value of the volume flow in the selected volume 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

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

FALSE

Collective fault (TRUE = fault)

Output

xAlarmCom

BOOL

FALSE

Collective 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

Affects: 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 volume flow values ( 1 = m3/h )

Input Const

xSetpVolumeFlowMinMax

BOOL

FALSE

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

Input Const

rSetpVolumeFlowMax

REAL

300.0

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

Input Const

rSetpVolumeFlowMin

REAL

100.0

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

Input Const

tTimeOut

TIME

TIME#10s0ms

Duration for the activation of the state 'communication error'

Input Const

eBusFailureCommand

TROX_XM0_BUS_FAILURE

TROX_XM0_BUS_FAILURE.NO_FAILURE

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

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