Erratic Z axis motion
I have converted my Prusa I3 clone from a Melzi control system to a RAMPS 1.4 and ATMega 2560 control system with a full graphic smart controller. I am running the Repetier firmware created with the online configurator 0.92.9. I have managed to get almost everything working correctly again with the exception of the Z axis. It seems to have a mind of it's own.
I have added the delay to STEPPER_HIGH_DELAY 1 and it has improved the repeatability but occasionaly the software position of the printhead changes according to a move command but the head does not mechanically move. The X and Y axis work fine. I have made the delay as high as 5 but that hasn't eliminated the problem.
Not sure if it is relevant but the Z axis doesn't always respond to the manual moves by the controller although the software position gets changed.
I have added the delay to STEPPER_HIGH_DELAY 1 and it has improved the repeatability but occasionaly the software position of the printhead changes according to a move command but the head does not mechanically move. The X and Y axis work fine. I have made the delay as high as 5 but that hasn't eliminated the problem.
Not sure if it is relevant but the Z axis doesn't always respond to the manual moves by the controller although the software position gets changed.
Comments
I did a simple test - moving the Z axis up and down repeatedly to different values. It ran fine, never skipping a beat.
G21
G90
G28 xZ
G1 Z10
G1 Z5
G1 Z15
G1 Z3
G1 Z0
When I added a single X axis move to the script, it would skip or miss a Z axis move randomly.
G21
G90
G28 xZ
G1 Z10
G1 Z5
G1 Z15
G1 X25
G1 Z3
G1 Z0
Additionally there may be a long pause between steps.
I'm stumped.
Test your endstops with M119
If z endstop is triggered in move direction, the z move will be ignored and hence no sounds will appear. This might also happen from crosstalk e.g. from x stepper.
One other reason not to move might be not being homed (not sure if it did with the wrong syntax)
I'm going to look again at the Z stepper driver setup.I might have it set to too many microsteps for this particular confighration.