Hi
The MK4Duo fork of`Marlin supports extra endstops for the extra motors
Where do I connect the wires to?
It is Feature and in Configuration Cartesian tabs
Please be very clear in your reply, `i am a real Noob.
)
Thx
/*****************************************************************************************
********************************** X-axis two driver ************************************
*****************************************************************************************
* *
* This section will allow you to use extra drivers to drive a second motor for X *
* Uncomment this define to utilize a separate stepper driver for each X axis motor. *
* If the motors need to spin in opposite directions set INVERT X2 VS X DIR. *
* If the second motor needs its own endstop set X TWO ENDSTOPS. *
* Extra endstops will appear in the output of 'M119'. *
* *
* ONLY Cartesian *
* *
*****************************************************************************************/
//#define X_TWO_STEPPER_DRIVERS
#define INVERT_X2_VS_X_DIR false
//#define X_TWO_ENDSTOPS
/********************************
/*****************************************************************************************
************************* Endstop pullup resistors **************************************
*****************************************************************************************
* *
* Put true for enable or put false for disable the endstop pullup resistors *
* *
*****************************************************************************************/
#define ENDSTOPPULLUP_XMIN false
#define ENDSTOPPULLUP_YMIN false
#define ENDSTOPPULLUP_ZMIN false
#define ENDSTOPPULLUP_XMAX false
#define ENDSTOPPULLUP_YMAX false
#define ENDSTOPPULLUP_ZMAX false
#define ENDSTOPPULLUP_X2MIN false
#define ENDSTOPPULLUP_Y2MIN false
#define ENDSTOPPULLUP_Z2MIN false
#define ENDSTOPPULLUP_Z3MIN false
#define ENDSTOPPULLUP_X2MAX false
#define ENDSTOPPULLUP_Y2MAX false
#define ENDSTOPPULLUP_Z2MAX false
#define ENDSTOPPULLUP_Z3MAX false
#define ENDSTOPPULLUP_ZPROBE false
/*****************************************************************************************/
/*****************************************************************************************
************************************ Endstops logic *************************************
*****************************************************************************************
* *
* Mechanical endstop with COM to ground and NC to Signal *
* uses "false" here (most common setup). *
* *
*****************************************************************************************/
#define X_MIN_ENDSTOP_LOGIC false // set to true to invert the logic of the endstop.
#define Y_MIN_ENDSTOP_LOGIC false // set to true to invert the logic of the endstop.
#define Z_MIN_ENDSTOP_LOGIC false // set to true to invert the logic of the endstop.
#define X_MAX_ENDSTOP_LOGIC false // set to true to invert the logic of the endstop.
#define Y_MAX_ENDSTOP_LOGIC false // set to true to invert the logic of the endstop.
#define Z_MAX_ENDSTOP_LOGIC false // set to true to invert the logic of the endstop.
#define X2_MIN_ENDSTOP_LOGIC false // set to true to invert the logic of the endstop.
#define Y2_MIN_ENDSTOP_LOGIC false // set to true to invert the logic of the endstop.
#define Z2_MIN_ENDSTOP_LOGIC false // set to true to invert the logic of the endstop.
#define Z3_MIN_ENDSTOP_LOGIC false // set to true to invert the logic of the endstop.
#define X2_MAX_ENDSTOP_LOGIC false // set to true to invert the logic of the endstop.
#define Y2_MAX_ENDSTOP_LOGIC false // set to true to invert the logic of the endstop.
#define Z2_MAX_ENDSTOP_LOGIC false // set to true to invert the logic of the endstop.
#define Z3_MAX_ENDSTOP_LOGIC false // set to true to invert the logic of the endstop.
#define Z_PROBE_ENDSTOP_LOGIC false // set to true to invert the logic of the probe.
/*****************************************************************************************/
Edited 1 time(s). Last edit at 05/19/2019 01:56PM by Coolerooney.