U, V and W in your diagram are the equivalent of L1, L2 and L3 in the diagram that I posted. Although you could in theory use the U, V and W terminals on the VFD to terminate the 6 wires, this is not the usual way, you extend this with a four wire cable, the three phases and earth, to the motor...