Results 1 to 14 of 14

Thread: OSC statement is not "cooperating"... HELP!!!

  1. #1
    Frequent Visitor Alex's Avatar
    Join Date
    Apr 2013
    Location
    Dallas Texas
    Posts
    103

    OSC statement is not "cooperating"... HELP!!!

    This is not the first time that I've have issues with the OSC statement.

    What I'm trying to do is turn the dosing pump ON for 15 sec once a day at 7PM.
    Below is how I'm trying to program it, but what I get is the doser on for 1 min...
    What am I doing wrong?

    Fallback OFF
    Set OFF
    OSC 000:00/000:15/059:45 Then ON
    If Time 00:00 to 18:59 Then OFF
    If Time 19:00 to 19:59 Then ON
    If Time 20:00 to 00:00 Then OFF

  2. #2
    Frequent Visitor
    Join Date
    Jan 2016
    Location
    Cincinnati, ohio
    Posts
    709
    Does it run for an hour? The if time 19:00 to 19:59 then On line would have it run no matter the OSC command turning it off since the if time command is the last true statement.

  3. #3
    Master Control Freak RussM's Avatar
    Join Date
    Dec 2012
    Location
    California - US Pacific
    Posts
    22,489
    Delete the Set OFF. It does nothing here and is not needed because OSC has both ON and OFF states.

    Delete the If Time 19:00 to 19:59 Then ON line. It is overriding the OSC.

    You only need one If Time ... Then OFF line. If Time statements can cross the midnight boundary, so two lines are not needed.

    This is all you need:

    Fallback OFF
    OSC 0:00/0:15/59:45 Then ON
    If Time 20:00 to 18:59 Then OFF
    Please do not send me PMs with technical questions or requesting assistance - use the forums for Apex help. PM me ONLY if the matter is of a private or personal nature. Thanks.

  4. #4
    Frequent Visitor Alex's Avatar
    Join Date
    Apr 2013
    Location
    Dallas Texas
    Posts
    103
    Quote Originally Posted by RussM View Post
    Delete the Set OFF. It does nothing here and is not needed because OSC has both ON and OFF states.

    Delete the If Time 19:00 to 19:59 Then ON line. It is overriding the OSC.

    You only need one If Time ... Then OFF line. If Time statements can cross the midnight boundary, so two lines are not needed.

    This is all you need:

    Fallback OFF
    OSC 0:00/0:15/59:45 Then ON
    If Time 20:00 to 18:59 Then OFF
    ok thank you Russ. I'll try it tomorrow and report back.

  5. #5
    Frequent Visitor Alex's Avatar
    Join Date
    Apr 2013
    Location
    Dallas Texas
    Posts
    103
    I tried to monitor the dosing pump right at 19:00 to see if it would come on for only 15 seconds, but never turned on during the first two minutes.
    Later when I checked the bottle it looked like some liquid was dispensed.
    My question is if the OSC statement 0:00/0:15/59:45 will turn the doser on at 19:59:45 for 15 seconds and turn off at 20:00?

  6. #6
    Master Control Freak RussM's Avatar
    Join Date
    Dec 2012
    Location
    California - US Pacific
    Posts
    22,489
    No - if using my programming, it would have turned on sharply at 19:00.

    Is the outlet in AUTO?
    Please do not send me PMs with technical questions or requesting assistance - use the forums for Apex help. PM me ONLY if the matter is of a private or personal nature. Thanks.

  7. #7
    Frequent Visitor Alex's Avatar
    Join Date
    Apr 2013
    Location
    Dallas Texas
    Posts
    103
    Yes the outlet is in auto.

  8. #8
    Frequent Visitor Alex's Avatar
    Join Date
    Apr 2013
    Location
    Dallas Texas
    Posts
    103
    Quote Originally Posted by RussM View Post
    No - if using my programming, it would have turned on sharply at 19:00.

    Is the outlet in AUTO?
    I tested it again...
    I used your exact programming...

    Fallback OFF
    OSC 0:00/0:15/59:45 Then ON
    If Time 20:00 to 18:59 Then OFF

    at 19:00 the doser did not come on. I waited.. for a few minutes watching the pump knowing that it will eventually come on, since yesterday I had noticed some liquid missing from the bottle.
    at 19:03 the doser came on for 15 seconds!! Then OFF.

    I'm wondering why the delay...
    could it be that another command is interfering with the APEX timing?

  9. #9
    Frequent Visitor
    Join Date
    Jan 2016
    Location
    Cincinnati, ohio
    Posts
    709
    Did the time corrispond to the apex display or fusion time or was it delayed from those clocks?

  10. #10
    Frequent Visitor Alex's Avatar
    Join Date
    Apr 2013
    Location
    Dallas Texas
    Posts
    103
    Quote Originally Posted by Frogfish View Post
    Did the time corrispond to the apex display or fusion time or was it delayed from those clocks?
    how could fusion time be different that the Local Apex time?

  11. #11
    Frequent Visitor Alex's Avatar
    Join Date
    Apr 2013
    Location
    Dallas Texas
    Posts
    103
    That was it.
    the Fusion clock is 3-4 minutes off the local Apex clock!!!
    i never knew that could be possible.
    I thought fusion reads the local clock and displays whatever gets reported...
    wow.
    now I have to figure out how to sync the 2 clocks...

  12. #12
    Master Control Freak RussM's Avatar
    Join Date
    Dec 2012
    Location
    California - US Pacific
    Posts
    22,489
    Please do not send me PMs with technical questions or requesting assistance - use the forums for Apex help. PM me ONLY if the matter is of a private or personal nature. Thanks.

  13. #13
    Frequent Visitor
    Join Date
    Aug 2016
    Location
    Toronto, Canada
    Posts
    117
    Thank you !


    Sent from my iPhone using Tapatalk

  14. #14
    Frequent Visitor Alex's Avatar
    Join Date
    Apr 2013
    Location
    Dallas Texas
    Posts
    103
    Thank you Russ.
    as soon as I enabled dhcp the local apex synced with fusion time.

Similar Threads

  1. Is there any type of "AND" statement to control DOS??
    By VFWDBIO in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 8
    Last Post: 07-15-2021, 10:02
  2. Question: Quick Q - can we rename optical sensor output from "open/closed" to "wet/dry"?
    By BTBarney in forum Fluid Monitoring Module (FMM), FMK, ATK, LDK, and FMM Accessories
    Replies: 3
    Last Post: 07-07-2020, 16:49
  3. Help! Fusion not showing "Create Note" or "Log Measurement" tile
    By miahpage in forum APEX Fusion
    Replies: 3
    Last Post: 10-16-2018, 20:57
  4. Programming an "And" statement with the FMM(other outputs as well)
    By alife4all in forum Fluid Monitoring Module (FMM), FMK, ATK, LDK, and FMM Accessories
    Replies: 1
    Last Post: 03-15-2018, 12:06
  5. Need help with programming Refugium light using "Min Time" statement
    By Greego in forum Apex Programming for Lighting
    Replies: 0
    Last Post: 01-01-2017, 17:53

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
  •