Welcome! Log In Create A New Profile

Advanced

Z_HOME_DIR 1

Posted by slitwan 
Z_HOME_DIR 1
August 24, 2012 07:02PM
hi all

i just uploaded Repetier-Firmware to a printrboard.
i'm building an ord-style bot. the z-endstop is on top of the axis.
so i configured Z_HOME_DIR 1. but then z-home doesn't work. as soon as i switsch to Z_HOME_DIR -1 it works but then it moves to the wrong direction.
software endstops are set to false.
any idea what i'm doing wrong?
any help is very much appreciated.

cheers
simon
Re: Z_HOME_DIR 1
August 25, 2012 02:56AM
There are two pin definitions in pins.h
#define Z_MIN_PIN          36
#define Z_MAX_PIN          -1

Some boards like printrboard have only connections for one endstop. In this case you need the switch the pin number from MIN_PIN to MAX_PIN. If you have a RAMPS with 6 Endstops, you need to put it in the max endsop slot. The best place to replace the PIN definition is in Configuration.h after pins.h is included! In your case put

#define Z_MIN_PIN          -1
#define Z_MAX_PIN         36
after
#include "pins.h"


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Re: Z_HOME_DIR 1
August 26, 2012 06:35AM
thanks very much for this fast response.

this solved my problem.

you made my day :-)

cheers
simon
Sorry, only registered users may post in this forum.

Click here to login