Results 1 to 4 of 4

Thread: DOS dosing wrong days of the week

  1. #1
    New User
    Join Date
    May 2017
    Location
    PA
    Posts
    9

    DOS dosing wrong days of the week

    I'm trying to set up my DOS to dose 50mL of Macros on Monday Wednesday and Friday and 50 mL of micros on Tuesday Thursday and Saturday. I used the wizard to set up a dosing interval of 50 mL from 4 am to 4:10 am. Then went into basic mode and added a DOW command. It ended up looking like this:

    Fallback OFF
    If DoW SM-W-F- Then OFF
    tdata 04:00:00,1,19,1,244,2,88,1,1,244,0,0,10,0

    And

    Fallback OFF
    If DoW S-T-T-S Then OFF
    tdata 04:00:00,1,19,1,244,2,88,1,1,244,0,0,10,0

    However this morning (Thursday) I woke up and my dosing log shows:

    Dose Date Pump Volume
    1 2017-05-25 04:02:00 -0400 Micros 50 mL
    2 2017-05-25 04:02:00 -0400 Macros 50 mL



    Can anyone help me figure out where I went wrong and why it dosed both?

  2. #2
    New User
    Join Date
    May 2017
    Location
    PA
    Posts
    9
    Nevermind I realized my mistake right after I posted. DOW command needs to be after the tdata so that it evaluates to off.

  3. #3
    New User
    Join Date
    Jul 2017
    Location
    Portland, OR
    Posts
    1
    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.

  4. #4
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    Quote Originally Posted by echoblue3 View Post
    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.
    You're gonna need to simplify this significantly as this would require 84 virtual outlets and 21 profiles to accomplish and that will get you into the "1% bugs" that can start manifesting when the number of outlets gets well above 100 (the apex only has so much processing power it starts making mistakes when you work it too hard).

    I would make it consistent and either use the same regiment every day or simplify it to two regiments (STTS and MWF)

    You might be an engineer if...You have no life and can prove it mathematically.

Similar Threads

  1. Want dosing pump on only a few days a week.
    By Aquamane in forum Misc Apex Usage & Programming
    Replies: 6
    Last Post: 08-04-2021, 14:18
  2. Question: DOS Automatic Water Change - Days of Week
    By psumms in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 1
    Last Post: 08-18-2019, 07:06
  3. Configuring DOS for certain days of week
    By TighTT in forum DŌS & DDR – Dosing and Fluid Metering System
    Replies: 3
    Last Post: 04-17-2017, 08:54
  4. Help-Neptune dos dosing wrong amt
    By Aaron23 in forum DŌS & DDR – Dosing and Fluid Metering System
    Replies: 1
    Last Post: 03-13-2016, 06:12
  5. Question: Different dosing depending on days of week
    By ben7 in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 3
    Last Post: 05-20-2015, 06:02

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •