There seems to be a lot of over complicated wiring installations when it comes to vfd's.
Now I'm no sparky, but I've fitted a few vfd's to lathes and mills. I'm always pleased to rip out a whole bunch of wires, boards contactors etc,etc when I fit the vfd. I run a 3 or 4 way trailing lead extension from the wall socket to the machine, usually mounted on the cabinet. From this any pumps, lights, auto feeds, dro's etc are plugged in with a 3 pin plug or DC adapter. The vfd is also plugged in to this. One 3 phase cable straight to the motor from the vfd. I turn on at the wall, everything is powered up from the extension lead. Any remote switches or potentiometers run from the vfd connections.
Really simple, and easy to diagnose if there's problems.
I could have never understood the original wiring in my lathe or mill, glad to see the back of it!