Yesterday at 06:03 PM1 day Please I need help with this programming.....long time user, getting old and have no clue!Tank level sensor closes contact – Insteon 2450 IO (which 2450 mode?)Then wait 10 minutesTurn on fill pump (Insteon- micro on, with power relay)Keep pump running until tank level sensor open contact – Insteon 2450 IOTurn off fill pump (Insteon- micro off, with power relay) Thank you for your helpKarl
23 hours ago23 hr If sensor is off/on (whichever means not full) Wait 10 minutes Set micro relay on that turns on pumpElse Set micro relay off that controls pump
23 hours ago23 hr Will be easier with 3 programs IMOProgram 1: FillIf FillPumpSensor switches onThen Wait 10 minutes Set FillPump OnProgram 2: StopIf FillPumpSensor switches offThen Set FillPump OffProgram 3: Deadman switchIf FillPumpSensor is on (NOT switched)Then Wait XX Minutes. (You decide, see note below) Set FillPump OffProgram 3 is in case the messaging to/from the iolinc is missed, it can happen. Pick a number of total minutes you think a cycle should be, maybe add 1 minute to it and assign that to XX. The first program use If Switched and the last uses If status
22 hours ago22 hr When your program has a Wait statement, make sure it's triggered by a static condition, like a status change. Looking for control events ("is switched on") won't work because it doesn't remain true other than the first time it's detected.One effect is that if the detector turns off before the 10 minutes is up, then the pump won't turn on at all, which is what you might be wanting here.
17 hours ago17 hr 7 hours ago, kvolger said:Please I need help with this programmingIt might help to describe what it is you are trying to do, under what conditions cause the tank sensor to open and close, and what it is that the program is, or is not, doing that you expect it to do. It is also helpful to see the exact program rather than a paraphrase. Control (switched on) versus status conditions behave differently and can affect how programs work and it seems unclear to me which type of conditions you have in your program.Having said all that, I suspect Guy Lavoie has identified the most likely problem, short of a communication problem between devices. Edited 17 hours ago17 hr by oberkc
3 hours ago3 hr Author Thank you guys for all your input, paulbates suggestion was my first thought.oberkc What I am trying to do, if my pressure pump takes water out of the tank (the tank sensor is open when tank is full) the sensor goes closed then. I like for the fill pump to wait 10 minutes before starting to pump water back into the tank. The runtime of the fill pump should be variable, controlled by the Insteon 2450 IO - when its sensor input goes open depending on the full tank - tank sensor is open.I have not written that program yet, as I am not sure how to imbed a secondary condition for the 2450 IO when its status changed from ON to Off. The completion/end of that program should be dictated by the status change of the 2450IO device.Guy Lavoie One effect is that if the detector turns off before the 10 minutes is up, then the pump won't turn on at all, which is what you might be wanting here.The detector (tank sensor) can't turn off before the ten minutes are up, as only the running fill pump (after Wait) can top off the water level in the tank, and change then the status of the tank sensor.
1 hour ago1 hr 1 hour ago, kvolger said:I have not written that program yet, as I am not sure how to imbed a secondary condition for the 2450 IO when its status changed from ON to Off. The completion/end of that program should be dictated by the status change of the 2450IO device.Well your secondary condition is actually taken care of automatically by the status change of the same input that triggers the program. In essence, if the triggering condition is detected as a status, it remains true until the status chnges again (level sensor closes again). If you hadn't wanted the 10 minute delay, it would be a straight if/then like this:program 1 If Status level sensor is ONThen Turn on pumpprogram 2If Status level sensor is OFFThen Turn off pumpThe desired 10 second wait before turning on the pump is done by adding a line to program 1:program 1If Status level sensor is ONThen Wait 10 minutesThen Turn on pumpThat works because the status of the level sensor will remain at ON during the time that the program is waiting 10 minutes before continuing and turning on the pump. Adding a wait like that is a good practise, it adds hysterisis to the control system, preventing short run cycles of the pump.
Create an account or sign in to comment