Hacker News new | ask | show | jobs
by willglynn 654 days ago
Seconding Beckhoff. EtherCAT is a fantastic protocol, TwinCAT/BSD works great, reliability is excellent. It's super nice to run realtime PLC code on specific processor cores with µs of jitter while other cores run a normal OS with normal applications (e.g. VictoriaMetrics) on the controller itself.

I have a construction project involving several buildings with overlapping infrastructure. Everything gets connected to EtherCAT as quickly as possible. Electric generation: solar panels, batteries, inverters. Energy management: branch circuit monitoring, weather forecasts, solar forecasts, load control for things like EV charging and water heating. HVAC: heat pumps, buffer tanks, circulation pumps, valves. Building automation: lighting, access control. I just add I/O wherever, connect over Ethernet, and glue all the signals together in software.

I wouldn't dare approach a project like this with Arduino.

1 comments

How is procurement process with Beckhoff? I am tempted to make the jump from mostly AB.
It's… fine? Unlike certain other brands, I've encountered no network of frothing, territorial, gatekeeping dealers with Beckhoff. For my project, I reached out to sales.usa@beckhoff.com, got a rep, asked for a quote, and went from there.

Secondhand can be viable too. Some of my "jellybean" EtherCAT terminals came from eBay. I won't get help from Beckhoff if they break, but given that I already have replacements on hand, I'm really not worried about it.

Beckhoff also lets you download almost all the development tools, runtimes, and PLC libraries without paying. In their words:

> Trial licenses can be generated in the TwinCAT 3 development environment (XAE) for many TwinCAT 3 functions for a validity period of 7 days. This can be repeated any number of times. An internet connection is not required for this. In this way, these TwinCAT functions can be used simply and cost-effectively in laboratory operations, e.g. in the education sector.

This is obviously useful for development and experimentation. It can also be an escape hatch in production if you need to substitute controllers. Beckhoff wants you to pay for what you use, sure, but their licensing scheme goes out of its way to avoid kicking you when you're down.

> Unlike certain other brands, I've encountered no network of frothing, territorial, gatekeeping dealers with Beckhoff.

This. They sell you gear then leave you alone. If you need help you call or email. Done. If the vendor demands you create an account to access simple datasheets - run like hell. Once they see you even glancing at a product they activate a frothing at the mouth sales rep who will launch a harassment campaign where they email and call multiple times a week seemingly forever or until you are EXTERMELY rude to them.