Description

This function block set is mainly used to control an analog cooling/heating valve. In a two-pipe air conditioning unit coil application, cold water passes through the independent cooling coil in summer to cool space down; hot water passes through the independent heating coil in winter to heat the space up. The valve generates PID output based on the current temperature and setpoint. The function block set 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 "Valve Mode Select" is "0 - MAN (manual)", the output is "Valve Manual Setpoint". If "Valve Mode Select" is "1 - AUTO", the output is the automatic logic value of the application.

Note: PID control of cooling in summer is direct-proportional and that of heating in winter is inverse-proportional.

Function

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

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

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

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

Note: PID control of cooling in summer is direct-proportional and that of heating in winter is inverse-proportional.

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

Internal logic

Input

PIN

Data type

Unit

Default value

Value/range

FAN_CMD

BOOL

-

0

0-OFF / 1-ON

WS_MOD

BOOL

-

0

0-WINTER / 1-SUMMER

FAULT

BOOL

-

0

0-OK / 1-FLT

LLT_ALM

BOOL

-

0

0-OK / 1-FLT

PV

FLOAT

-

0

0...65535

SP

FLOAT

-

0

0...65535

DZ

FLOAT

K

1

0...65535

P

FLOAT

-

10

0...65535

I

FLOAT

s

120

0...65535

MIN

FLOAT

%

0

0...100 %

MAX

FLOAT

%

100

0...100 %

VLV_MOD

BOOL

-

1

0-Manual / 1-AUTO

VLV_MSP

FLOAT

%

0

0...100 %

Output

PIN

Data type

Unit

Default value

Value/range

VLV_CTL

FLOAT

%

-

0...100 %

Example