I've recently added a quadrature encoder (specs below) to my lathe and updated the HAL to support spindle synchronisation and spindle-at-speed functionality. I have also updated AXIS to display the PYVCP spindle speed panel. The PYVCP panel is displaying spindle speed and when at speed, triggers the LED. The system seems to be working correctly however I have two questions:
1. The filtered spindle output speed jumps around a bit (+/-20 rpm) when the spindle is run at full speed (2030 rpm). Is this considered 'acceptable' variance (noise)? If not, is there a variable to tune the filtered rate?
2. The spindle output does not exactly match the requested speed. For example, M3 S1000 will result in a spindle speed of around 1040rpm. I assume that spindle syncronisation should change the output RPM to match commanded. Is this thinking correct? If so, any suggestions as to why my configuration doesn't achieve this?
Installed version: 2.7.11
Mesa 7i76e
0-10V driving VFD (Teco L510)
Encoder:
au.element14.com/webapp/wcs/stores/servl...467475&storeId=10184