In this lesson, we have a factory environment that has a conveyor, some switches that run the conveyor for different lengths of time, a stop switch, and a stack light with running and stopped lamps. We need to write a program that will run the conveyor for specified lengths of time. The timing interval will be based on which switch is pressed so we’ll need to be able to change the timer interval based on those switches. We also need to light the lamps depending on whether the conveyor is running or stopped. So let’s open this up and do some time shifting.