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 :mu:C, the I/O the available memory, secure the code so it can not be downloaded or copied.
However :mu: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.
:mu: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 :mu: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 :mu: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
