In the previous lessons we have been working with some code that turns on multiple lamps with the press of a single switch. After a short time delay, the lamps are supposed to turn off one at a time, one every second until all of lamps are turned off. As you know during writing and testing, we have discovered a couple of problems with the code and that it’s not working quite as we expect. In this lesson we are going to continue working with that program and find out exactly what we need to do in order for the program to work as intended. Let’s open up the lesson and complete the program.
In previous lessons, we have been working with the shift instruction and have written a few lines of code that will turn on and off some PLC outputs in a specific order. We’ve been writing code to create different patterns to turn on and off 16 lamps. We started out using 2 switches and eventuall...
We have been working, for a few lessons, on a PLC shift instruction to turn on and off some lamps, in different sequential patterns. We will continue to modify our program from the previous lesson, where we worked with the logic such that we wanted to turn on the first lamp and after a delay, tur...
We have been writing some code that will turn on and then of some lamps, one at a time, beginning from the top of a display to the bottom. We want to start this sequence with press of a button. After the lamps sequence to the bottom and prior to the last lamp turning off, we want the sequence to ...
11 Comments