Welcome! Log In Create A New Profile

Advanced

MK4Duo extra end stops

Posted by Coolerooney 
MK4Duo extra end stops
May 19, 2019 02:52PM
This is a duplicate post of the Firmware Mainstream folder- cannot delete the other one ;(

===============
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. winking smiley)

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 02:53PM by Coolerooney.
Re: MK4Duo extra end stops
May 20, 2019 02:35AM
I think you're on the wrong forum. You need to ask for help from the guy doing the MK4 firmware. If you're lucky he'll give you support from don't bank on it, I never got any so dumped it.

Edited 1 time(s). Last edit at 05/20/2019 02:36AM by Pippy.
Re: MK4Duo extra end stops
May 20, 2019 05:18PM
Hi Pippy,
‘Ok, where should I be then? do you have any contact details?
Their website is kept fairly up to date, but there is a lot of Italian text
UPDATE-posted the question on the Github page of MK

Thx

Best

Coolerooney

Edited 1 time(s). Last edit at 05/20/2019 05:26PM by Coolerooney.
Re: MK4Duo extra end stops
May 20, 2019 06:05PM
there are no pre defined pins for the extra endstops

you select what pins you want to use and edit your boards pin file to match.
Sorry, only registered users may post in this forum.

Click here to login