Next I have to figure out how to wire some 240V 40A contactors for the mill and Drives, through an Estop switch and a switch to go from manual to CNC, and also let Mach2 know about the Estop. I came up with the following wiring schematic. I tried to keep the high voltage stuff away from the low voltage signal stuff as much as possible so I have a separate enclosure for the contactors versus the breakout board. I used an inexpensive service panel enclosure from Home Depot for the Sound Logic/ Campbell breakout board that was large enough in case I need a second board for more inputs or for a ModIO board for a pendant/ MPG later.
I've also got a gratuitous photo of the VFD in the enclosure on the mill as I have the Sharp Digital variable speed head. Someday I may figure out how it hooks up to control spindle speed via Mach2.