I gave very serious thought to concluding my last post with a two-word paragraph: "Hi Terry!"
Terry Woods said:
Tim said,
"PLCs have a reduced instruction set and are designed to do a limited amount and kind of work reliably."
As far as limited amount of work, and limited kind of work, you are absolutely correct! I have ALWAYS proclaimed that a PLC operating system is nothing more than a "limited", that is, "crippled", PC system. ALL PLCs are nothing more than PCs with "limited" functionality!
I was thinking of you as I wrote it
Not kidding, really was!
Terry Woods said:
Now, as far as that word... "reliably"...
It depends...
I will submit that the parts in a PLC are better quality than in your average Dell. I've yet to lose a Unitronics hard drive, or an AB floppy drive (lost a few of their floppies over the years, tho')
That's why I harp on the OS. Some people like Linux because it's free, but power users like it because it's trustworthy. You said it yourself - DOS is INFINITELY more durable than Winblows has ever been, and any softPLC that starts from Bill Gates' bloated albatross has "built their house upon the shifting sands".
As for a garbage program - I'll get semantic on you :
A PLC will run a good program reliably with predictable results.
A PLC will run a garbage program reliably with unpredictable results.
A PC with Windows will run either kind of program - with unpredictable results. Even a good program is reduced to the level of the lowest common denominator - the OS.
Terry Woods said:
The Mother Board holds the slots... as time goes on, Mother Boards tend to move forward and adjust to the latest popular card-types. But then, as time goes on, you should expect that the card that you are currently using to maintain I/O communication should be updated to the latest slot-type. After all, essentially, it's nothing more than a physical change.
Precisely my point. The new MRAM is ultimately a physical change, and will enhance performance over slower flash-based products - but it will do nothing to improve a poor-quality OS.
Terry Woods said:
Soft-PLCs are coming! In fact, they are already here! AND they are running in a PLC! The PLC happens to be the PLC that runs ControlLogix-5000!
I can get a VLC-based "Embedded PLC" running under Windows CE from Pheonix Contact - but I'd sooner build my controls system around a parrot. Nothing but "soft in a hard box".
http://www.123compute.net/dreaming/knocking/alex.html
Terry Woods said:
The key-point here is the way that ControlLogix-5000 handles Inputs. At any given time, if your 5000 code refers directly to the particular Input, it WILL NOT be referring to the Input Image Table! Instead, it will refer to the current condition of the input, between scans! This means... you DO NOT have the typical, expected, Snap-Shot of the Input conditions!
I've spent two weeks doing intense programming on a Trio motion controller, and I like it! But getting my brain into BASIC after so long in ladder was a struggle at first.
One thing I did not care for was the lack of an input image table! I LIKE that my inputs are fixed and determined at the start of the scan. I LIKE that my outputs are set at the end, and ONLY at the end. If I need to do something immediately, I have Immediate instructions for that.
Why?
Determinism. I want total control in an orderly manner. The idea that I could write a ladder, check an input in two different places in that ladder, and get two different results - it's chaos, man! Human sacrifice, dogs and cats living together - mass hysteria.
Terry Woods said:
However, looking into my "8-Ball"... I see... it's foggy, but... I see... Outputs consisting of "Triggers"! Nothing but "triggers". That is, the output DOES NOT consist of current that is capable of handling the particular load... rather, the "trigger" is applied to a unique, external, individual module which controls a unique output device!
In other words, the PLC Output simply passes a "trigger-signal" to something like an individual OPTO-22 Output Module. I also see that the "trigger-signal" is protected, internally, by a short-circuit scheme, just like what you find in many sensors these days.
This one I don't quite grasp - sounds like any basic IO network. Devicenet, modbus, take yer pick. I can get an encoder module from Beckhoff, tie it to my trusty Unitronics Vision 280, and do simple servo control. I wouldn't, because the comparatively slow scan time of a V280 (6-8 mS typical) would not be responsive enough for most applications - but I COULD!
Having been victimized by the tag team of VLC and devicenet on numerous occasions (in the dropped-the-soap-in-the-prison-shower sense), I can personally attest that this combination of soft and hardware is still hindered by it's lowest common denominator - Winblows.
Terry Woods said:
When that happens... the difference between Hard-PLC and Soft-PLC will be nothing more than blind loyalty to... a has-been.
I can't hardly wait!
I simply beg to differ. While the day may yet come when PC control gets reliable enough to be trusted, I don't expect to see it actively ousting the PLC before I retire. These workhorse controllers are just more dependable, and it will be many years before PC controls can overcome the damage done to their reputation 10 years ago when everybody thought they were the cat's meow - until the Y2K bug. And Michelangelo. And PCI displaced ISA. And...
TM