Results 1 to 6 of 6

Thread: Feed Mode Switch - Breakout box

  1. #1
    Regular Vistor robocop1906's Avatar
    Join Date
    Jun 2018
    Location
    us, central ime
    Posts
    45

    Feed Mode Switch - Breakout box

    Hello, I'm trying to add a feed toggle switch to my skimmer code. I can't get that 3rd line below to work. I'd like to have a 5min defer for both Feed mode A and if I engage the manual switch "FeedM".

    Fallback ON
    Set ON
    If FeedM Closed Then OFF
    If FeedA 000 Then OFF
    Defer 005:00 Then ON

  2. #2
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    Looks right to me. You have it in AUTO right?

    Sent from my SM-G965U using Tapatalk

  3. #3
    Regular Vistor robocop1906's Avatar
    Join Date
    Jun 2018
    Location
    us, central ime
    Posts
    45
    Yes, when I enter the code, save, and come back to it the code converts to the below:

    Fallback ON
    Set ON
    If FeedA 000 Then OFF
    If FeedA 000 Then OFF
    Defer 005:00 Then ON

  4. #4
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    I think I know what the problem is. Rename your switch so the name doesnt start with Feed (MFeed is okay but FeedM is not). The apex gets confused when you start any switch or outlet name with a reserved system keyword like Feed, Outlet, Moon etc.

    Sent from my SM-G965U using Tapatalk

  5. #5
    Regular Vistor robocop1906's Avatar
    Join Date
    Jun 2018
    Location
    us, central ime
    Posts
    45
    Thanks that worked. Do I need to add another "Defer" statement for the switch or will it automatically use the one that follows FeedA?

  6. #6
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    Defer is global so it applies to everything.

    Sent from my SM-G965U using Tapatalk

Similar Threads

  1. Question: Push Button Feed Mode with Breakout Box
    By Swee10 in forum AquaBus Modules, Probes, and Breakout Boxes
    Replies: 3
    Last Post: 06-02-2021, 08:14
  2. Breakout Box Switch 6
    By daquan44 in forum AquaBus Modules, Probes, and Breakout Boxes
    Replies: 5
    Last Post: 10-08-2016, 04:54
  3. Breakout box + Float Switch
    By jam583 in forum AquaBus Modules, Probes, and Breakout Boxes
    Replies: 10
    Last Post: 11-25-2015, 20:43
  4. Run feed mode based on breakout box switch?
    By dmglakewood in forum Misc Apex Usage & Programming
    Replies: 3
    Last Post: 09-04-2014, 12:09
  5. Breakout Box Feed Mode??
    By Smudge in forum Apex Programming for Vortech, Tunze, & Other Controllable Pumps
    Replies: 3
    Last Post: 01-19-2014, 17:03

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
  •