Thanks for trying to help, there is no number on the motor, but this is the front plate. A few more pictures.Attachment 27835
Printable View
Thanks for trying to help, there is no number on the motor, but this is the front plate. A few more pictures.Attachment 27835
Sorry, my bad before - the incoming supply is to R,S, and E=Earth. The output is the UVW terminals (wired Blue, Brown and Earth wire <naughty>), ah, so it was three phase and you're looking to wire the new spindle similarly?, looks do-able.
We could still do with what Clive asked for - a better image inside the terminal housing on the spindle. What you've described are six terminals - two for each winding, and three windings for a three-phase motor. The manner these have been described wires the windings in what's known as a delta configuration. Normally this is one of two types of configuration, the second being "star configuration", and is normally used for a "proper" three-phase 415VAC-across-phase supply. The delta configuration is more typical of a 220VAC three-phase supply much as you might expect from a simple VFD.
What's confusing me is that you've described the wiring identically for 220V and 330V operation. I suspect there may be other markings, perhaps subtle, on the terminal enclosure to describe better the difference between 220 and 330V operation.
Right, I'd like someone else to check my working here - I've had to squint an awful lot at that last image. There should be 6 bolt heads with three plates attached. Those plates can be reconfigured according to star/delta configuration. You should reconfigure the plates to sit one across the U1 and W2 bolts. One across the U2, V1 bolts and one across the V2, W1 bolts. Three plates, sitting parallel with each other. Your U/V/W wiring goes one to each of these (e.g. U to U1, V to V1 and W to W1). If the motor spins the wrong way, reverse two phases.
The other configuration - star, for 380V (not 330V) is shown with the plates shorting the W2, V2 and U2 bolts. But you probably don't want this.
That's the wiring side of things - does your VFD support the 4KW spindle?, you may need to reprogram it with the new spindle characteristics.
...and you need 4 core cable - to provide earth to the spindle.
Something like this...
Attachment 27838
Can you show us a picture of the actual spindle terminals.