You need to provide more info before other try to help you
Specs of you VFD (Volts, Frequency, Amps)
Specs of your spindle (Volts, Frequency, Amps, RPM)
Is the spindle water / air cooled? If water cooled do you have the water pump?
Do you have a user’s manual? If yes and it’s only a couple of pages, post them otherwise post the description of the VFD terminals
Looks like the VFD is not programmable so it will save you the trouble to do it
Perhaps it may be better to post this tread at the “Spindles / VFD” section on this forum