Appendix B. Example Programs
B-20
'SR50ATH heater control. Voltage must be above 11.7 vdc and the
'air temperature less than 2°C to turn on the heater.
If
BattV >= 11.7
Then
If
AirTempC <= 2
Then
HtrCntrl = True
If
AirTempC > 3
Then
HtrCntrl = False
Else
HtrCntrl = False
EndIf
SW12
(1,HtrCntrl)
'Call Data Tables and Store Data
CallTable
Daily
CallTable
Hour
NextScan
EndProg