Hey Kerry,
I hope you know that a switch between VFD and spindle is strictly prohibitive, and a switch on the input of the VFD is forbidden to be switched during the spindle run. Both can destroy both the VFD and the spindle. That is explained under the chapter “Safety precautions – Before the Power-up” in your VFD manual.
The only correct way to switch a spindle on and off is through the RUN and STOP commands in the VFD, either by the front panel, or by a RUN or STOP command received from the CNC controller.
Did you set “PD000 – Parameter Lock” first so that the settings can be edited?
Also, did you set this:
Do you know that a fuse or MCB must be selected according the input power of the VFD. Unfortunately, many cheap no-name or the Huanyang VFDs simply omit this value because they think if it was there on the nameplate or in the manual, the buyer would know that he needs to get an electrician that installs a stronger circuit, so they fear you would not buy the VFD.
Incorrect or missing data on cheap chinese VFDs and spindles
Remember that on a 200-240 V VFD with single-phase input for a 2.2 kW motor, the input current is 24 A.