TIA Portal: Traffic Lights Sequencer With Shift Register

Here is a simple example of using SHL shift instructions to track the steps during a sequence of traffic lights. The bits pattern stored in a byte will be shifted left and the sequential steps will be activated by the corresponding memory bits. The whole process is programmed in TIA Portal, simulated on the PLCSIM, with a WinCC control panel.