Results 1 to 8 of 8

Thread: Override a tdata table temporarily

  1. #1
    Regular Vistor
    Join Date
    Dec 2013
    Location
    Peoria, AZ
    Posts
    44

    Override a tdata table temporarily

    I have an application where I have two (tunze stream) pumps that run off the wizard tdata table all day.

    However, when a specific condition occurs, (a switch is closed), I want to flip the pump to 100% for about 30 seconds, and then go back to wherever it should have been in the tdata table.

    I'm kinda stumped as to how to do this. Is it possible? It seems like it should be, but I'm not familiar with the tdata stuff.

  2. #2
    Frequent Visitor LobsterOfJustice's Avatar
    Join Date
    Jun 2013
    Location
    Cary, NC
    Posts
    859
    When you enter the advanced programming window, all the tdata info will be in there. Any commands you write in after the tdata stuff will override it.


    Sent from my iPhone using Tapatalk
    180g reef with all the bells and whistles

  3. #3
    Regular Vistor
    Join Date
    Dec 2013
    Location
    Peoria, AZ
    Posts
    44
    I know how to add the code to the device.. the problem is I'm stumped as to what code to actually add that returns the programming to the tdata when it's done.

  4. #4
    Master Control Freak RussM's Avatar
    Join Date
    Dec 2012
    Location
    California - US Pacific
    Posts
    22,463
    Quote Originally Posted by garbled View Post
    I know how to add the code to the device.. the problem is I'm stumped as to what code to actually add that returns the programming to the tdata when it's done.
    None is needed. The If Switch statement will only override the tdata while it it true. If it’s not true then it has no effect and the tdata will be controlling the pump.
    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.

  5. #5
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    Is this a manually activated switch or are you reacting to something in the tank? The approach changes depending on which it is.

    Sent from my SM-G965U using Tapatalk

  6. #6
    Regular Vistor
    Join Date
    Dec 2013
    Location
    Peoria, AZ
    Posts
    44
    So the idea is this. I'm building a surge device. When the water hits the top line, and activates the float switch, that means the surge is about to go off. The surge is on the right side of the tank. So for the next 30 seconds, I want to run the right tunze at 100%, and the left one at 30% or off, this way, the pumps kind of "boost" the surge. The thing is, when the switch is activated, it will very quickly become not-activated, because the surge bucket will start to drain, so it needs to remain in that mode for 30 seconds or so.

    Hrmm.. maybe a virtual outlet?

    [bucket]
    Set off
    fallback off
    if switch CLOSED then On
    defer 0:30 then OFF

    And then put an if outlet bucket statement in the tunze code?

  7. #7
    Frequent Visitor
    Join Date
    Jan 2013
    Location
    Pacific Coast
    Posts
    382
    Quote Originally Posted by garbled View Post
    So the idea is this. I'm building a surge device. When the water hits the top line, and activates the float switch, that means the surge is about to go off. The surge is on the right side of the tank. So for the next 30 seconds, I want to run the right tunze at 100%, and the left one at 30% or off, this way, the pumps kind of "boost" the surge. The thing is, when the switch is activated, it will very quickly become not-activated, because the surge bucket will start to drain, so it needs to remain in that mode for 30 seconds or so.

    Hrmm.. maybe a virtual outlet?

    [bucket]
    Set off
    fallback off
    if switch CLOSED then On
    defer 0:30 then OFF

    And then put an if outlet bucket statement in the tunze code?
    Yep.

  8. #8
    Frequent Contributor zombie's Avatar
    Join Date
    Dec 2013
    Location
    Denver, CO
    Posts
    13,176
    Quote Originally Posted by garbled View Post
    So the idea is this. I'm building a surge device. When the water hits the top line, and activates the float switch, that means the surge is about to go off. The surge is on the right side of the tank. So for the next 30 seconds, I want to run the right tunze at 100%, and the left one at 30% or off, this way, the pumps kind of "boost" the surge. The thing is, when the switch is activated, it will very quickly become not-activated, because the surge bucket will start to drain, so it needs to remain in that mode for 30 seconds or so.

    Hrmm.. maybe a virtual outlet?

    [bucket]
    Set off
    fallback off
    if switch CLOSED then On
    defer 0:30 then OFF

    And then put an if outlet bucket statement in the tunze code?
    Yep. If you want it to run 30 seconds after the switch is no longer closed. Use min time if you want exactly 30 seconds. It may also be beneficial to add a when statement to lock that out in the event the switch sticks closed for some reason.

    Sent from my SM-G965U using Tapatalk

Similar Threads

  1. tdata function
    By Seb_BTZ in forum Apex Programming for Lighting
    Replies: 1
    Last Post: 01-29-2019, 06:21
  2. Help! Season Table Dimming Override for New T5's
    By nicsound in forum Apex Programming for Lighting
    Replies: 7
    Last Post: 10-28-2018, 19:03
  3. How do I temporarily override the Radion lighting program?
    By mwaldvogel in forum Apex Programming for Lighting
    Replies: 58
    Last Post: 02-20-2018, 22:16
  4. Question: tdata explanation
    By Mobidoy in forum DŌS & DDR – Dosing and Fluid Metering System
    Replies: 1
    Last Post: 08-18-2017, 18:51
  5. Question: tdata
    By Fordy in forum DŌS & DDR – Dosing and Fluid Metering System
    Replies: 1
    Last Post: 08-09-2016, 06: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
  •