Three quick questions February 09, 2019 08:45AM |
Registered: 5 years ago Posts: 145 |
Re: Three quick questions February 09, 2019 08:24PM |
Admin Registered: 13 years ago Posts: 7,005 |
// The size of the print bed #define X_BED_SIZE 200 #define Y_BED_SIZE 200 // Travel limits (mm) after homing, corresponding to endstop positions. #define X_MIN_POS 0 #define Y_MIN_POS 0 #define Z_MIN_POS 0 #define X_MAX_POS X_BED_SIZE #define Y_MAX_POS Y_BED_SIZE #define Z_MAX_POS 200
Re: Three quick questions February 10, 2019 03:30AM |
Registered: 5 years ago Posts: 145 |
Re: Three quick questions February 10, 2019 03:54PM |
Registered: 5 years ago Posts: 145 |
Re: Three quick questions February 10, 2019 05:42PM |
Registered: 7 years ago Posts: 759 |
Re: Three quick questions February 10, 2019 07:40PM |
Admin Registered: 13 years ago Posts: 7,005 |
// Direction of endstops when homing; 1=MAX, -1=MIN #define X_HOME_DIR 1 #define Y_HOME_DIR 1 #define Z_HOME_DIR -1 This home position then becomes the reference point and origin for any subsequent movement, movement from that position is measured in steps or mm. I think I'm correct so far.
When homed my extruder nozzle is 38mm off the bed to the right in the X+ direction and 2mm off the back of the bed in the Y+ direction." Is this correct?
Re: Three quick questions February 11, 2019 08:24AM |
Registered: 5 years ago Posts: 145 |
// Almost all printers will be using one per axis. Probes will use one or more of the // extra connectors. Leave undefined any used for non-endstop and non-probe purposes. //#define USE_XMIN_PLUG //#define USE_YMIN_PLUG #define USE_ZMIN_PLUG #define USE_XMAX_PLUG #define USE_YMAX_PLUG //#define USE_ZMAX_PLUG The enstops are plugged into Zmin, X max and Y max on the MKS Gen L board. // Mechanical endstop 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 true // set to true to invert the logic of the endstop. #define X_MAX_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop. #define Y_MAX_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop. #define Z_MAX_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop. #define Z_MIN_PROBE_ENDSTOP_INVERTING true // set to true to invert the logic of the probe. // Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way. #define INVERT_X_DIR false #define INVERT_Y_DIR false #define INVERT_Z_DIR false // Direction of endstops when homing; 1=MAX, -1=MIN // :[-1,1] #define X_HOME_DIR 1 #define Y_HOME_DIR 1 #define Z_HOME_DIR -1 // @section machine // The size of the print bed #define X_BED_SIZE 230 #define Y_BED_SIZE 150 // Travel limits (mm) after homing, corresponding to endstop positions. #define X_MIN_POS (0) #define Y_MIN_POS (0) #define Z_MIN_POS 0 #define X_MAX_POS (268) #define Y_MAX_POS (152) #define Z_MAX_POS (145)
Re: Three quick questions February 11, 2019 09:24AM |
Admin Registered: 13 years ago Posts: 7,005 |
Re: Three quick questions February 11, 2019 12:29PM |
Registered: 5 years ago Posts: 145 |