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 October 18th, 2017, 09:33 PM   #1
mihika2703
Member
United States

mihika2703 is offline
 
Join Date: Oct 2017
Location: USA
Posts: 1
Exclamation RS Logix Project help (Garage door opener)

Hi Everyone. Could you please help me out with this project. I have three tests and this project due within 5 days. I have no idea where to start.

Apply the knowledge of programmable logic control and industrial control systems to develop a control system for an automated garage door opener. You have been assigned the responsibility to develop the sequence of activities that are needed to successfully operate the garage door opener and to prepare a PLC program to monitor and control these activities. Details of the operations of the garage system are shown as follows.
The various activities involved in the operation of a garage door control system include the following:
1. The garage door is opened or closed using push-button switches X1, or remote control X2 and X3.
2. Depressing X1, X2, or X3 will open the garage door if it is closed, or close it if it is open.
3. To open the garage door, the opener motor should turn counter-clockwise (i.e., output Y1 is activated).
4. To close the garage door, the motor should turn clockwise (i.e., output Y2 is activated).
5. Energizing outputs Y1 and Y2 simultaneously will stall the opener motor and therefore they should NOT be simultaneously activated.
6. There are two limit switches that indicate fully open (X4) or fully closed (X5) status of the door.
7. The two limit switches (X4 and X5) are also used to stop the motor while closing or opening.
8. Excess load on the motor (while running) is detected by input X6.
9. The garage door reverses its direction upon detecting an overload (X6).
10. The garage light (output Y3) will go ON and stay ON when the garage door is being opened or closed. The garage light Y3 will remains ON until 10 seconds after the completion of the garage door-opening or the door-closing process.
11. A photo-sensor (X7) is used to detect obstacles during garage door closing (only). During the garage door-closing, if an object passes the door to trigger the photo- sensor X7, it will reverse the closing of the garage door and also sounds an alarm (output Y4).

Using RSLogix, develop the corresponding programming code for the mentioned operations of the garage door control system and realize them in the RSLogix programming software:
(Note: for defining the timer, create a tag and select timer as the data type. When the timer finishes timing, the output is tagname.DN)

All help is highly appreciated. Lots of virtual hugs.
  Reply With Quote
Old October 18th, 2017, 10:01 PM   #2
willxfmr
Lifetime Supporting Member
United States

willxfmr is offline
 
willxfmr's Avatar
 
Join Date: Nov 2013
Location: Wisconsin
Posts: 373
Start with this

Let's begin.
1 write down your scope of work, what is it that you need.
2. write a sequence of events in general terms.
3. review your notes.
4. rewrite your sequence and this time add sensors, motors.
5. review your notes.
6. write down your I/o.
7. rewrite your sequence and this time add the sensors and motors.
in this step, you are the operator and also the plc looking for the I/o to be made.
This is the starting point for all projects. Once you have done this, start with one output and work backwards until you have accounted for the conditions needed to make it true. Then move on to the next output.

Now lets see what you can do.


Bubba.
__________________
“Now will come the nay-sayers with all the reasons why you shouldn't do this. Some of them are teachers, and some of us are doers. Besides, you have got to let the smoke out of this equipment every now and then, or it starts to clog up the chimney.”
~Lancie1
__________________
“Now will come the nay-sayers with all the reasons why you shouldn't do this. Some of them are teachers, and some of us are doers. Besides, you have got to let the smoke out of this equipment every now and then, or it starts to clog up the chimney.”
~Lancie1
  Reply With Quote
Old October 19th, 2017, 07:59 AM   #3
LoganB
Lifetime Supporting Member
United States

LoganB is offline
 
Join Date: Apr 2017
Location: Michigan
Posts: 601
Five days is more than enough time to write a program for this process. A seasoned programmer could knock one out in about 15 minutes. So don't panic!

Follow Bubba's advice and give us an attempt at a program so that we have something to work with as far as suggestions and guidance. We won't do your homework for you, but a lot of the members are happy to help guide you through it.

Create tags for your inputs and outputs, and then pick a point that makes sense to start from. Maybe the door being closed. Then start to write the program for how you would open the door based on the requirements. You have three inputs that can engage the door opening. A limit switch will tell you when to stop. Just create it one piece at a time and then post your results either in PDF form or by zipping the program and uploading it.
__________________
Present: Controls Engineer
Future: Skynet Engineer
  Reply With Quote
Old October 19th, 2017, 12:59 PM   #4
jrwb4gbm
Lifetime Supporting Member + Moderator
United States

jrwb4gbm is offline
 
Join Date: Apr 2002
Location: NC
Posts: 2,236
Not what you are looking for but here is a link to a file in the Downloads for a much simpler exercise to help you get started and something to look at.
Link:
http://www.plcs.net/downloads/index....Allen_Bradley&
  Reply With Quote
Old October 19th, 2017, 03:53 PM   #5
harryting
Lifetime Supporting Member
United States

harryting is offline
 
harryting's Avatar
 
Join Date: May 2002
Location: Puget Sound
Posts: 2,004
千里之行,始於足下,
  Reply With Quote
Old October 19th, 2017, 06:48 PM   #6
jrwb4gbm
Lifetime Supporting Member + Moderator
United States

jrwb4gbm is offline
 
Join Date: Apr 2002
Location: NC
Posts: 2,236
For steps 1 and 2, here is a link to another example in the Downloads Section for alternating the input to be used for either opening or closing. Still not the complete answer. This link and the other one I posted, plus some of the other files in the Downloads Section, will provide you with many pieces of the program.

Link:
http://www.plcs.net/downloads/index....Allen_Bradley&

Edit: What harryting posted is so very true, Google can provide the translation, if needed.

Last edited by jrwb4gbm; October 19th, 2017 at 06:57 PM.
  Reply With Quote
Old October 19th, 2017, 11:57 PM   #7
kalabdel
Member
Canada

kalabdel is offline
 
Join Date: Feb 2015
Location: Ontario
Posts: 410
Bonus points:

What happens if you press X1,X2 or X3 while the door is opening or closing?
What if you want to stop the door in any position other than fully open or fully closed?
What happens if an overload is detected as the door is opening?
  Reply With Quote
Old October 20th, 2017, 03:22 AM   #8
dowthebow
Member
Ireland

dowthebow is offline
 
Join Date: Aug 2014
Location: Kildare
Posts: 49
Quote:
Originally Posted by kalabdel View Post
Bonus points:

What happens if you press X1,X2 or X3 while the door is opening or closing?
What if you want to stop the door in any position other than fully open or fully closed?
What happens if an overload is detected as the door is opening?
Answer to Q3 is part of the problem
  Reply With Quote
Old October 20th, 2017, 03:34 AM   #9
dowthebow
Member
Ireland

dowthebow is offline
 
Join Date: Aug 2014
Location: Kildare
Posts: 49
OP, these can be overwhelming at first but breathe deep and logically work through the steps.
You are basically going to have 5 lines of code, one for opening and one for closing, one for garage light, one for alarm, one for timer.
Add in all these outputs and then populate the rungs depending on what starts and stops the motor using Bubba's method above.
  Reply With Quote
Old July 11th, 2019, 08:11 AM   #10
Marius Titulescu
Member
Romania

Marius Titulescu is offline
 
Join Date: Mar 2016
Location: Cluj-Napoca
Posts: 12
Could you please share a functional version of the code with me?
Thanks in advance!
___________________________________
Marius from Agro Garage
  Reply With Quote
Old July 11th, 2019, 09:06 AM   #11
Firejo
Member
United States

Firejo is offline
 
Firejo's Avatar
 
Join Date: Jun 2008
Location: Redmond, WA
Posts: 1,202
Quote:
Originally Posted by Marius Titulescu View Post
Could you please share a functional version of the code with me?
Thanks in advance!
___________________________________
Marius from Agro Garage
You know this thread is 2 years old, right?
__________________
Go Hawks!!!
  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
Rockwell 1756-ib32 v3.006 compatible with rs logix 5000 v10 namdoog07 LIVE PLC Questions And Answers 4 August 22nd, 2017 07:13 AM
RS View with RS Logix 500 srv LIVE PLC Questions And Answers 0 September 30th, 2010 02:09 AM
RS Logix Activation and RS Linx rick2517 LIVE PLC Questions And Answers 1 October 23rd, 2005 04:10 PM
Rs Logix 500 And 5000 sanjay_snj LIVE PLC Questions And Answers 6 June 13th, 2005 10:49 AM
RS Logix 500 randy LIVE PLC Questions And Answers 14 January 23rd, 2003 07:12 PM


All times are GMT -5. The time now is 07:49 AM.


.