Description

This function block set uses PID to control an analog humidification valve and adjust output proportionally according to the current humidity value and setpoint.

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 "Humidifier Control Mode Select" is "0 - MAN (manual)", the output is "Humidifier Manual Setpoint". If "Humidifier Control 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), "Humidifier Control" is calculated based on PI inverse proportion, ranging from 0 % to "Maximum Output".

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

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

The output priority is: Manual mode > Sensor Fault Alarm > PID calculated output in automatic mode.

Internal logic

Input

PIN

Data type

Unit

Default value

Value/range

FAN_CMD

BOOL

-

 

0-OFF / 1-ON

FAULT

BOOL

-

 

0-OK / 1-FLT

PV

FLOAT

%

0

0...100 %

SP

FLOAT

%

0

0...100 %

DZ

FLOAT

%

10

0...100 %

P

FLOAT

-

10

0...65535

I

FLOAT

s

120

0...65535

MAX

FLOAT

%

100

0...100 %

HUM_MOD

BOOL

-

1

0-Manual / 1-AUTO

HUM_MSP

FLOAT

%

0

0...100 %

Output

PIN

Data type

Unit

Default value

Value/range

HUM_CTL

FLOAT

%

-

0...100 %

Example