There may be an occasion when you need to use a single switch in the field as both a start and stop command. In this lesson, we will demonstrate exactly how to use a switch first to start a single motor and then once the motor is running, use the same switch to stop the motor.
You will also see a couple of ways, using the same single switch, to turn on multiple outputs all at once. Also, that same single switch will be used to turn off those outputs at the same time.
Let’s take a look at this lesson and see how we can accomplish this task.
In previous lessons we demonstrated how to vary the time value in a timer using three separate switches and some move instructions. In this lesson, we are going to accomplish the exact same task but using only a single switch.
We will run the conveyor for 5 seconds with the first press, then ...
In the previous lesson we discussed some ways in which to organize your thoughts and some advice on to how to tackle your program writing tasks.
In this lesson, we are going to expand on that advice and get started with the simplest portion of the program. We are going to discuss how we decid...
In the previous lesson we began with some simple timing logic and expanded the program a bit to include some things that we will need to keep track of our button presses. In this lesson, we continue with the logic, first adding some code to take care of the 7 seconds parameter.
After completi...
9 Comments