Help Needed - Please check my program!

TexanCanuck

Active Member
View Badges
Joined
Feb 10, 2021
Messages
277
Reaction score
259
Location
Dallas, TX
Rating - 0%
0   0   0
Thanks in advance for reading through my issue and telling me what I'm doing wrong!

OBJECTIVE:
  • I have TWO Neptune AFS units mounted above my aquarium (in case it matters, an AquaBus cable connects the Right unit to the Apex directly, and the Left unit is daisy-chained to the Right unit)
  • I'm trying to program them to feed TWO rotations, TWICE a day
  • I also want to have the option to manually initiate an AFS feed cycle (2 rotations) by pressing "FeedC"
MY APPROACH
  • Use a Virtual Outlet "F_Timer" to control when the automatic feed cycles start, and initiate manual feed cycle
  • Use two additional Virtual Outlets "StartAFS" and "StopAFS" to control how many rotations both the AFS units operate on each cycle
  • Using a simple OSC command plus the status of the two VOs on the Outlet for each AFS unit "Feeder_Left" and "Feeder_Right"
MY PROBLEM
  • Everything seems to work as planned for the LEFT feeder, but the RIGHT feeder does nothing!
  • Fusion shows that both modules are connected and "OK" ... I've checked the physical cabling, and that both units have the latest firmware
  • I suspect this is a programming issue, because when I check the Output Log, there is no log entry showing a command to turn on the right unit
MY CODE

Virtual Outlet: F_Timer
Set OFF
If Time 11:00 to 11:03 Then ON
If Time 16:00 to 16:03 Then ON
If FeedC 000 Then ON

Virtual Outlet: StartAFS
Set OFF
If Output F_Timer = ON Then ON
Defer 001:00 Then ON

Virtual Outlet: StopAFS
Set OFF
If Output F_Timer = ON Then ON
Defer 002:30 Then ON

Physical Outlet: Feeder_Left
OSC 000:00/000:30/000:30 Then ON
If Output StartAFS = OFF Then OFF
If Output StopAFS = ON Then OFF

Physical Outlet: Feeder_Right
OSC 000:00/000:30/000:30 Then ON
If Output StartAFS = OFF Then OFF
If Output StopAFS = ON Then OFF

Physical Outlet: Return_Right (note - same program for the Left return pump)
Fallback ON
tdata 00:00:00,0,0,50,0,0,0,0,0,0,0,0,0,0
tdata 23:23:00,0,0,50,0,0,0,0,0,0,0,0,0,0
If FeedA 000 Then OFF
If FeedB 000 Then OFF
If Output F_Timer = ON Then OFF

OUTPUT LOG (on activating Feed C) Note: ignore the line items for "leftandRIght" ... this is another virtual outlet I use to turn both my main and auxiliary heating elements off if both the left and right return pumps are off. And the UV units plumbed into the discharge of each return pumps also have code to turn off the lamp if their respective return pump is off

1232021-04-09
20:20:30
F_Timer
ON
1242021-04-09
20:20:31
Return_Right
OFF
1252021-04-09
20:20:31
Return_Left
OFF
1262021-04-09
20:20:31
LeftAndRight
ON
1272021-04-09
20:20:31
Heater_Main
OFF
1282021-04-09
20:20:31
UV_left
OFF
1292021-04-09
20:20:31
UV_Right
OFF
1302021-04-09
20:21:30
StartAFS
ON
1312021-04-09
20:22:00
Feeder_Left
ON
1322021-04-09
20:22:30
Feeder_Left
OFF
1332021-04-09
20:23:00
StopAFS
ON
1342021-04-09
20:23:02
F_Timer
OFF
1352021-04-09
20:23:02
StartAFS
OFF
1362021-04-09
20:23:02
StopAFS
OFF
1372021-04-09
20:23:02
Return_Right
TBL
1382021-04-09
20:23:02
Return_Left
TBL
1392021-04-09
20:23:02
LeftAndRight
OFF
1402021-04-09
20:23:02
Heater_Main
ON

(there are additional log entries for UV units coming back on but I deleted them for brevity)

As you can see, there are no log entries for the "Feeder_Right" AFS unit, even though it has identical code to the left unit.

So - what am I missing?

Why does my second AFS unit not operate like the first one does?
 

SuncrestReef

That Apex guy
View Badges
Joined
Jan 18, 2018
Messages
4,214
Reaction score
9,217
Location
Oregon
Rating - 0%
0   0   0
Two questions:

1. Does Feeder_Right rotate if you manually move the slider to ON?
2. Do you have logging enabled for Feeder_Right?
 
OP
OP
TexanCanuck

TexanCanuck

Active Member
View Badges
Joined
Feb 10, 2021
Messages
277
Reaction score
259
Location
Dallas, TX
Rating - 0%
0   0   0
YES - Feeder_Right works if I manually move the slider to ON
YES - Logging is enabled on Feeder_Right
 

SuncrestReef

That Apex guy
View Badges
Joined
Jan 18, 2018
Messages
4,214
Reaction score
9,217
Location
Oregon
Rating - 0%
0   0   0
All the code looks correct to me.

However, I know there's a glitch in the Apex when you name any outputs beginning with the word "Feed" because it confuses it with the actual FeedA/B/C/D keywords, and that can cause unexplained malfunctions. I'd recommend renaming your "Feeder_*" outputs to something like "AFS_Left" and "AFS_Right", save the changes, then reboot the Apex to reload the corrected config.
 

High pressure shells: Do you look for signs of stress in the invertebrates in your reef tank?

  • I regularly look for signs of invertebrate stress in my reef tank.

    Votes: 31 31.3%
  • I occasionally look for signs of invertebrate stress in my reef tank.

    Votes: 25 25.3%
  • I rarely look for signs of invertebrate stress in my reef tank.

    Votes: 18 18.2%
  • I never look for signs of invertebrate stress in my reef tank.

    Votes: 25 25.3%
  • Other.

    Votes: 0 0.0%
Back
Top