Results 1 to 2 of 2

Thread: ATK on 20 Gallon long - Code Help

  1. #1
    Regular Vistor
    Join Date
    Nov 2015
    Location
    US, Central Time
    Posts
    16

    ATK on 20 Gallon long - Code Help

    So I have an interim frag tank set up and I'm using an Apex Classic and an ATK to top things off. The delima is the amount of water that would evaporate between the high and low sensors in a 20 long would lead to significant swings. Here's what I would like to do but can't seem to nail down. I am using an outlet and not the power on the FMM as the reservoir is too far from the temporary location of my frag tank.
    Code:
    Fallback OFF
    Set OFF
    If Swx6_1 OPEN Then OFF
    Defer 240:00 Then ON
    If Swx6_1 CLOSED Then ON
    Defer 000:05 Then OFF

    I tried:
    Code:
    Fallback OFF
    Set OFF
    If Swx6_1 OPEN Defer 240:00 Then ON
    If Swx6_1 CLOSED Defer 000:05 Then OFF

    HOWEVER - When I save it and go back into the program I get:
    Code:
    Fallback OFF
    Set OFF
    If Swx6_1 OPEN Then OFF
    If Swx6_1 CLOSED Then OFF
    I would like to only use the high sensor (Swx6_1) and allow a few hours to pass before the outlet actually turns on this will allow for a bit more evaporation to happen but at the same time keep it pretty tight. Long story short, what I've tried is not working. Any advice is greatly appreciated.



  2. #2
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    The high sensor is meant as a failsafe, not to fill between the two sensors.

    Start with the default task generated code and adjust to your liking. Since this is a small tank, the default 5 minute when statement will be too long and should be shortened to a minute or two (shuts outlet to manual off if timer expires)

    Fallback OFF
    Set OFF
    If LowSw OPEN Then ON
    If HighSw CLOSED Then OFF
    Defer 000:10 Then ON
    Defer 000:04 Then OFF
    When On > 002:00 Then OFF
    Min Time 060:00 Then OFF

    Sent from my SM-G965U using Tapatalk

Similar Threads

  1. code if DOS runs too long (1link)
    By zenx2 in forum DŌS & DDR – Dosing and Fluid Metering System
    Replies: 0
    Last Post: 12-24-2020, 06:16
  2. Question: Alert when ATK runs "too long"
    By fishynyc in forum Fluid Monitoring Module (FMM), FMK, ATK, LDK, and FMM Accessories
    Replies: 3
    Last Post: 12-03-2018, 17:03
  3. HELP - ATK Code - Please explain...
    By allaboutmojo in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 12
    Last Post: 10-09-2018, 15:43
  4. Help! Sensor 2 of ATK no long shows up in APEX Fusion
    By kinetic in forum Fluid Monitoring Module (FMM), FMK, ATK, LDK, and FMM Accessories
    Replies: 3
    Last Post: 10-03-2017, 14:41

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
  •