Results 1 to 3 of 3

Thread: Programming on day of month?

  1. #1
    Frequent Visitor
    Join Date
    Aug 2017
    Location
    Pacific
    Posts
    88

    Programming on day of month?

    If I would like to do awc (let’s say 7.5) based on days of the month (ie 7,14,21,28) -is this possible?
    If not, then how can I employ using DOW once a week?
    Such as

    if DoW=M Then
    tdata 09:30:00,1,16,23,223,2,88,36,23,227,0,0,10,0

    (22k ml) water change

    Thanks

    LB


    Sent from my iPhone using Tapatalk

  2. #2
    Master Control Freak RussM's Avatar
    Join Date
    Dec 2012
    Location
    California - US Pacific
    Posts
    22,463
    No, you cannot do programming based of date or day of the month.

    In almost all cases, you’d use the If DoW statement with negative logic - for example, keep an output off except on the day(s) of the week you want something to happen.

    Set OFF
    If Time 12:00 to 12:14 Then ON
    If DoW S-TW-FS Then OFF

    This would only allow the output to turn on for 15 minutes at noon on Mondays and Thursdays.
    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.

  3. #3
    Frequent Visitor
    Join Date
    Aug 2017
    Location
    Pacific
    Posts
    88
    Quote Originally Posted by RussM View Post
    No, you cannot do programming based of date or day of the month.

    In almost all cases, you’d use the If DoW statement with negative logic - for example, keep an output off except on the day(s) of the week you want something to happen.

    Set OFF
    If Time 12:00 to 12:14 Then ON
    If DoW S-TW-FS Then OFF

    This would only allow the output to turn on for 15 minutes at noon on Mondays and Thursdays.
    Rats. Duly noted.


    Sent from my iPhone using Tapatalk

Similar Threads

  1. DOS day of month programming
    By psumms in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 1
    Last Post: 02-13-2022, 10:36
  2. Setting Moon Set when moon sets on the 2nd day of the month
    By P-Dub in forum Apex Programming for Lighting
    Replies: 0
    Last Post: 11-06-2019, 03:14
  3. Question: Day of the month code
    By TimS in forum Apex Classic/Apex Lite/Apex Jr
    Replies: 4
    Last Post: 07-13-2015, 15:56
  4. Question: Programming for a day of the month?
    By Briian Loughead in forum Misc Apex Usage & Programming
    Replies: 2
    Last Post: 05-27-2015, 02:02
  5. Month/Season Programming
    By LHillman in forum Misc Apex Usage & Programming
    Replies: 3
    Last Post: 01-31-2015, 13:17

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
  •