You haven’t said what type of machine... ill presume I3 type machine
(other machines can move differently, eg K8200 type machines the bed move in X and Y, inverting the direction of movement in X)
re
#define INVERT_X_DIR 0
#define INVERT_Y_DIR 0
#define INVERT_Z_DIR 1
These define the direction of movement, they are different for each printer depending on stepper plug wiring.
So make it match the following movement:
X + moves the hotend to the right and X - moves the hotend to the left
Y + moves the bed towards the front and Y - moves the bed towards the back.
Z + moves the hotend up away from the bed and Z - moves the hotend down towards the bed
re
#define X_HOME_DIR -1
#define Y_HOME_DIR 1
#define Z_HOME_DIR -1
This set the location of the endstops
X:
If the end stop is on the left its a min endstop and should be set to -1 (NB on a ramps you need use the min endstop plug, this is the same for X,Y and Z)
If the end stop is on the right its a max endstop and should be set to 1 (NB on a ramps you need use the max endstop for plug,this is the same for X,Y and Z)
Y:
If the endstop is at the back its a min endstop and should be set to -1 (this confuses lots of people, but is reversed as its movement in relation to the hot end)
if the endstop is at the front its a max endstop and should be set to 1
Z:
If the endstop is at the bed its a min endstop and should be set to -1
if the endstop is at the top of travel its a max endstop and should be set to 1
re
#define X_MAX_POS 205
#define X_MIN_POS 0
#define Y_MAX_POS 205
#define Y_MIN_POS 0
#define Z_MAX_POS 200
#define Z_MIN_POS 0
These define the limits of travel. If using max endstops these must be accurate, as when it homes to max it then thinks it is at the MAX_POS
NB Position 0,0,0 is X Left, Y bed back, and Z down.
Edited 3 time(s). Last edit at 11/07/2015 02:46AM by Dust.