Traffic exercise 1

amhd90

Member
Join Date
Sep 2015
Location
Beirut
Posts
68
Hello,
I am trying to resolve traffic simulation exercise 1 where we have:
Light O:2/00 (Red) = 12 seconds ON
Light O:2/02 (Green) = 8 seconds ON
Light O:2/01 (Amber) = 4 seconds ON
The sequence now repeats with Red = ON.

For simplicity, I eliminated amber color for now. I made a ladder logic for green and red with two timers. First, basically it sounds good ?
Secondly, i cant make the timers to reset, so they can start up again continuously.
Any Help ?

1.jpg 2.jpg
 
Last edited:
You could have an overall cycle timer of 24s auto resetting (i.e. use a NC of the timer DN bit) then switch the various lights on and off using LIM testing the timer TT value.

e.g.:

Between 0 and 12-> Red on
Between 13 and 20 -> Green on
Between 21 and 24 - > Amber on

Tweak to get timings right.

(You've got no Red/Amber, I suppose that's a British thing? But it's easily added if you follow the above method)
 
You could have an overall cycle timer of 24s auto resetting (i.e. use a NC of the timer DN bit) then switch the various lights on and off using LIM testing the timer TT value.

e.g.:

Between 0 and 12-> Red on
Between 13 and 20 -> Green on
Between 21 and 24 - > Amber on

Tweak to get timings right.

(You've got no Red/Amber, I suppose that's a British thing? But it's easily added if you follow the above method)

So one timer with a limit test
when t=12 close red open green and etc... ok i get it, but in the exercise they told to use 2 or more timers in cascade. and i want to resolve as in the exercise first. And I found it
Finally. I just add a final rung shown in figure below and voil†a. Now I will re-do it with three lamp colors and post the solution here or in the upload/download section.

3.jpg
 
Last edited:

Similar Topics

Hey there, I have been doing all these exercises until this one where you have to control the pedestrians aswell. So my question here is, how do...
Replies
2
Views
3,434
Hi.. I've just completed Exercise 2 of Traffic Light simulation (using WordCompare). The one about Walk sign showing and blinking. Please...
Replies
2
Views
3,074
I am having problem is here what i has .I need 1 second period when both direction will have their red light illuminated threr sre actually 2 such...
Replies
5
Views
11,602
I am currently am in a PLC class and need urgent help on how the ladder logic would be laid out. I understand how to get the traffic lights to...
Replies
19
Views
447
Hi all, I need help to create this program I have problems with the flasher. Develop the program below using RSLogix 500 software. Be sure to...
Replies
10
Views
867
Back
Top Bottom