DamperAnalog
DamperAnalog (FB)
FUNCTION_BLOCK DamperAnalog
Short description
Control of a continuous damper actuator with continuous position feedback Typical application: Continuous recirculation damper of an HVAC system
Representation

Interfaces
Inputs
rY
REAL
Setpoint - Position
xForce
BOOL
FALSE
Forced override according to manual level
xAlarmIn
BOOL
FALSE
Actuator fault message
rU
REAL
0.0
Feedback of the damper position
eAO
HVACTYPES.eManNum
HVACTYPES.eManNum.Auto, HVACTYPES.eManNum.Man
HVACTYPES.eManBin.Auto
Operating mode of the manual override - hardware
rPoti
REAL
0.0
Manual value of the manual override - hardware
Outputs
rHA
REAL
Actuating signal for damper actuator after manual override
rAA
REAL
Actuating signal for damper actuator before manual override
xAlarmPos
BOOL
Fault message from position monitoring
xAlarm
BOOL
Collective fault
xAuto
BOOL
Collective automatic operation message
Setpoints / Parameters
udiControlTime
UDINT
10s … 600s
150s
Duration of position monitoring
rControlDiff
REAL
7.0 %
Maximum permissible deviation between setpoint and actual position in %
xControl
BOOL
TRUE
Enable position monitoring
xForceOption
BOOL
FALSE
State of the output rHA under forced override
rManValue
REAL
0.0
Manual value
eManModeN
eMANNUM
eMANNUM.Auto, eMANNUM.Man
eMANBIN.Auto
Operating mode of the manual override
Functional description
Actuating signal for damper actuator before manual override rAA
The actuating signal of the damper actuator before manual override rAA is passed through unchanged from the input setpoint - position rY .
Actuating signal for damper actuator after manual override rHA
The actuating signal of the damper actuator after manual override rHA corresponds to the actuating signal of the damper actuator before manual override rAA additionally extended by a manual override module and a forced override.
rAA
eManModeN
xForce
xForceOption
rHA
Notes
X
eMANNUM.Auto
FALSE
X
rAA
Manual override module in automatic mode
X
eMANNUM.Man
FALSE
X
rManValue
Manual override module in manual mode
X
X
TRUE
FALSE
0.0
Forced override 0.0
X
X
TRUE
TRUE
100.0
Forced override 100.0
Legend: X = any
Position monitoring
Position monitoring can be enabled (xControl = TRUE) or disabled (xControl = FALSE). When position monitoring is enabled, the magnitude of the difference between the actuating signal after manual override rHA and the position feedback from the damper actuator rU is determined and compared with the limit value rControlDiff compared. If this difference continuously exceeds the limit value during a reporting delay udiControlTime the limit value, an alarm signal is generated if, at the same time, the feedback - automatic mode eAO signals automatic mode (eAO = HVACTYPES.eManNum.Auto). This alarm signal is transferred to the output xAlarmPos transferred (xAlarmPos = TRUE). The alarm signal is deactivated again (xAlarmPos = FALSE) as soon as the difference falls below the limit value again for the first time.
Collective fault xAlarm
The collective fault xAlarm is activated (= TRUE) if xAlarmPos or the input xAlarmIn is active. In all other cases the collective fault is xAlarm is not activated (= FALSE).
Collective automatic operation message xAuto
The collective automatic operation message xAuto is activated (= TRUE) if the input eAO contains the value HVACTYPES.eManNum.Auto and the setpoint / parameter eManModeN contains the value eMANNUM.Auto. In all other cases, the collective message automatic mode xAuto is not activated (= FALSE).
Forced override xForce
The forced override acts directly on the output rHA. With the parameter xForceOption it is determined which state the output rHA assumes when TRUE is at the input xForce takes. With xForceOption = FALSE If the input xForce is TRUE, then the output rHA is set to 0. For xForceOption = TRUE If the input xForce is TRUE, then the output rHA set to 100.
CODESYS
InOut:
Input
rY
REAL
Input
xForce
BOOL
FALSE
Input
xAlarmIn
BOOL
FALSE
Input
rU
REAL
0
Input
eAO
eManNum
eManNum.Auto
Input
rPoti
REAL
0
Output
rHA
REAL
Output
rAA
REAL
Output
xAlarmPos
BOOL
Output
xAlarm
BOOL
Output
xAuto
BOOL
Input Const
udiControlTime
UDINT
200
Input Const
rControlDiff
REAL
7
Input Const
xControl
BOOL
TRUE
Input Const
xForceOption
BOOL
FALSE
Input Const
rManValue
REAL
0
Input Const
eManModeN
eMANNUM
eMANNUM.Auto
Last updated

