ADVRESOURCE
New member
I setup the water changes to occur each night at 6pm to 6am the following morning. I am changing 2.5 gallons per day. For a 5 gallon canister, I need to change out every other day, except on Sunday I don't want to have to change the canister. Thus, my cycle is Monday 6pm to Tuesday 6am, Tuesday 6pm to Wednesday 6am, Wednesday change the canister, Wednesday 6pm to Thursday 6am, Thursday 6pm to Friday 6am, Friday change canister, Friday 6pm to Saturday 6am, Saturday 6pm to Sunday 6am, OFF Sunday 6pm to Monday 6am, Change canister Monday so the start of the cycle can begin Monday 6pm.
I want to be able to advanced program the controllers to skip Sunday 6pm to Monday 6am. Also, I have two float switches 1 and 2 used to detect empty NSW and full OSW. The switches are positioned closed when the NSW is not empty and OSW is not full. Thus, any open connectors going to the float switches won't allow pumping water.
Please review the code and comment, will this work?
For NSW:
Fallback OFF
Set PROFILE
If SW_1 OPEN Then OFF
If SW_2 OPEN Then OFF
If DoW S------ Then OFF
If Time 00:00 to 6:00 Then PROFILE
If Dow -M----- Then OFF
If Time 18:00 to 23:59 Then PROFILE
For OSW:
Fallback OFF
Set PROFILE
If SW_1 OPEN Then OFF
If SW_2 OPEN Then OFF
If DoW S------ Then OFF
If Time 00:00 to 6:00 Then PROFILE
If Dow -M----- Then OFF
If Time 18:00 to 23:59 Then PROFILE
I want to be able to advanced program the controllers to skip Sunday 6pm to Monday 6am. Also, I have two float switches 1 and 2 used to detect empty NSW and full OSW. The switches are positioned closed when the NSW is not empty and OSW is not full. Thus, any open connectors going to the float switches won't allow pumping water.
Please review the code and comment, will this work?
For NSW:
Fallback OFF
Set PROFILE
If SW_1 OPEN Then OFF
If SW_2 OPEN Then OFF
If DoW S------ Then OFF
If Time 00:00 to 6:00 Then PROFILE
If Dow -M----- Then OFF
If Time 18:00 to 23:59 Then PROFILE
For OSW:
Fallback OFF
Set PROFILE
If SW_1 OPEN Then OFF
If SW_2 OPEN Then OFF
If DoW S------ Then OFF
If Time 00:00 to 6:00 Then PROFILE
If Dow -M----- Then OFF
If Time 18:00 to 23:59 Then PROFILE