Here is a screenshot of my Lathe controller cabinet schematic. This is the AC wiring only. Others may do it differently but this works for me without getting too technical. You can use it as a template if you like.

https://www.cnczone.com/forums/verti...-software.html