I can't seem to get the spindle calibration function to work correctly. When I start the spindle it starts fine but then when I click Autocal it immediately stops the spindle and says "Autocal terminated, spindle stopped". Trying to do the autocal without the spindle running just asks me to start it at any speed. I'm trying to get an accurate actual speed to commanded speed relationship but right now it is pretty far off. For example, S200 gives me 300rpm, S1000 gives me 930rpm, S4000 gives me 5140rpm. I've plotted the curve every 200rpm and it is not linear (especially around the base frequency of the motor at 1800rpm).
My spindle motor is an inverter duty AC motor with VFD. I'm using a ethernet smoothstepper. The motor also has an encoder that I have run the Z channel to the ESS to give me a 1ppr index pulse and this is working fine. The displayed RPM in Mach is exactly the actual rpm confirmed with a laser tach. The pulley is a 1:1 ratio and I would like to accurately go from 200rpm to 5000rpm. Oh and the VFD frequency is controlled with a C41 card which converts the PWM to a 0-10v analog signal.
Can anyone walk me through the set up and procedure for this and tell me why it isn't working? I've broken my brain trying to figure it out and am feeling a bit lost and burned out.
Thanks for the help.