Welcome! Log In Create A New Profile

Advanced

Z axis wont' register correctly in marlin

Posted by tolisn 
Z axis wont' register correctly in marlin
March 02, 2020 09:54AM
Hi
I'm using marlin 1.19+bugfix and trying to set the steps/mm on my axis. I have succeeded in setting the X.Y axis correctly but I can't define the movement of the Z axis. When I make 10mm move the axis only moves 5mm.
The command that I'm playing with in marlin is
#define DEFAULT_AXIS_STEPS_PER_UNIT { 160, 160, 16000, 1000 }. I'm using a 0.9deg motors, M5 thread rods and DRV8825 motor drivers. All jumpers on the ramps are on so the the driver microstepping is set to 1/32. Using the reprap calculator I find that I need to set the value for the Z axis to 16000. So far so good.
The problem is that although I set the Z value to 16000 in Marlin when I send a M503 in pronterface I get the following:

echoconfused smileyteps per unit:
echo: M92 X160.00 Y160.00 Z8000.00 E1000.00

Why isn't the value 16000 written correctly and I get 8000 in pronterface ?

As a matter of fact I always get 8000 whatever value I put in DEFAULT_AXIS_STEPS_PER_UNIT
Re: Z axis wont' register correctly in marlin
March 02, 2020 04:23PM
You have Z8000 in eeprom.

Update your eeprom with new value

send the printer

M92 Z16000
M500


or just reset eeprom to firmware settings with
M502
M500
Sorry, only registered users may post in this forum.

Click here to login