There we go. All wired up. And clearly the power supply that both runs the Touch Screen and the Pi4 isn't up to snuff as the Pi4 is constantly complaining that the power supply voltage is too low.
The proper way of course to wire up the BoBs is not to generate the 5V for them from the 12V supply. Kind of defeats the whole idea of optically coupled and galvanic isolated I/O. So the right thing to do is probably get a 5A 5V supply and run the BoB's and Pi4 off that.
Notice the Blue Dongle. That's a CANUSB and there is code I've written for the LinuxCNC that sends and receives CANOpen messages to control the tool changer. That's one of the reasons I wanted this. So I can play around with all this.
At this point I can set this aside until I finish a few other projects but at least now when I start it up again I don't have to look for cables, boards etc.
Many years ago (2005) I manufactured devices called WORMs. To program them I build an XYZ system that automatically programmed the panel. Used surplus stepper motors from PA. MACH3 for the CNC motion. Ultimately it was too slow and faster for me to just move the head by hand from board to board. Had I used good stepper motors and 5 TPI screws it would have been different. The whole XYZ system was disassembled and the pieces scattered here and there.
But now I have the infrastructure to build something similar again. But this time I would do the mechanics different.
Here's a very slow boring video if you want to lose just over 2 minutes of your life.