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 eventually, through a series of lessons, thought it would be more operator friendly to use only 1 switch so we wrote code to take care of that. In this lesson, we will continue to modify our program so that when S1 pressed, the first output will turn on and then after 1 second, it will turn off and the next output will turn on. We’ll repeat this cycle until all lamps have cycled on and off, from top to bottom. We then want to reverse the trend to light the lamps from bottom to top. Open this lesson and you’ll see what we need to do to accomplish this.
Turning on PLC Outputs in Sequential Order – Part 1:
http://bit.ly/2iwqUPs
Turning on PLC Outputs in Sequential Order – Part 2:
http://bit.ly/2ixeBSH
Turning on PLC Outputs in Sequential Order – Part 3:
http://bit.ly/2zg7TeB
Turning on PLC Outputs in Sequential Order – Part 4:
http://bit.ly/2y1P3DO
Turning on PLC Outputs in Sequential Order – Part 5:
http://bit.ly/2AmzY1o
Turning on PLC Outputs in Sequential Order – Part 6:
http://bit.ly/2ixEv9h
Turning on PLC Outputs in Sequential Order – Part 8:
http://bit.ly/2lRWSut
Turning on PLC Outputs in Sequential Order – Part 9:
http://bit.ly/2iwZZmo
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 ...
We created a series a while back called Turning on PLC Outputs in Sequential Order and that series had 9 parts. We have again opened up that series to address the many questions and comments among the RealPars students. This was an extensive series that walked you through the programming of turni...
4 Comments