Description

This function block set uses PID to control an analog heating valve in four-pipe air conditioning unit coil application: When hot water passes through the independent heating coil, the heating valve adjusts output counter-proportionally according to the current temperature value and setpoint. It also has a low limit temperature protection function, which requires the heating valve to be fully open for winter heat and freeze protection.

Of all the inputs, Fault Alarm is generated from a PID-adjustable primary sensor. Once there is such an alarm, the PID-calculated output is 0 %.

This set also has a manually override function. If "Heating Valve Mode Select" is "0 - MAN (manual)", the output is "Heating Valve Manual Setpoint". If "Heating Valve Mode Select" is "1 - AUTO", the output is the automatic logic value of the application.

Function

When "Fan Command" is "1" (0-OFF/1-ON) and "Sensor Fault Alarm" is "0" (0-OK/1-FLT), "Heating Valve Adjustment Control" is calculated based on PI inverse proportion, ranging from 0 % to "Maximum Output".

At any time when "Heating Valve Mode Select" is "0" (0-MAN/1-AUTO), "Heating Valve Adjustment Control" is "Valve Manual Setpoint".

When heating valve is working and "Low Limit Temperature" is "1", "Heating Valve Adjustment Control" is 100 %.

When "Fan Command" is "0" (0-OFF/1-ON) or "Sensor Fault Alarm" is "1" (0-OK/1-FLT), "Heating Valve Adjustment Control" is 0 %.

The output priority is: Low limit temperature protection > Manual mode > Sensor fault alarm > Normal PID calculation output in automatic mode.

Internal logic

Input

PIN

Data type

Unit

Default value

Value/range

FAN_CMD

BOOL

-

0

0-OFF / 1-ON

FAULT

BOOL

-

0

0-OK / 1-FLT

LLT_ALM

BOOL

-

0

0-OK / 1-FLT

PV

FLOAT

°C

0

0...65535

SP

FLOAT

°C

0

0...65535

P

FLOAT

-

10

0...65535

I

FLOAT

s

120

0...65535

MAX

FLOAT

%

100

0...100 %

HV_MOD

BOOL

-

1

0-Manual / 1-AUTO

HV_MSP

FLOAT

%

0

0...100 %

Output

PIN

Data type

Unit

Default value

Value/range

HV_CTL

FLOAT

%

-

0...100 %

Example