Can't advise at this stage without more info (see above) - it sounds as though you was wired for a single-phase motor and your new one is three phase, but I'm guessing an awful lot. Does the VFD have a R, S and T terminal? (it'd be good if it does and the new spindle is 3-phase)