Does anyone at DMS teach Progammable Logic Controllers (PLCs)?
There are Arduino classes. Arduino can do just about anything a PLC can, but a whole lot cheaper. We have Raspberry PI classes sometimes. With the breakouts, they can do a whole lot more.
PLCs are nothing like arduinos in practice.
PLCs are reliable, durable state machines for critical use.
I actually have a couple and could consider a class or so. They would be more basic units from Velocio
Understand, but PLCâs are the industry standard. Iâm looking at job applications that are asking about experience with PLCâs.
I assumed (incorrectly) that PLC used ubiquitous programming languages like C, C++, Python, whatever. I looked it up out of curiosity and found out they have their own languages that are standardized. Pretty cool.
Most manufacturers support standard languages, though I donât know how rigorously they follow the standard. I believe Wago is compliant because they use a third party software (CoDeSys), but other companies like Automation Direct have some variation in their implementation.
For what itâs worth, structured text is as close to psuedocode as Iâve ever seen, very nice for math heavy operations. Ladder is much more common and is easy to read for people more used to seeing schematics than software.
Edit: If you really want to learn, my recommendation would be to pick up something off eBay and do projects with it. A Wago 750-841 is an older model thatâs easy to program (Ethernet with free software), though Allen Bradley Micrologix (or the knockoff DL05) is also compact and relatively cheap.
I could easily teach a class or two - have been working with Allen Bradley hardware for the last 25 years⌠Unfortunately I do not have access to a loaner or spare unit. If someone has access to some machines & programming software I donât mind helping out. If you have a program that you would like some help with we can get together sometime and go through it.
Smartest guy in the roomâŚ
âPLCs are nothing like Arduinos in practiceâ
Actually, they have a great deal in common: both are micro controller operated, both have analog input, both can relay or analog control output, both can make real time decisions. To say they have nothing in common is utter balderdash. The difference is that in an Allen Bradley PLC, an analog 8 channel input card costs $1300 used, on an Arduino it is 16 resistorsâabout $5.
âPLCs are reliable, durable state machines for critical useââessentially true. To qualify as a durable state machine, there has to be redundancy and error checking. A lot of PLCs are very redundant in their cores, but they still can screw-up and need a reboot. The state machine is only as resilient as itâs code.
The act of learning Arduino, then R PI, then FPGA, is an embrace of the future. Picking-up PLC is an exercise in the past. But the past is prevalent, so by all means, teach history. PLC is not going away, as long as people wonât take the time to actually learn to design electronics.
I know how you feel. I hate the fact that people use these âmicrocontrollersâ instead of just learning to design ICs themselves.
Designing ICs? Nah, kids these dayâs need to do their ladder logic with relays like the good Lord intended.
Seriously, nobody has to design an IC. But, with the state of tech and microcomputer control that is totally free, having to use a PLC is for the willfully dumb. Everyone is just giving away PLC nowadays.
So Iâm going to break this down and try to keep it quick, as I really donât feel like writing work stuff here.
They both have I/O, thatâs about it. Their controller architecture is very different; programming them is very different; their electrical tolerances are very different. The member asked about PLCs, and trying to tell them to learn an arduino instead is like asking someone studying mechanical engineering to learn how to use a kidâs tonka truck instead.
This is a dishonest comparison. Calling the analog modules on a PLC the same as the analog on an arduino, or even itâs GPIO, is an outright misrepresentation. PLCs run very different protocols, very different electrical characteristics, and very different implementations.
The rate of a PLC âscrewing upâ without some kind of outside interference is extremely low compared to that of an arduino; thatâs the reason they cost so much, and are everywhere.
This is actually untrue; PLCs have a different type of memory and bus architecture; the rate of errors in the data itself are much lower than typical RAM and memory in a microcontroller. This is why they are so reliable. Yes, your ladder logic can be borked but assuming thatâs not then it will have a lower error rate on a system where errors are less likely to be introduced electrically.
You clearly donât know what youâre talking about here. Arduinos and RPis are nowhere near stable enough to replace PLCs from an electrical perspective. Even on an RPi they donât run in real time (you can get that on a Beaglebone black for example with the RTC co-processors, but you have to bank on that being enough and still have electrical characteristics to consider).
I think you still have a lot to learn here, as you seem to not understand why arduinos are not used in critical infrastructure.
My above points stand for this statement.
As someone who tests them regularly for work, and someone who watches them being deployed in things that go boom if something goes wrong, these are people that have done their homework and the PLC reigns king for a very good reason.
EDIT: also for the OP, a Velocio PLC unit starts at about $50. Theyâre much more light duty use, but they have programming ladder logic and controllers you can start out with.
The simple fact of the matter is that no matter how old-school you think PLCs are they are still industry standard. Many (most?) companies arenât embracing arduino/R-pi/equivalent because theyâre considered hobby electronics. In industrial design you have to consider things like the ability to pass a certification for safety by an NRTL, and Iâm sorry to say it but after 3 years at an NRTL I can say it will probably be 5 to 10 years before the standards are updated enough to catch up with âthe futureâ.
PLCs are more physically robust to the dust and debris that can be found in an industrial manufacturing site, and they come with a fancy pants service contract from the manufacturer that means that the company doesnât pay to keep service personnel for the one time every couple of years that it breaks.
Besides, OP specifically asked about PLCs. Turning this into a thread arguing about the future of electronics doesnât answer his question.
This post was flagged by the community and is temporarily hidden.
I donât want to speak for the OP, but Iâm guessing, since they asked about PLC classes, they do. Maybe they are wanting to brush up on plant engineering, and were wondering what DMS offered.
That extra cost for a PLC goes to the following:
- certifications
- more robust and stable electrical operation
- industry integrations
- etc
The fact you throw that out the window shows you just want to argue.
If the OP has any real question theyâre free to ask me and I may dig out hardware for a class However, Iâm not going to engage with you fuether since you appear to not be interested in actually debating any sincere technical merits.
If you try to put a product on a manufacturing floor and tell the owner, âoh by the way this is an untested design, you can only buy spare parts from me, and Iâm the only one with the documentation to service itâ they wonât by buying anything from you.
But you wouldnât have to worry, because youâll be three years behind trying to reinvent the wheel while your competition bought it off the shelf.
https://training.ti.com/?q=node/1139425
Example of online modules that cover some of these topics.
Arduinoâs and PLCâs are only similar in the fact they both can control things⌠so can a Raspberry Pi or any other PCâŚ
But there is no way Iâm going to bet my job, my companyâs run time, and employee safety over putting in an Arduino and clobbering together a bunch of I/O when someone else has put in all the engineering, testing, and assuming the risk! Would I do it to automate my pool equipment - sure, but no way in a manufacturing environment.
Arduinoâs are also great for learning electronics and sensors and personal projects.
There seem to be a few key differences between PLC and microcontrollers. I donât use PLC but just looking into it out of curiosity. These seem to be the big differences in my opinion.
- Established mechanisms for creating systems with redundancy
- More robust hardware (like integrated optoisolation, separation of buses from logic hardware, durable enclosures)
- Ease of use and labor effectiveness are prioritized
- Very long support life cycles (decades versus a few years)
I can see use cases for both microcontrollers and PLC depending on the situation. I can definitely see why businesses would want to use PLC and hire people who know how to use them. It would be cool to see a class on this topic.