When I upgraded my lathe to use a VFD I opened the CTL box to figure out the way to incorporate the VFD. I was faced with the maze of wires, switches and relays shown in the photo below. After a lot of head-scratching I realized that it was really all about controlling the forward/reverse power to the motor by means of the low voltage switches. The relay KM1 provided the mains power and all the motor switching was via the other relays.
The Original Layout diagram shows the salient features of the original CTL wiring and the Modified for VFD shows the far simpler layout when the VFD handles everything. All the original external controls of the lathe work as they did before the VFD, but I added a little speed control rheostat on the lathe control panel.

