Originally Posted by
echoblue3
Hello
I am new to using Neptune Apex and I am using a Classic Apex and DOS as an automatic frozen food feeder for a Seahorse tank. I think my programming code is close to what I want but I am missing something simple. I am looking for programming to DOS a different profile each day of the week. The reason behind this is for a 7 day period I want it to do a little more each day on a 7 day cycle as the food concentration goes down a little each day. I am hoping someone call help tell me where I messed up.
Example of current prototype code:
Set OFF
If Time 08:00 to 08:01 Then MonDosMix
If Time 08:02 to 08:03 Then MonDosFeed
If Time 08:04 to 08:05 Then MonDosFlush
If Time 12:00 to 12:01 Then MonDosMix
If Time 12:02 to 12:03 Then MonDosFeed
If Time 12:04 to 12:05 Then MonDosFlush
If Time 18:00 to 18:01 Then MonDosMix
If Time 18:02 to 18:03 Then MonDosFeed
If Time 18:04 to 18:05 Then MonDosFlush
If FeedD 003 Then MonDosFlush
If FeedD 001 Then MonDosFeed
If FeedD 000 Then MonDosMix
If DoW -M-----
If Time 08:00 to 08:01 Then TueDosMix
If Time 08:02 to 08:03 Then TueDosFeed
If Time 08:04 to 08:05 Then TueDosFlush
If Time 12:00 to 12:01 Then TueDosMix
If Time 12:02 to 12:03 Then TueDosFeed
If Time 12:04 to 12:05 Then TueDosFlush
If Time 18:00 to 18:01 Then TueDosMix
If Time 18:02 to 18:03 Then TueDosFeed
If Time 18:04 to 18:05 Then TueDosFlush
If FeedD 003 Then TueDosFlush
If FeedD 001 Then TueDosFeed
If FeedD 000 Then TueDosMix
If DoW --T----
If Time 08:00 to 08:01 Then WedDosMix
If Time 08:02 to 08:03 Then WedDosFeed
If Time 08:04 to 08:05 Then WedDosFlush
If Time 12:00 to 12:01 Then WedDosMix
If Time 12:02 to 12:03 Then WedDosFeed
If Time 12:04 to 12:05 Then WedDosFlush
If Time 18:00 to 18:01 Then WedDosMix
If Time 18:02 to 18:03 Then WedDosFeed
If Time 18:04 to 18:05 Then WedDosFlush
If FeedD 003 Then WedDosFlush
If FeedD 001 Then WedDosFeed
If FeedD 000 Then WedDosMix
If DoW ---W---
If Time 08:00 to 08:01 Then ThuDosMix
If Time 08:02 to 08:03 Then ThuDosFeed
If Time 08:04 to 08:05 Then ThuDosFlush
If Time 12:00 to 12:01 Then ThuDosMix
If Time 12:02 to 12:03 Then ThuDosFeed
If Time 12:04 to 12:05 Then ThuDosFlush
If Time 18:00 to 18:01 Then ThuDosMix
If Time 18:02 to 18:03 Then ThuDosFeed
If Time 18:04 to 18:05 Then ThuDosFlush
If FeedD 003 Then ThuDosFlush
If FeedD 001 Then ThuDosFeed
If FeedD 000 Then ThuDosMix
If DoW ----T--
If Time 08:00 to 08:01 Then FriDosMix
If Time 08:02 to 08:03 Then FriDosFeed
If Time 08:04 to 08:05 Then FriDosFlush
If Time 12:00 to 12:01 Then FriDosMix
If Time 12:02 to 12:03 Then FriDosFeed
If Time 12:04 to 12:05 Then FriDosFlush
If Time 18:00 to 18:01 Then FriDosMix
If Time 18:02 to 18:03 Then FriDosFeed
If Time 18:04 to 18:05 Then FriDosFlush
If FeedD 003 Then FriDosFlush
If FeedD 001 Then FriDosFeed
If FeedD 000 Then FriDosMix
If DoW -----F-
If Time 08:00 to 08:01 Then SatDosMix
If Time 08:02 to 08:03 Then SatDosFeed
If Time 08:04 to 08:05 Then SatDosFlush
If Time 12:00 to 12:01 Then SatDosMix
If Time 12:02 to 12:03 Then SatDosFeed
If Time 12:04 to 12:05 Then SatDosFlush
If Time 18:00 to 18:01 Then SatDosMix
If Time 18:02 to 18:03 Then SatDosFeed
If Time 18:04 to 18:05 Then SatDosFlush
If FeedD 003 Then SatDosFlush
If FeedD 001 Then SatDosFeed
If FeedD 000 Then SatDosMix
If DoW ------S
If Time 08:00 to 08:01 Then SunDosMix
If Time 08:02 to 08:03 Then SunDosFeed
If Time 08:04 to 08:05 Then SunDosFlush
If Time 12:00 to 12:01 Then SunDosMix
If Time 12:02 to 12:03 Then SunDosFeed
If Time 12:04 to 12:05 Then SunDosFlush
If Time 18:00 to 18:01 Then SunDosMix
If Time 18:02 to 18:03 Then SunDosFeed
If Time 18:04 to 18:05 Then SunDosFlush
If FeedD 003 Then SunDosFlush
If FeedD 001 Then SunDosFeed
If FeedD 000 Then SunDosMix
If DoW S------
P.S. I couldn't figure out a way to start a new thread so I am replying to this one.
Bookmarks