Results 1 to 3 of 3

Thread: ATK/FMM Programming Question

  1. #1
    New User
    Join Date
    Jan 2015
    Location
    United States
    Posts
    2

    ATK/FMM Programming Question

    So I've picked up two FMMs lately and am using one to control the RO/DI system to fill a 55-gallon reservoir. One Optical sensor is in the top, the other is at the 40-gallon mark. The top sensor is called RESOFF, the bottom sensor is RESON. I want the behavior to be: RO/DI starts up once the RESON sensor switches open and have it shut off when the RESOFF sensor switches closed. This way it'll run and fill about 15 gallons. Right now, my programming looks like the below and it is starting up the RO/DI system whenever the RESOFF sensor switches open.

    Programming on a virtual outlet I created (RSFLSTP):
    Fallback OFF
    Set OFF
    If RESOFF OPEN Then ON
    If RESOFF CLOSED Then OFF

    Programming on outlet to control solenoid valve:
    Fallback OFF
    Set OFF
    If Output RSFLSTP = ON Then ON
    If RESON OPEN Then ON
    If RESOFF CLOSED Then OFF

    Any help would be greatly appreciated!

    Adam

  2. #2
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    Haha. I see youre from colorado. I just answered this same question on MASC . I'll post the same info below just so this thread has a sense of closure.

    Start with this (you don't want a set OFF here or the virtual outlet)

    Fallback OFF
    If RESON OPEN Then ON
    If RESOFF CLOSED Then OFF

    That will give you the desired behavior. After that has run a few times, look at your outlet log (make sure to enable logging for the outlet now) and see how long it takes to fill the reservoir. Multiply that number by 1.2 to 1.5 or so and replace XXX:XX below with that. Also make sure your firmware is current or this trick won't work.

    Fallback OFF
    If RESON OPEN Then ON
    If RESOFF CLOSED Then OFF
    When On > XXX:XX Then OFF

    Email
    (Existing code)
    If Error outletname Then ON

    This will stop the fill and alert you if there is a problem that is allowing it to run longer than it is supposed to so you know when something is wrong.



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

  3. #3
    New User
    Join Date
    Jan 2015
    Location
    United States
    Posts
    2
    Much appreciated, I'll have to look up those Set definitions...I have a misunderstanding there.

    Thank you!

Similar Threads

  1. atk programming to use power from a separate fmm
    By scott11106 in forum Misc Apex Usage & Programming
    Replies: 4
    Last Post: 02-26-2019, 11:09
  2. ATK Programming question
    By perjonas in forum Apex Programming for Dosing, ATO, and AWC
    Replies: 7
    Last Post: 04-23-2018, 12:11
  3. Help! FMM/ATK
    By jcb in forum Fluid Monitoring Module (FMM), FMK, ATK, LDK, and FMM Accessories
    Replies: 1
    Last Post: 12-27-2017, 21:19
  4. ATK with (2) FMM
    By Reefinny in forum Fluid Monitoring Module (FMM), FMK, ATK, LDK, and FMM Accessories
    Replies: 10
    Last Post: 11-26-2017, 08:57
  5. Question: ATK (FMM) Programming during Feed Cycle
    By glassink in forum Fluid Monitoring Module (FMM), FMK, ATK, LDK, and FMM Accessories
    Replies: 5
    Last Post: 09-09-2017, 03:52

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
  •