Jump to content

Program change


flsenior

Recommended Posts

Whenever I manually operate a switch that controls the pool motor this program ceases to operate for the remainder of the day. For example, the pool motor may be running and I will turn it off to perform pool maintenance. When finished I will switch the motor back on. How can I get the program to resume control of the pool motor? In this case the pool motor will continue to run nonstop until I manually turn it off. The next day the program will operate as programmed.

If

From 9:00:00AM

To 7:21:00PM (same day)

 

Then

Repeat Every 1 hour

Set 'Pool Motor' On

Wait 40 minutes

Set 'Pool Motor' Fast Off

 

Else

- No Actions - (To add one, press 'Action')

Link to comment

What does the Programs | Summary page show for this Program when the Program has stopped running.

 

Last Run Time

Last Finish Time

Status

Activity

 

I assume the motor was disconnected from the device in some way. Otherwise the Program could start it unexpectedly. Some devices will present an error if the load is not connected which may have stopped further activity.

Link to comment

LeeG can correct me if I'm wrong but I believe you need to add a turn motor off command to the Else line. Otherwise I don't see why the motor would turn off at 7:21 pm anyway.

 

At 7:00 pm the motor is turned on. The program enters a wait stage... at the end of the wait stage the program is re-evaluated (it may even be at the trigger I'm not clear on that yet). It is now 7:40 pm, the program is false, so the "Then" portion of the rest of the program will not run. Instead the Else will be evaluated.

Link to comment

I believe you are correct as I can also share another situation that backs up your assumption.

 

Previously I had the program set up so that the motor ran 20 min/hr. The program ran from 9 am - 7 pm. There were no problems with the motor being off at night, although I can't tell you the precise time that it turned off. I then needed to run the motor for a longer time so I changed it to 40 min/hr (9am - 7pm). The motor would not shut off at night. My guess was that the motor was running when 7 pm was reached. All that probably happened was that the program stopped but the motor was not turned off, regardless of how long it was running in the cycle. Since the program stopped running, there was no off command issued to stop the motor at the end of a 40 min cycle. I then changed the time to 7:21 pm to insure that the motor was off when the program stop time was reached. I will add a "off" command to Else.

 

Getting back to my original question - why doesn't the program take over after I manually intervene during the day?

Link to comment

flsenior

 

I don't know the answer to the original question yet. However, changing the time range is not the way to insure the Program turns the motor Off. In the Else clause, which is driven at the end of the time range regardless of where the Then clause is in its execution, add at Set 'Pool Motor' Fast Off. This insures when the Program completes it will turn the motor Off.

 

The original summary information shows the Program started but has not ended. Yet the Activity shows Idle which I was not expecting.

 

What ISY firmware is being used?

Link to comment

Thanks. I cannot test ISY code that old. 3.1.17 is the latest official release and it will soon be replaced by one of the 3.2.x beta releases so an official release will have I2CS support. I will test on 3.2.4 to see if I can recreate what you are seeing.

Link to comment

flsenior

 

I cannot recreate what you are describing on 3.2.4. I recommend you add the Set motor Off to the Else clause so the motor will turn Off regardless of where the Then clause is in its cycle when the To time arrives. Then move to 3.2.4 to see if it is still a problem.

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...