Jump to content

Repeat Program


pwerboost

Recommended Posts

Posted

Hi guys. i need help with a program

 

basically i need a program for my irrigation system.

 

The program needs to open a shut off valve first then start zone 1 for 5 min then move to next zone, total 5 zones, then repeat the whole process 4 times and after the Repeat command is completed, i need to close the shutoff valve.

 

I can get almost everything to work but i don't know how to execute an order only when the Repeat cycle is completed.

 

Thanks

Posted (edited)

To end a repeat cycle add a "Repeat 1 time" to the end of the repeat body. Then you can add another program line to shut off your valve.

Edited by andyf0
Posted (edited)

You said you had it working apart from the last command to close the valve.

 

Open Valve

Repeat 4 times

  Start Zone 1

  Wait 5 minutes

  Start Zone 2

  Wait 5 minutes

  ......

Repeat 1 time

  Close Valve

Edited by andyf0
Posted

Thank you for the explanation sir, one last question. It would matter if i put Repeat 4 time at the end or it has to say Repeat 1 time, i just wonder what would happen.

Posted

Only statement that occur after the Repeat command are repeated.

Guest
This topic is now closed to further replies.

×
×
  • Create New...