the PLC the OP used is a special purpose "computer" that has conditioned I/O for switches and digital inputs and digital outputs, often A/D and D/A too but it appears the OP did not use any. The PLC also has native O/S programming which is specialized to run control programs that respond to the I/O and control things according to special commands.
The Rspberry Pi is a relatively more general purpose single board computer. It can be used in the same way. Its I/O probably requires some conditioning (surge protection etc when used around machinery) and perhaps an external board. The device also comes with out a O/S but they can be added. Programs in general purpose languages like C can be written to repond to and control inputs and outputs to accomplish the same thing, but with a lot more programming.
THe PLC is probably more like a forklift. Specialized for a specific class of task. THe Raspberry Pi is probably more like a light duty pickup truck. It also can carry stuff but its more general purpose. Outwardly they're similar - have four wheels, can be moved under their own power and steered and can move stuff.
The raspberry is also a barenaked board. An industrial PLC is usually a complete system with power supply and industrial (heavier duty than office or home electronics) duty cabinet and complete I/O panels for professional installation. The Raspbery is probably under $50 and the PLC is probably many hundreds if not $1000 or more.
Denco (the OP) used the PLC because he 1) got it free since it had one damaged input he wasn't going to use and 2) he was already familiar with how to program it.
The Rspberry Pi is a relatively more general purpose single board computer. It can be used in the same way. Its I/O probably requires some conditioning (surge protection etc when used around machinery) and perhaps an external board. The device also comes with out a O/S but they can be added. Programs in general purpose languages like C can be written to repond to and control inputs and outputs to accomplish the same thing, but with a lot more programming.
THe PLC is probably more like a forklift. Specialized for a specific class of task. THe Raspberry Pi is probably more like a light duty pickup truck. It also can carry stuff but its more general purpose. Outwardly they're similar - have four wheels, can be moved under their own power and steered and can move stuff.
The raspberry is also a barenaked board. An industrial PLC is usually a complete system with power supply and industrial (heavier duty than office or home electronics) duty cabinet and complete I/O panels for professional installation. The Raspbery is probably under $50 and the PLC is probably many hundreds if not $1000 or more.
Denco (the OP) used the PLC because he 1) got it free since it had one damaged input he wasn't going to use and 2) he was already familiar with how to program it.
Comment