Step 8Setting up a Program
Before we do that, lets turn on the timer again, so that the automatic functions can operate.
Then, select "Program 0-6" at the top of the screen to view the current program states 0 through 6. The screen below will be displayed.
The program shown uses 2 states;
State 0 which turns on relays 1 3 & 5 for 1 second then jumps to state 1
and
State 1 which turns on relays 2 4 & 6 for 1 second then jumps to state 0
Round and round it goes....... alternating every second.
Lets modify it so that state 0 turns on relays 1 3 & 5 for 10 seconds, then goes to state 1.
Just type 0 in the state selection box at the bottom and push 'Modify". This will cause the modify screen to be shown. It is also shown below.
In the modify screen you are shown the state (or step) that you are changing, and you can alter the wait time (between 1 and 65000 seconds), the step to jump to (between step 0 and step 19, and what outputs to turn on for this step.
Just make your changes by entering 10 for the wait time, 1 for the next state, and select relays 1, 3 & 5. Then push the Modify button - Your step will then be saved, and you can re-select the "Program 0-6 tab" to see the whole program.
The steps will automatically be saved into EEPROM on the micro, so that your program will run automatically by itself as soon as the board is powered up.
| « Previous Step | Download PDFView All Steps | Next Step » |
![]() |
Add Comment
|















































