Hacker News new | ask | show | jobs
by crispyambulance 1206 days ago
I work in this area and know the mindset of ERP and MES folks. It's great for long-term volume production of stuff that's very well established, but makes innovation really, really intractable.

That said, lots of people focus on how inexpensive things like the rpi are, but whether the unit costs $35 or $3500 makes a very small difference in the overall cost of the project. I am not totally against rpi's for factory stuff, as long as the folks who implement using those can slow their roll and think some more about the lifetime of their automation project and it's future maintenance.

There are PLC's that can run FOR DECADES without problems in a factory environment. Will an arduino/rpi be able to do that? Will someone 15 years from now know even know what an rpi is or be able to buy one?

1 comments

I see so much stuff reinvented using raspberry pi, arduino and sparkfun sensors simply because people have exposure to those and don't know what a PLC is. And PLCs don't even have to be expensive, a $200 one from automation direct would often be enough.
PLCs are often a pain to integrate with multiple systems and are not nearly as versatile and simple as an internet connected pi running python, for certain desired tasks.

Please tell me which PLC you can get for $200 that runs python, can query some REST APIs, query and write to some databases, communicate with several other types of PLC and equipment, check a half dozen types of local sensors, and perform complex operations without purchasing a software subscription or having to be programmed in ladder logic.

Obviously they are suitable to different tasks, but there's a reason someone might reach for a PI to integrate new functionality, including on top of an existing PLC. They're tremendously handy in this environment, not just used because people don't know better.

I mostly agree with you and perhaps this was the wrong article to put my comment on because I think in this case they did well with raspberry pi.

> without purchasing a software subscription or having to be programmed in ladder logic

I am thinking of cases where a small PLC, some industrial sensors and ladder logic is a good, reliable and easy solution, but someone reaches for a raspberry pi and python scripts because that's what they've been exposed to.

I agree adding something on top of an existing PLC can be great too. In my first job nearly 20 years ago, I did machine automation and we always added an industrial mini ITX PC to our PLC panels. This cheaply added datalogging (an advertised feature for the customer) and remote programming capability (usually an unadvertised feature that made us look really impressive when we could fix something immediately without going to the very remote site). Depending on what was available on site, we could connect remotely by the site's internet, by a modem/landline, or by a cellular radio (configured as a modem, as this predated reasonable prices for data plans). Sometimes the PLCs were from the 80s and none of the competitors would quote anything except tearing everything out and starting over, but would could find a way to add to the old system.

Connecting remotely by some official upgrade from the PLC manufacturer was usually technically possible, but impossible in practice to get authorization to gain access to the network, and get things configured to allow access to the PLC from offsite. But dialing up to our own installed modem bypassed all of that, and since a PC is versatile, there was always some way to bridge the PLC's programming interface to the PC.

I recall that we had to go out of our way to find PCs that didn't look like PCs and were DIN-rail mounted. Anything that looked like a PC would eventually get messed with by someone.

WAGO pfc controllers series can do everything you mention. They are "just" Linux boxes with a fully featured integrated I/O bus (with any input/output type you can imagine). They can be programmed in pretty much any language and you can deploy with docker.

That said. Really large factories use DCS. (Distributed Control System) they are horribly expensive but integrates everything in one system. Controller programming, Human machine interfaces, MES and even ERP. Best known to me is ABB 800xA and Siemens PCS7.