Bug #92
closedZ-axis jog function unusable
0%
Description
Hi all,
I've completed installation of a powered table using the z-axis.
Measuring the movement of the table per stepper revolution, I see 1 revolution moves the table about 1 mm. Assuming there are 200 steps per rev (I need to confirm this but it doesn't matter for this report) and as I'm configured for 16 microstepping, that means 3200 steps per mm.
My relevant config is:
motion.homespeed 150
z.scale 3200000
z.homedir 1
z.home 100000
z.min 40000
z.max 100000
z.rest 50800
z.speed 150
z.invert 0
Homing works ok taking a few seconds, perfectly reasonable, and of course leaves the table a long way from where it needs to be for use.
The bug is that using the focus buttons. The distance shown on the LCD moves about 2 mm per second, but in actual reality the table moves a fantastically small amount. It's definitely moving at a fairly constant rate but so slow it would take hours to move where it needs to. I timed things and estimate the stepper has moved about 1/4 turn in 1 minute (about 0.25 mm movement of the table).
Looking briefly at the code (sorry, never done C++) it looks like the z-axis is incremented/decremented by the 'speed' variable each loop through LaosMenu::Handle. This is interesting because the similar X/Y movement case inc/decs by 100*speed and maybe is the clue.
Am I on the right track?
'guv