Welcome! Log In Create A New Profile

Advanced

Can't get Z axis moving in Marlin

Posted by Kayjay 
Can't get Z axis moving in Marlin
October 13, 2013 06:22PM
I have a Mendel with Ardiuno 2560 and Ramps 1.4 and mechanical endstops. It's the very early Mendel, I bought the parts late 2010 I think but illness stopped me building back then so now I thought I'd use the old parts to build rather than buying new stuff.

I'm using Marlin, the latest version with auto bed levelling although I've not got that activated as yet. When I home the axes after bootup X and Y home fine but the Z motors don't move, there are no circumstances where I can get them to move either with manual stepping before or after homing.

I've swapped the stepper drivers and that leaves the problem in the same position thus proving the boards are good, I've swapped the motor plugs on the RAMPS between X and Z, this makes the Z motors move fine when I step the X axis in Pronterface but X does not move. This last test has told me that the problem must be in the configuration as the electronics are working ok.

I've tried downloading a fresh copy of Marlin and just setting the minimum settings,ie board 33 and thermo's, nothing else but everything is just the same.

I've attached my Marlin Configuration.h and Configuration_adv.h files to this post, though I haven't altered the _adv.h file. I'd be really grateful if some nice coder out there would take a look at my configs and comment, maybe make the alterations too for me.

Thanks guys
Keith
Attachments:
open | download - Configuration.h (25.1 KB)
open | download - Configuration_adv.h (17.2 KB)
Re: Can't get Z axis moving in Marlin
November 13, 2013 06:27AM
You've got the z axis endstop inverting logic - if it's using the same logic as your other endstops (0 - endstop not hit, 1 - endstop hit) then these want to be set to false

const bool Z_MIN_ENDSTOP_INVERTING = false
const bool Z_MAX_ENDSTOP_INVERTING = false

The firmware seeing that both min and max endstops are hit, so it's not trying to move the Z-axis (it probably ought to tell the operating software that there's an error, but this should get you going)
Sorry, only registered users may post in this forum.

Click here to login