Iv put the parameters right now, the spindle is 110 volts, I had 220 volts set in the output of the VFD and that is why the spindle was getting hot. I have changed the output to 110 volts now and its running cool again