M119 doesn't show Z_Min

Having a problem? Post it here and someone will be along shortly to help
Post Reply
User avatar
Vinculum
Prints-a-lot
Posts: 23
Joined: Mon Jul 08, 2013 3:28 am
Location: Netherlands

M119 doesn't show Z_Min

Post by Vinculum »

The subject says it all.
When i run M119 on my Kossel i get:
SENDING:M119
Reporting endstop status
x_max: TRIGGERED
y_max: TRIGGERED
z_max: TRIGGERED

Great but i need to know Z_Min for my Z-probe. How do i get it to show? I'm running the default settings since i've build it exactly like Johann's.
geneb
ULTIMATE 3D JEDI
Posts: 5358
Joined: Mon Oct 15, 2012 12:47 pm
Location: Graham, WA
Contact:

Re: M119 doesn't show Z_Min

Post by geneb »

You have to enable Z_MIN in the Configuration.h file.

g.
Delta Power!
Defeat the Cartesian Agenda!
http://www.f15sim.com - 80-0007, The only one of its kind.
http://geneb.simpits.org - Technical and Simulator Projects
User avatar
Vinculum
Prints-a-lot
Posts: 23
Joined: Mon Jul 08, 2013 3:28 am
Location: Netherlands

Re: M119 doesn't show Z_Min

Post by Vinculum »

geneb wrote:You have to enable Z_MIN in the Configuration.h file.
I figured as much but where? There are only 2 reference to Z_min in configuration.h:
#define Z_MIN_POS 0
#define Z_MAX_LENGTH (Z_MAX_POS - Z_MIN_POS)
geneb
ULTIMATE 3D JEDI
Posts: 5358
Joined: Mon Oct 15, 2012 12:47 pm
Location: Graham, WA
Contact:

Re: M119 doesn't show Z_Min

Post by geneb »

If you're running Repetier firmware, try setting MIN_HARDWARE_ENDSTOP_Z to true.

g.
Delta Power!
Defeat the Cartesian Agenda!
http://www.f15sim.com - 80-0007, The only one of its kind.
http://geneb.simpits.org - Technical and Simulator Projects
User avatar
Vinculum
Prints-a-lot
Posts: 23
Joined: Mon Jul 08, 2013 3:28 am
Location: Netherlands

Re: M119 doesn't show Z_Min

Post by Vinculum »

Sorry, i have forgot to mention that i use Marlin firmware.
You can download the version i'm using here:
https://github.com/jcrocholl/Marlin/tree/kossel
edward
Printmaster!
Posts: 207
Joined: Mon Jun 03, 2013 8:55 am
Location: Fort Wayne, IN
Contact:

Re: M119 doesn't show Z_Min

Post by edward »

I don't think Repetier calls the z-probe Z-min...I think it's in there as Z_PROBE_SOMETHING_OR_OTHER.

Since the OP has a Kossel exactly like Johann's, I'm guessing he's on Marlin (probably Johann's Deltabot branch). In that case, ensure that you have the correct pin assignment for the probe, identified as Z_MIN, in pins.h. I put -1 for the X_MIN and Y_MIN to let the firmware know there aren't any, and it seems to work. x_min and y_min don't appear in the M119 output.

Then it looks like you only need to make sure the DISABLE_MIN_ENDSTOPS is commented out, like this: //#define DISABLE_MIN_ENDSTOPS
My Thingiverse profile: http://www.thingiverse.com/edwardh
User avatar
Vinculum
Prints-a-lot
Posts: 23
Joined: Mon Jul 08, 2013 3:28 am
Location: Netherlands

Re: M119 doesn't show Z_Min

Post by Vinculum »

Thanx for the replies. I've fixed the issue sort of. I am using Marlin but i was using the Marlin Kossel Branch from Johann. I've switched to the Marlin Deltabot branch and now all is suddenly OK. Weird. Must be some setting somewhere that is different. I do have another problem but that's for another topic.
Post Reply

Return to “Troubleshooting”