Hi Roger,
Thanks for the continued help I was able to get the program to work after making some minor adjustments to the code.
The problem I have now, is that my first alarm to turn on the heater is not working while the alarm to turn it off instead turns on the heater as the first alarm does not work. The heater would then only turn off when it reaches the second alarm again.
I have measured this signal using a multimeter and found that the first relay signal is not as loud or long enough compared to the relay signal that is used to turn the heater off.
I was wondering if there is a way fix this problem? The code that I am using is below.
'JOB=JOB1
'COMPILED=2011/03/01 15:38:42
'TYPE=dt80
DT=\d
001: BEGIN"JOB1"
002: CATTN
003: 'Spans and polynomial declarations
004: 'Thermistor declarations
005: 'Switches declarations
006: 'Parameter declarations
007: 'Global declarations
008: RS1S
009: 'schedule definition
010:
011: 1CV=0
012: 'schedule definition
013: RA("B:",ALARMS:OV:100KB,DATA:OV:1MB)1S LOGONA GA
014: 4TK
015: 1CV=1CV+1
016: ALARM1(1CV><1.0000,2.0000)1RELAY
017: ALARM2(1CV><16.0000,17.0000)1RELAY
018: ALARM3(1CV>900.0000){[1CV=0]}
019: END
'end of program file
Regards,
James
Hi Roger,
Thanks for the continued help I was able to get the program to work after making some minor adjustments to the code.
The problem I have now, is that my first alarm to turn on the heater is not working while the alarm to turn it off instead turns on the heater as the first alarm does not work. The heater would then only turn off when it reaches the second alarm again.
I have measured this signal using a multimeter and found that the first relay signal is not as loud or long enough compared to the relay signal that is used to turn the heater off.
I was wondering if there is a way fix this problem? The code that I am using is below.
````
'JOB=JOB1
'COMPILED=2011/03/01 15:38:42
'TYPE=dt80
DT=\d
001: BEGIN"JOB1"
002: CATTN
003: 'Spans and polynomial declarations
004: 'Thermistor declarations
005: 'Switches declarations
006: 'Parameter declarations
007: 'Global declarations
008: RS1S
009: 'schedule definition
010:
011: 1CV=0
012: 'schedule definition
013: RA("B:",ALARMS:OV:100KB,DATA:OV:1MB)1S LOGONA GA
014: 4TK
015: 1CV=1CV+1
016: ALARM1(1CV><1.0000,2.0000)1RELAY
017: ALARM2(1CV><16.0000,17.0000)1RELAY
018: ALARM3(1CV>900.0000){[1CV=0]}
019: END
'end of program file
````
Regards,
James