You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

PLC training tools sale

Reply
 
Thread Tools Display Modes
Old November 3rd, 2002, 01:34 PM   #1
matty22
Member
United Kingdom

matty22 is offline
 
Join Date: Nov 2002
Location: Wolverhampton
Posts: 1
Lightbulb Traffic Lights

Can anyone tell me the PLC program for a traffic light sequence. I am doing Plcs in in a collage course and I have been set the task to find this out if anyone know it would be very helpful.
  Reply With Quote
Old November 3rd, 2002, 01:58 PM   #2
Caveman
Member
United States

Caveman is offline
 
Caveman's Avatar
 
Join Date: May 2002
Location: Cadiz, Kentucky
Posts: 106
ladder

light is green_____________________GO!
---| |------------------------------------------( )

light is yellow____________________go really fast
---| |------------------------------------------( )

light is red_______________________you better stop
---| |------------------------------------------( )

/ladder
__________________
littleriverkayaks.com

Last edited by Caveman; November 3rd, 2002 at 02:00 PM.
  Reply With Quote
Old November 3rd, 2002, 02:00 PM   #3
Steve Bailey
Lifetime Supporting Member + Moderator
United States

Steve Bailey is online now
 
Steve Bailey's Avatar
 
Join Date: Apr 2002
Location: The boondocks of Western Massachusetts USA
Posts: 4,664
Search the archives here. This one's been done to death.

Please post a picture of your PLC collage when you're done.
  Reply With Quote
Old November 3rd, 2002, 07:37 PM   #4
Terry Woods
Member
United States

Terry Woods is offline
 
Join Date: Apr 2002
Posts: 3,170
Refer to this thread for tips...

http://www.plctalk.net/qanda/showthr...&threadid=1432


But, use this chant instead...

"BE THE COMMUTER...BE THE COMMUTER...BE THE COMMUTER..."

PS, I'd like to see your collage too!
  Reply With Quote
Old November 3rd, 2002, 08:33 PM   #5
Tom Jenkins
Member
United States

Tom Jenkins is offline
 
Tom Jenkins's Avatar
 
Join Date: Apr 2002
Location: Milwaukee, WI
Posts: 4,956
If you just want an answer, go to the appendix in the Allen Bradley Micrologix manual. If you want an education, post your attempt here and we will help find the problems. If you want a collage buy a glue gun.
  Reply With Quote
Old November 3rd, 2002, 09:40 PM   #6
porky
Member
Portugal

porky is offline
 
porky's Avatar
 
Join Date: Oct 2002
Location: Maia
Posts: 76
Fancy Exclamation traffic lights

Try this site
http://www.geocities.com/plc_guide/

Also try Amazon.com for an English dictionary...

Good Luck Mate
  Reply With Quote
Old November 4th, 2002, 12:34 AM   #7
jdr
Member
United States

jdr is offline
 
Join Date: Jun 2002
Location: North Carolina
Posts: 11
Traffic Lights

Funny enough that this should get mentioned. I just wrote two programs for my class that are the good 'ol traffic light control jobs. One is just one-way, and the other controls an intersection. Cyclic cascading timers at its finest, my friends. I was going to post a jpg of the code and ask for tips and tricks on it, mainly going over mistakes and taking suggestions on cleaning it up. It works in simulation, but you know how that goes. At any rate, I don't have access to free image hosting, and both jpgs are too large to be attached to the post, so if anyone would be kind enough to let me know they're willing to look over it, I'd be happy to email it to whomever is interested.

Thanks,
Josh
  Reply With Quote
Old November 4th, 2002, 07:05 AM   #8
Terry Woods
Member
United States

Terry Woods is offline
 
Join Date: Apr 2002
Posts: 3,170
jdr,

Can your code handle this? Just wondering.



Yes, I'd like to see your code.

What is the file format?
  Reply With Quote
Old November 4th, 2002, 10:51 AM   #9
PLucas
Member
England

PLucas is offline
 
PLucas's Avatar
 
Join Date: Apr 2002
Location: Gillingham Kent
Posts: 1,743
Deja Vu

6 or so weeks into a new college (at least I can spell collage!) term and what do we get.....

The good old traffic light question.

And of course, Terry's pictorial example of every students nightmare

My thanks to Terry for posting that picture again!

Paul
  Reply With Quote
Old November 5th, 2002, 12:26 AM   #10
jdr
Member
United States

jdr is offline
 
Join Date: Jun 2002
Location: North Carolina
Posts: 11
Traffic Lights

Terry,

I hope and pray that I never have to program something like that. Thinking about it makes me want to stop messing with controls in general...

At any rate, the programs were written in LogixPro, as I'm far too cheap to buy RSLogix just to play with at the house. Both are saved, however, as jpg images for easy viewing in a web browser, program of choice, etc... Just lemme know and I'll get them on the way.

Oh well, gotta run. My copy of "Automating with Step 7 in STL and SCL" got here this afternoon while I was at work. I'll be the envy of all my friends after reading that book.

Josh
  Reply With Quote
Old November 5th, 2002, 01:35 AM   #11
jvdcande
Member
Belgium

jvdcande is offline
 
jvdcande's Avatar
 
Join Date: Apr 2002
Location: Menen
Posts: 1,948
Matty22,

a simple search for "traffic light" should have given you plenty of info. One of the results should have been http://www.plctalk.net/qanda/showthr...=&threadid=258 where you find a Grafcet (or Graphcet - whichever you prefer) design for a fairly simple traffic light control. Don't panic if you don't have a 72 inch monitor, the last contribution to the thread shows the design on a more conventional format .

Of course, this is only a design. The programming you have to do yourself. And there's plenty of info about grafcet on the internet. Just don't be lazy, get studying!

Kind regards,

Jean Pierre Vandecandelaere
  Reply With Quote
Old November 5th, 2002, 05:37 AM   #12
Sean Caldwell
Member
United Kingdom

Sean Caldwell is offline
 
Sean Caldwell's Avatar
 
Join Date: Oct 2002
Location: Swindon
Posts: 21
Question

i think i know exactly what your doing cuz i did the exact same thing last year.

is it a push button activating the timer for the lights to change
green ligh- red man
amber - red man
green - green man and buzzer
flashing amber - flashing green man
green - red man

if so i'll try and find my code for it. its stored somewhere.

its all ladder logic you need 2 cyclic timers (1 is possible though)
couple of ton and a lot of typing up
__________________
(_8(|)
  Reply With Quote
Old November 5th, 2002, 05:40 AM   #13
Sean Caldwell
Member
United Kingdom

Sean Caldwell is offline
 
Sean Caldwell's Avatar
 
Join Date: Oct 2002
Location: Swindon
Posts: 21
here it is actually
__________________
(_8(|)
  Reply With Quote
Old November 5th, 2002, 05:42 AM   #14
Sean Caldwell
Member
United Kingdom

Sean Caldwell is offline
 
Sean Caldwell's Avatar
 
Join Date: Oct 2002
Location: Swindon
Posts: 21
or not.

wont let me upload the word document.

ps. it was just the flow chart and boolean
__________________
(_8(|)
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
Traffic Lights ReXoR LIVE PLC Questions And Answers 19 February 6th, 2006 11:21 AM
Traffic Lights Again D.DUCK LIVE PLC Questions And Answers 20 April 24th, 2005 01:29 PM
traffic lights xitro LIVE PLC Questions And Answers 2 February 1st, 2005 08:04 AM
City Traffic Lights Johnny Rotten LIVE PLC Questions And Answers 35 February 1st, 2005 06:39 AM
Traffic Lights jefferypb LIVE PLC Questions And Answers 14 September 19th, 2003 04:45 PM


All times are GMT -5. The time now is 05:48 PM.


.