Implementing a on-off control with deadband using RTES

Variables

Digital Output : HEATER

Analog Input : TEMP

Set point registers : MIN, MAX

Rules

RULE HEATER=(HEATER!(TEMP<MIN))&(TEMP<MAX)

Notes

This is the same form as 3-wire Start/Stop (MEMORY). START and STOP are replaced by expressions.

You may want to set MIN and MAX automatically, based on a % of set point.

RULE MIN=0.85*SETPOINT

RULE MAX=1.15*SETPOINT

You may want to make the +/- 15% a variable instead.

RULE MIN=(1-DELTA)*SETPOINT

RULE MAX=(1+DELTA)*SETPOINT

DELTA could change automatically based on the time of day (occupancy)

RULE OCCUP=(HOUR$>6)&(HOUR$<20)

RULE DELTA=0.15*OCCUP+0.30*(OCCUP’)