Quantcast
Channel: Reprap Forum - Firmware - Marlin
Viewing all articles
Browse latest Browse all 12095

Re: G28 Z; ignores endstop

$
0
0
>
Quote
Roberts_Clif
>I would guess that depends on how you have Marlin configured. And which direction it thinks the end-stops are located.
>If Marlin believes the are on MAX instead of MIN then it will never stop

As I mentioned in my first post, I installed Z-min and Z-max switches and manually actuated them while "G28 Z" was in
progress.

Z travel, at least for G0/G1 has been verified, I can print normally with machine and issue manual G0/G1 commands
and see Z moves down for small position, and up for larger ones (relative mode).

I have also verified the polarity of the switch behavior with "M119".



>My Configuration For an example
// Mechanical end-stop with COM to ground and NC to Signal uses "false" here (most common setup).
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
#define Z_MIN_ENDSTOP_INVERTING false

#define INVERT_X_DIR false
#define INVERT_Y_DIR false
#define INVERT_Z_DIR true

#define X_HOME_DIR -1
#define Y_HOME_DIR -1
#define Z_HOME_DIR -1


Post these lines of code with where your end-stops are located and how they are wired, this will make troubleshooting easier.


#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the
#define Z_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the

#define INVERT_X_DIR false
#define INVERT_Y_DIR true
#define INVERT_Z_DIR false

#define X_HOME_DIR -1
#define Y_HOME_DIR -1
#define Z_HOME_DIR -1

Config file attached.


Thanks.

Viewing all articles
Browse latest Browse all 12095

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>