Friday, April 27, 2007
Monday, August 21, 2006
M1 Rules
WHENEVER Water Yard (Task 16) IS ACTIVATED
AND SpklArmed (Counter 3) IS EQUAL TO 1
THEN SET Spklr Start (Counter 2) TO 1
THEN TURN Sprinkler Pump (Out 26) ON FOR Zone 1 Time (Cust Set 8), RESTART TIMER IF RUNNING
THEN TURN Spk1 Front Bed (Out 17) ON FOR Zone 1 Time (Cust Set 8)
THEN DISPLAY "Sprinklers On" IN Legault House (Area 1) INDEFINITELY, [*] CLEARS
THEN SEND EMAIL MESSAGE 1 TO y.y@gmail.com (Email 1)
WHENEVER Spk1 Front Bed (Out 17) STATE IS TURNED OFF
AND Spklr Start (Counter 2) IS EQUAL TO 1
THEN TURN Sprinkler Pump (Out 26) ON FOR Zone 2 Time (Cust Set 9), RESTART TIMER IF RUNNING
THEN TURN Spk2 North Lawn (Out 18) ON FOR Zone 2 Time (Cust Set 9)
WHENEVER Spk2 North Lawn (Out 18) STATE IS TURNED OFF
AND Spklr Start (Counter 2) IS EQUAL TO 1
THEN TURN Spk3 Rear Bed (Out 19) ON FOR Zone 3 Time (Cust Set 10)
THEN TURN Sprinkler Pump (Out 26) ON FOR Zone 3 Time (Cust Set 10), RESTART TIMER IF RUNNING
WHENEVER Spk3 Rear Bed (Out 19) STATE IS TURNED OFF
AND Spklr Start (Counter 2) IS EQUAL TO 1
THEN TURN Spk4 South Lawn (Out 20) ON FOR Zone 4 Time (Cust Set 11)
THEN TURN Sprinkler Pump (Out 26) ON FOR Zone 4 Time (Cust Set 11), RESTART TIMER IF RUNNING
WHENEVER Spk4 South Lawn (Out 20) STATE IS TURNED OFF
AND Spklr Start (Counter 2) IS EQUAL TO 1
THEN TURN Spk5 F Lawn Left (Out 21) ON FOR Zone 5 Time (Cust Set 12)
THEN TURN Sprinkler Pump (Out 26) ON FOR Zone 5 Time (Cust Set 12), RESTART TIMER IF RUNNING
WHENEVER Spk5 F Lawn Left (Out 21) STATE IS TURNED OFF
AND Spklr Start (Counter 2) IS EQUAL TO 1
THEN TURN Spk6 RLawn Front (Out 22) ON FOR Zone 6 Time (Cust Set 13)
THEN TURN Sprinkler Pump (Out 26) ON FOR Zone 6 Time (Cust Set 13), RESTART TIMER IF RUNNING
WHENEVER Spk6 RLawn Front (Out 22) STATE IS TURNED OFF
AND Spklr Start (Counter 2) IS EQUAL TO 1
THEN TURN Spk7 R Lawn Rear (Out 23) ON FOR Zone 7 Time (Cust Set 14)
THEN TURN Sprinkler Pump (Out 26) ON FOR Zone 7 Time (Cust Set 14), RESTART TIMER IF RUNNING
WHENEVER Spk7 R Lawn Rear (Out 23) STATE IS TURNED OFF
AND Spklr Start (Counter 2) IS EQUAL TO 1
THEN TURN Spk8 R Lawn Mid (Out 24) ON FOR Zone 8 Time (Cust Set 15)
THEN TURN Sprinkler Pump (Out 26) ON FOR Zone 8 Time (Cust Set 15), RESTART TIMER IF RUNNING
WHENEVER Spk8 R Lawn Mid (Out 24) STATE IS TURNED OFF
AND Spklr Start (Counter 2) IS EQUAL TO 1
THEN TURN Spk9 FLawn Right (Out 25) ON FOR Zone 9 Time (Cust Set 16)
THEN TURN Sprinkler Pump (Out 26) ON FOR Zone 9 Time (Cust Set 16), RESTART TIMER IF RUNNING
THEN SEND EMAIL MESSAGE 2 TO y.y@gmail.com (Email 2)
THEN SET Spklr Start (Counter 2) TO 0
WHENEVER Stop Sprinklers (Task 17) IS ACTIVATED
THEN SET Spklr Start (Counter 2) TO 0
THEN TURN Sprinkler Pump (Out 26) OFF
THEN TURN Spk1 Front Bed (Out 17) OFF
THEN TURN Spk2 North Lawn (Out 18) OFF
THEN TURN Spk3 Rear Bed (Out 19) OFF
THEN TURN Spk4 South Lawn (Out 20) OFF
THEN TURN Spk5 F Lawn Left (Out 21) OFF
THEN TURN Spk6 RLawn Front (Out 22) OFF
THEN TURN Spk7 R Lawn Rear (Out 23) OFF
THEN TURN Spk8 R Lawn Mid (Out 24) OFF
THEN TURN Spk9 FLawn Right (Out 25) OFF
WHENEVER EVERY 10 SECONDS
AND THE DAY OF THE MONTH IS A MULTIPLE OF SpklrDays (Cust Set 18)
AND SpklArmed (Counter 3) IS GREATER THAN 0
THEN DISPLAY "Sprinklers Today" IN Legault House (Area 1) INDEFINITELY, [*] CLEARS
WHENEVER EVERY 5 SECONDS
AND Spklr Start (Counter 2) IS EQUAL TO 1
AND SpklArmed (Counter 3) IS GREATER THAN 0
THEN DISPLAY "Sprinklers On" IN Legault House (Area 1) INDEFINITELY, [*] CLEARS
WHENEVER THE TIME IS OnTime Spklr (Cust Set 17)
AND THE DAY OF THE MONTH IS A MULTIPLE OF SpklrDays (Cust Set 18)
THEN ACTIVATE Water Yard (Task 16)
AND SpklArmed (Counter 3) IS EQUAL TO 1
THEN SET Spklr Start (Counter 2) TO 1
THEN TURN Sprinkler Pump (Out 26) ON FOR Zone 1 Time (Cust Set 8), RESTART TIMER IF RUNNING
THEN TURN Spk1 Front Bed (Out 17) ON FOR Zone 1 Time (Cust Set 8)
THEN DISPLAY "Sprinklers On" IN Legault House (Area 1) INDEFINITELY, [*] CLEARS
THEN SEND EMAIL MESSAGE 1 TO y.y@gmail.com (Email 1)
WHENEVER Spk1 Front Bed (Out 17) STATE IS TURNED OFF
AND Spklr Start (Counter 2) IS EQUAL TO 1
THEN TURN Sprinkler Pump (Out 26) ON FOR Zone 2 Time (Cust Set 9), RESTART TIMER IF RUNNING
THEN TURN Spk2 North Lawn (Out 18) ON FOR Zone 2 Time (Cust Set 9)
WHENEVER Spk2 North Lawn (Out 18) STATE IS TURNED OFF
AND Spklr Start (Counter 2) IS EQUAL TO 1
THEN TURN Spk3 Rear Bed (Out 19) ON FOR Zone 3 Time (Cust Set 10)
THEN TURN Sprinkler Pump (Out 26) ON FOR Zone 3 Time (Cust Set 10), RESTART TIMER IF RUNNING
WHENEVER Spk3 Rear Bed (Out 19) STATE IS TURNED OFF
AND Spklr Start (Counter 2) IS EQUAL TO 1
THEN TURN Spk4 South Lawn (Out 20) ON FOR Zone 4 Time (Cust Set 11)
THEN TURN Sprinkler Pump (Out 26) ON FOR Zone 4 Time (Cust Set 11), RESTART TIMER IF RUNNING
WHENEVER Spk4 South Lawn (Out 20) STATE IS TURNED OFF
AND Spklr Start (Counter 2) IS EQUAL TO 1
THEN TURN Spk5 F Lawn Left (Out 21) ON FOR Zone 5 Time (Cust Set 12)
THEN TURN Sprinkler Pump (Out 26) ON FOR Zone 5 Time (Cust Set 12), RESTART TIMER IF RUNNING
WHENEVER Spk5 F Lawn Left (Out 21) STATE IS TURNED OFF
AND Spklr Start (Counter 2) IS EQUAL TO 1
THEN TURN Spk6 RLawn Front (Out 22) ON FOR Zone 6 Time (Cust Set 13)
THEN TURN Sprinkler Pump (Out 26) ON FOR Zone 6 Time (Cust Set 13), RESTART TIMER IF RUNNING
WHENEVER Spk6 RLawn Front (Out 22) STATE IS TURNED OFF
AND Spklr Start (Counter 2) IS EQUAL TO 1
THEN TURN Spk7 R Lawn Rear (Out 23) ON FOR Zone 7 Time (Cust Set 14)
THEN TURN Sprinkler Pump (Out 26) ON FOR Zone 7 Time (Cust Set 14), RESTART TIMER IF RUNNING
WHENEVER Spk7 R Lawn Rear (Out 23) STATE IS TURNED OFF
AND Spklr Start (Counter 2) IS EQUAL TO 1
THEN TURN Spk8 R Lawn Mid (Out 24) ON FOR Zone 8 Time (Cust Set 15)
THEN TURN Sprinkler Pump (Out 26) ON FOR Zone 8 Time (Cust Set 15), RESTART TIMER IF RUNNING
WHENEVER Spk8 R Lawn Mid (Out 24) STATE IS TURNED OFF
AND Spklr Start (Counter 2) IS EQUAL TO 1
THEN TURN Spk9 FLawn Right (Out 25) ON FOR Zone 9 Time (Cust Set 16)
THEN TURN Sprinkler Pump (Out 26) ON FOR Zone 9 Time (Cust Set 16), RESTART TIMER IF RUNNING
THEN SEND EMAIL MESSAGE 2 TO y.y@gmail.com (Email 2)
THEN SET Spklr Start (Counter 2) TO 0
WHENEVER Stop Sprinklers (Task 17) IS ACTIVATED
THEN SET Spklr Start (Counter 2) TO 0
THEN TURN Sprinkler Pump (Out 26) OFF
THEN TURN Spk1 Front Bed (Out 17) OFF
THEN TURN Spk2 North Lawn (Out 18) OFF
THEN TURN Spk3 Rear Bed (Out 19) OFF
THEN TURN Spk4 South Lawn (Out 20) OFF
THEN TURN Spk5 F Lawn Left (Out 21) OFF
THEN TURN Spk6 RLawn Front (Out 22) OFF
THEN TURN Spk7 R Lawn Rear (Out 23) OFF
THEN TURN Spk8 R Lawn Mid (Out 24) OFF
THEN TURN Spk9 FLawn Right (Out 25) OFF
WHENEVER EVERY 10 SECONDS
AND THE DAY OF THE MONTH IS A MULTIPLE OF SpklrDays (Cust Set 18)
AND SpklArmed (Counter 3) IS GREATER THAN 0
THEN DISPLAY "Sprinklers Today" IN Legault House (Area 1) INDEFINITELY, [*] CLEARS
WHENEVER EVERY 5 SECONDS
AND Spklr Start (Counter 2) IS EQUAL TO 1
AND SpklArmed (Counter 3) IS GREATER THAN 0
THEN DISPLAY "Sprinklers On" IN Legault House (Area 1) INDEFINITELY, [*] CLEARS
WHENEVER THE TIME IS OnTime Spklr (Cust Set 17)
AND THE DAY OF THE MONTH IS A MULTIPLE OF SpklrDays (Cust Set 18)
THEN ACTIVATE Water Yard (Task 16)