Generating a Beckhoff controls solution from a machine description
- Beckhoff
- TwinCAT
- Controls design
- PackML

I'm experimenting with a tool that takes a description of a machine, and systematically generates the BOM, schematics, layout, code, and 3D view for a Beckhoff-based controls solution. You can try it out here: architect.musserautomation.com.
How it works
Yes, I'm using AI to accept unstructured prompts from users, but the next step is a deterministic set of rules for creating the database, and setting up the connections between all the components.
Since every view is generated from that same database, you can select a sensor in the drawing, and see it in the 3D cabinet, on the machine frame, and in the code.
Example
For this example, I typed in a paragraph describing a case conveyor line, and about 7 seconds later I had a 107-line BOM, 40 schematic sheets, a wired 3D cabinet, and PackML code running the line in my browser. There are 10 slides below, and you can scroll sideways to see each view.










Slides 4, 7, 8, and 9 follow a single photoeye through the drawing, the cabinet, the machine, and the code. Its wire is labeled 50403 on the I/O sheet and in the 3D cabinet, and it's on channel 3 of the EL1809 in both the drawing and the code.
Limitations
This is still an early version, and here's what to expect:
- It handles servos, steppers, VFDs, standard I/O, TwinSAFE, and remote I/O, but not XTS, XPlanar, or CNC.
- There's no pricing on the Beckhoff parts yet.
- The AI also takes a first pass at each station's sequence logic. That code has to compile and run in simulation before it's shown, but it's still a first draft.
- The drawings still need an engineer's review. Each BOM line is marked as settled, assumed, or still to be decided, so you can see where the tool made an assumption.
Try it out
You can try it out here: architect.musserautomation.com. You'll just need to enter a name and an email, and there are a few finished examples on the landing page if you'd like to click around first.
I'm still figuring out who this is most useful for, so please reach out if you have any feedback!
