TROX_XM0

TROX_XM0 (FB)

FUNCTION_BLOCK TROX_XM0

Representation

InOut:

Scope
Name
Type
Initial
Comment

Input

xEn

BOOL

TRUE

Enable / disable communication (TRUE = enable)

Input

byUnitId

BYTE

0

Device address

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 or xErrorCodeDev to the fault-free state (on every 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

Rated 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 air damper in percent (0.0% = Closed, 100.0% = Open)

Output

rDamperPosDegree

REAL

Absolute position of the air damper in degrees

Output

rVolFlowPerc

REAL

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

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

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 measured value 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 specification of the absolute volume flows (1 = m3/h)

Input Const

xSetpVolumeFlowMinMax

BOOL

FALSE

Triggering the transfer 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 (at rSetpVolFlowPerc = 100.0 %)

Input Const

rSetpVolumeFlowMin

REAL

100.0

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

Input Const

tTimeOut

TIME

TIME#10s0ms

Duration for activation of the state Communication error

Input Const

eBusFailureCommand

TROX_XM0_BUS_FAILURE

TROX_XM0_BUS_FAILURE.NO_FAILURE

Definition of the behavior in the event of a bus failure (0 = no action)

Input Const

tTimeUpdateSetp

TIME

TIME#45s0ms

Update interval for the processes influenced by the input xUpdateSetp influenced

Input Const

tTimeUpdateActual

TIME

TIME#3s0ms

Update interval for the processes influenced by the input xUpdateActual influenced

Last updated