I am setting up a CNC Lathe with a PoKeys57CNC.
My goal is to have a CNC based threading capability on my Sherline Lathe. Hence.
I am using a Dyn4 servo controller and 400W motor to run the "spindle".
The servo is setup in Speed mode and I have it working with MACH4 I can increase / decrease the rpms etc. This is done thru the Analog 0-10v pins. .
1. To get a more linear relationship, you need to increase the PWM base frequency to about 120Hz
2. 10V may not be exactly 10V. You need to have one "ferrite sleeves" (chokes) each for the 10V cable and the analog ground. Put the wires though ferrite sleeve or core a few turns.
3. After that, measure the highest voltage you can get with a good multimeter. e.g. it may be 9.7V or 8.5V. Now try to adjust until you can get exactly 10V. Without the ferrite sleeves or chokes, it is no point calibrating as the readings will be all over the place due to noise.
4. In my VFD, I can just set the top freq to 382Hz instead of 400Hz to get true rpm from my spindle using M3 or M4 because my BOB cannot give me exactly 10V but only 9.55V.