Runtime Error

hopkisag1

New member
Why do I always get a runtime error when I try to update my AC Jr. program in Aqua Notes. I have the latest version of Aqua Notes, and the latest firmware upgrade. It is just bad software or am I doing something wrong?
 
;equipment variables
RT1#-A01
FUG$-A02
MFN&-A03
MH1$-A04
MON$-A05
PH1#-A06
SKM#-A07
HET%-A08
DAY&-A09
HT1&-A10
HT2&-A11
SKS&-A12

;program
If Time > 00:00 Then RT1 ON
If Time > 00:00 Then PH1 ON
If Time > 00:00 Then SKM ON
If Time > 00:00 Then FUG ON
If Timer MH1 = ON Then MFN ON
If Timer MH1 = OFF Then MFN OFF
If Time > 12:00 Then MH1 ON
If Time > 21:00 Then MH1 OFF
If Time > 12:00 Then MON OFF
If Time > 21:00 Then MON ON
If Time > 10:00 Then DAY ON
If Time > 19:00 Then DAY OFF
If Tmp < 80.0 Then HT1 ON
If Tmp > 80.2 Then HT1 OFF
If Timer DAY = ON Then HT1 OFF
If Tmp < 81.2 Then HT2 ON
If Tmp > 81.4 Then HT2 OFF
If Timer DAY = OFF Then HT2 OFF
If Time > 00:00 Then HET OFF
If Timer HT1 = ON Then HET ON
If Timer HT2 = ON Then HET ON
If Tmp > 83.0 Then FUG OFF
If Tmp > 84.5 Then MH1 OFF
Max Change 060 M Then MH1 OFF
If Tmp > 85.0 Then SKM OFF
If Time > 00:00 Then SKS ON
If Feed cycle Then SKS OFF
If Timer SKS = OFF Then SKM OFF
Max Change 060 M Then SKM OFF
If Tmp < 50.0 Then HET OFF
If Feed cycle Then RT1 OFF
If Feed cycle Then PH1 OFF
If Power Fail Then SKM OFF

I am running the latest firmware for the AC Jr, and the newest Aqua Notes software.
 
I see a couple of things that could be giving you trouble based with the latest firmware and software. These recommendations are based on what we use with our ACIII, but I think the core of the code is the same.

With the recent firmware, the TMP is not used. Try changing your TMP to TEMP;
If Temp > 83.0 Then FUG OFF

You need to define the Feed cycle in your command. Try changing your Feed cycle to look like this;
If FeedA 000 Then SKS OFF

You can use FeedA, FeedB, FeedC, and FeedD

Change your Power commands to look like this;
If Power 000 Then RT1 OFF

You can vary the 000 field to delay the restart. For example, a command like: If Power 005 Then RT1 OFF would keep the RT1 off for 5 minutes after power is restored.

Give it a shot and let us know...

-Doug
 
I just tried this one, pretty stripped down and basic.

RT1#-A01
FUG$-A02
MFN&-A03
MH1$-A04
MON$-A05
PH1#-A06
SKM#-A07
HET%-A08



If Time > 00:00 Then RT1 ON
If Time > 00:00 Then PH1 ON
If Time > 00:00 Then SKM ON
If Time > 00:00 Then FUG ON
If Timer MH1 = ON Then MFN ON
If Timer MH1 = OFF Then MFN OFF
If Time > 12:00 Then MH1 ON
If Time > 21:00 Then MH1 OFF
If Time > 12:00 Then MON OFF
If Time > 21:00 Then MON ON
If Time > 10:00 Then DAY ON
If Time > 19:00 Then DAY OFF
If TEMP < 80.0 Then HT1 ON
If TEMP > 80.2 Then HT1 OFF
If TEMP > 83.0 Then FUG OFF
If TEMP > 84.5 Then MH1 OFF
Max Change 060 M Then MH1 OFF
If TEMP > 85.0 Then SKM OFF
If Time > 00:00 Then SKS ON
If TEMP < 50.0 Then HET OFF


But when I hit the Update button in AquaNotes I get this error.

Runtime Error '5'
Invalid Procedure Call or Argument
 
This might be it... You reference a DAY timer, but you don't declare one in your timer list.

If Time > 10:00 Then DAY ON
If Time > 19:00 Then DAY OFF


Add a dummy timer in your timer list for DAY.
i.e. DAY&-A09

You also reference a HT1 timer that doesn't exist. I think you meant to reference HET as you have it declared in your timer list.

If TEMP < 80.0 Then HT1 ON
If TEMP > 80.2 Then HT1 OFF
 
power command

power command

I tried one of the statements that included the power command. My ac3 responded invalid command. I have a 2 week old unit that has version 3.20S - 1A07 . Is there a newer version needed.
Thanks
Mark
 
Are you running the most current version of Aquanotes or programming on the controller?

What did the statement look like?

-Doug
 
I think that the initial crash was caused by a bug in version 3.4a. If the first timer name is different than the one programmed in the AquaController, then AquaNotes would crash when trying to update the program. Try this version of AquaNotes: www.neptunesys.com/AquaNotes_3_4f.zip .
For the power statement problem please post the program you are trying to put into the controller.

Curt
 
Back
Top