Call Leadlag Call Manovr

' assume that it can be turned off. ' see if it is the lead or lag boiler. ' manual override. IF MANOVRFLAG = 1 THEN TURNON = 1 : GOTO 3000 CALL MINTEST ' minimum on/off test.

IF MINFLAG = 1 THEN GOTO 3000 ' TURNON is set in MINTEST ' when MINFLAG is = 1 CALL FREZPROT ' freeze protection override.

IF TURNON = 1 THEN GOTO 3000 CALL MODETEST ' check to see if in heating or non-heating. IF SYSMODE = 1 THEN TURNON = 0 : GOTO 3000

' outside air heat lockout.

IF OATEMP > MAXOATHEAT AND OALFLAG = 1 THEN TURNON = 0 : GOTO 3000 CALL SNOWDAY — IF SNOWDAYFLAG = 1 THEN TOD = 0 : GOTO 2010 CALL OPENHOUSE — IF OPHOUSEFLAG = 1 THEN TOD = 1 : GOTO 2000 CALL ACTIVITY — IF ACTIVITYFLAG = 1 THEN TOD = 1 : GOTO 2000 CALL TOD ' see if its scheduled now.

' load appropriate hot water parameters, call outside air ' reset program to calculate target water temps then call ' the appropriate algorithm to set TURNON variable. 2000 IF TOD = 1 THEN

LOWOAT = OCCLOWOAT : HIGHSWT = OCCHIGHSWT

HIGHOAT = OCCHIGHOAT : LOWSWT = OCCLOWSWT CALL OARESET

' if there is no call for heat, leave boiler off.

IF ACTUALTEMP > HEATSET THEN TURNON = 0 : GOTO 3000 CALL CENTHEAT END IF

2010 IF TOD = O THEN

LOWOAT = UNOCCLOWOAT : HIGHSWT = UNOCCHIGHSWT HIGHOAT = UNOCCHIGHOAT : LOWSWT = UNOCCLOWSWT CALL OARESET

' if there is no call for heat, leave boiler off

IF ACTUALTEMP > SETBACKTEMP THEN TURNON = 0 : GOTO 3000

0 0

Post a comment