![]() | ![]() | ![]() |
| | |||||||
| General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion? |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| I am being taught PLC as a part of out course. However, I am not able to appreciate PLC at all... When we have such low cost microcontrollers, Why on earth do we need PLCs? I read that PLC programmes are easier.... How? Why do we need PLCs today? Or are they just a relic from the pre-microprocessor days?
__________________ Bharath Bhushan Lohray. M.Sc. Electronics. | |
| |
| | (permalink) |
| PLC's are usually built as complete modules with high voltage I/O Programming may be easier but that would only indicate that PLCS use a higher level language. Mind you modern PLC's are actually micro controllers/processors with a lot of hardware wrapped around them.
__________________ "Because I be what I be. I would tell you what you want to know if I could, mum, but I be a cat, and no cat anywhere ever gave anyone a straight answer, har har." | |
| |
| | (permalink) |
| PLCs grew out of an industrial need to replace hardwired relay logic used in electrical field control panels. They have sense grown to include PID process control and communications of analog and digital inputs and outputs to central control systems and other high level functions. PLCs requirements include wide temperature environment and rugged industrial reliability. Most were/are programmed using a relay logic symbology on PCs called ladder logic. So while PLCs are micro controllers, they are a niche part that have very strict reliability and safety features designed into them and will probably remain a small special application of the total micro controllers market. Brand name and reputation is important to the people that use and specify such equipment, Allen Bradly is one major player in the PLC market. Lefty | |
| |
| | (permalink) |
| Hello. Just found this forum today, and had to register to post in this thread Comparing PLC's and Micro controllers is like comparing apples and oranges. PLC's Have most of the I/O hardware bolted on, unless you want specific modules like A/D and PI/PID, which just plug in if they are needed. It provides an unchanging standard platform, where you can train an engineer/technician ONCE to use it and with a bit of ingenuity can find a solution to many problems. PLC are still in heavy use throughout industry, they are robust, easy to use, even easier to maintain. They never need reset and you don't need to learn any high/Low level languages. Which is great if your maintainence team are mechanical fitters and electricians. As there forte is not programming, its getting the job done, and done well, usually under pressure. With the newer siemens technology's (step 5 and 7) it is much like using Labview. OEM's like PLC's as the original code can't be tampered with much, and variables are easily edited, I.E. timers, KP's, etc. Later additions to tools do not require a rewrite of the entire code. A new module is registered and the new code is added, Job done! And many engineers would rather have a solid state logic controller as they are far more reliable. For some however the common 24v I/O is a stumbling block, as lower voltage I/O are commonly desirable. However a quick look through RS/farnell catalogues etc show a plethora of 24V devices. On the other hand Micro controllers are far more designer friendly. You can pick and choose the µC, the I/O the available memory, secure the code so it can not be downloaded or copied. However µC's can be a bit temperamental at times. They are more susceptible to undesired conditions. Vibration, temperature, voltage regulation, or just having an off day. µC's can also be very compact, as you can leave out any modules that you do not wish to use, or you can design your own. One of the most important factors of this argument is often ignored. How the I/O is handled. In a µC the code is executed line by line, in unfaltering fashion, one clock cycle at a time. However in a PLC all of the I/O is read in one cycle and loaded into a register. This makes coding PLC's tricky at times and even something as simple as a traffic light sequence, with a pedestrian button can be very confusing if this factor is ignored. This does have advantages though,an EMO will work instantly on a PLC However a µC would have to wait until the emergency routine before it could stop the code. I could ramble on all day about this, but i think that's enough to get started | |
| |
| | (permalink) |
| You appear to be missing the point?, most modern PLC's are just a pre-programmed micro-controller or micro-processor system. The reason the programming is different is because it's designed to emulate a PLC, which makes it a lot slower than a native micro, but still much more than fast enough - the real world uses for PLC's are pretty slow applications. | |
| |
| | (permalink) |
| Pretty slow in normal micro terms would be something like a 10ms loop, but for turbine speed control, compressor anti-surge control, that's quite quick. Typical cycle times for temperatures would be 1000ms, for pressures and flows anything from 250ms to 500ms. I'm in the Process Control business, and yes, it true, micro's form the heart of the system, but as n00beR has stated, PLC's and the way it's programmed makes it much easier for non programmers to follow the logic diagrams and debug the code to find a fault. By the way, most modern PLC's adhere to IEC 61131-3, which makes Ladder logic only one of four ways of programming a PLC. Most industries will not accept a home-built type micro controller, simply because of the maintenance requirements placed on these controllers. Most industries would simply brand these as BLACK BOXES and hope and pray that they never stop working, else they have problems. | |
| |
| | (permalink) |
| Can I safely say that PLCs work parallel while the microController works in a sequential manner? And can Rungs be interchanged in a ladder diagram? Thanks in advance.
__________________ Bharath Bhushan Lohray. M.Sc. Electronics. | |
| |
| | (permalink) | |
| Quote:
Not sure what you mean about interchanging in a ladder diagram, but the user defines the desired application logic while in the program mode. Lefty | ||
| |
| | (permalink) |
| I think it may be important to differentiate that a plc is the term used to describe an entire system that includes hardware and software. The reality is that plc's actually use some type of microcontroller or microprocessor internally The primary difference is the programming language that is used, often some type of ladder logic, that is simply a high level language that is either interpreted or compiled to machine code. | |
| |
| | (permalink) | ||
| Quote:
Quote:
Function blocks gives a very clear and graphical representation of the logic as you code, and structure text is very much like Pascal, C++ etc. type of programming. By using a combination of these two languages we have a very wide range of applications that can be programmed, ranging from drive control blocks, PID closed loop control, Profibus, Can-Bus, Ethernet communication management, Communication management between different PLC supply vendors and much much more. In conclusion. PLC's are here to stay. Process automation in factories, Power stations, Airplanes, Boats, etc cannot achieve automated control without PLC's and DCS's. Small Micro Controllers are ideal for single applications like washing machines, TV's, Electric Fence controller, Alarm units etc. But for a combination of controllers forming a massive production plant, Micro Controllers will simply be too complicated to commission, debug and maintain. | |||
| |
| | (permalink) |
| I have a couple of PLCs, made by Comfile Technology. They are no where near as expensive as Allen Bradley, or Siemens, but seem to function as well. They are programmed in ladder logic, and appear to run parallel processes. I didn't find programming them all that interesting; no where near as challenging as a microController. The one sitting in front of me has both an Atmega16 and a PIC 16c712. The other, more powerful one, is sealed in a case so I don't know what is in there. | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) |
| PLCs are more convenient than microcontrollers and you have the added advantage of it being built into a tough little box that's already been tested. All you do is write the software, connect it up and away you go. Implementing this same system using a microcontroller would involve many phases of protyping, in most cases it's actually cheaper to use a PLC as it saves the design costs.
__________________ I also post at the following sites: http://www.stop-microsoft.org http://www.heated-debates.com Screen name: Aloone_Jonez | |
| |
| | (permalink) |
| I can say that in the industrial control world PLCs are considered 'fast' devices. Because the input and output scan times are consistant or 'deterministic' They are favored for applications like anti-surge control on large compressors and steam turbines. Such applications are unsuited for the much slower main Distrubuted Control Systems that handle most of the normal process control applications. Bottom line is that PLCs are wonderful, reliable and effective solution if applied to the right application. The hardware is considered very cost effective in the industry compared to other solutions. Only complaint I hear about is the high cost and scarcity of good PLC programmers that really understand process control and can develop the code on time and on budget Last edited by Leftyretro; 13th April 2007 at 12:17 AM. | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| PLC , Programming question | jbelectric777 | General Electronics Chat | 3 | 27th March 2007 06:18 PM |
| 8-bit microcontrollers | samcheetah | Micro Controllers | 8 | 23rd December 2006 09:39 AM |
| beginner in microcontrollers | lordsathish | Micro Controllers | 13 | 6th June 2005 02:18 PM |
| Atmel microcontrollers question??? | auto_mitch | Micro Controllers | 1 | 9th November 2004 12:08 AM |
| Starting with microcontrollers....programming/etc... | ksmyarse | Micro Controllers | 10 | 23rd July 2004 09:50 AM |