From the course: PLC Sequencer Logic
Unlock the full course today
Join today to access over 24,900 courses taught by industry experts.
Traffic light ladder logic - Ladder Logic Tutorial
From the course: PLC Sequencer Logic
Traffic light ladder logic
- [Instructor] The sequencer output instruction has the following parameters. The file is #B3:0, the mask is 03F, destination is output two, control file is R6, and finally, the length is four. For the solution, I'm going to use a timer to achieve the false to true trigger to go through the sequencer steps of the traffic lights. Any preset value for the timer can be used. I used 30 seconds between the transition. However, note that 30 seconds is short time, obviously. It is used for demo only. Then when the timer is done, the position on the sequencer instruction is incremented by one for each false to true transition of the sequencer run. When the position parameter reaches four, the value in the length parameter, the done bit in the instruction is set to one. On the next false to true transition on the run, the position parameter is automatically reset to one. And the process keeps repeating by alternating…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
Example dishwasher sequence1m 8s
-
(Locked)
Dishwasher sequence truth table2m 52s
-
(Locked)
Dishwasher sequence ladder logic2m 48s
-
(Locked)
Dishwasher software demo2m 32s
-
(Locked)
Dishwasher SQO challenge53s
-
(Locked)
Dishwasher SQO solution56s
-
Traffic lights example1m 36s
-
(Locked)
Traffic light sequence truth table1m 20s
-
(Locked)
Traffic light ladder logic1m 30s
-
(Locked)
Traffic light software demo1m 5s
-
(Locked)
Traffic light SQO challenge2m 41s
-
(Locked)
Traffic light SQO solution2m 8s
-
-
-
-
-