New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems with SKR1.4 and Dual-Z-Endstops #175
Comments
The problem is in the pin definition file: pins_BTT_SKR_V1_4.h, // Limit Switches |
OK... and whats about the pins for the Stepper E1 ?? |
Because the motherboard's XYZ_MAX is E0DET, E1DET, PWRDET, you will find that the corresponding pins in the pin file are changed to other function pins. If you want to use it, you can change it yourself. |
If you use dual z with two endstops, you can only connect one extruder anyway, as you use e1 stepper for second z motor.
So you do not loose power detection feature and filament detection for e0. Both are useful functions you might want to use now or add later... e1 already is congurated correctly in pin definitions. So if you uncomment: |
It seems there isn't a dedicated xmin/xmax on the skr1.4, they're both just the "X endstop." I had to add a definition for xmin and max as stated by @Neme77 above, and then ignore a TON of compile time warnings to get dual endstops working. |
For me it rips the Z1 Stepper to leadscrew connector apart with that. #define X_MIN_PIN P1_29 |
**There are Problems with the Firmware SKR1.4 and Dual-Endstops:
My Endstop settings in Configuration.h**
// @section homing
// Specify here all the endstop connectors that are connected to any endstop or probe.
// 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_ZMAX_PLUG
//#define USE_XMAX_PLUG
//#define USE_YMAX_PLUG
// Enable pullup for all endstops to prevent a floating state
#define ENDSTOPPULLUPS
#if DISABLED(ENDSTOPPULLUPS)
// Disable ENDSTOPPULLUPS to set pullups individually
//#define ENDSTOPPULLUP_XMAX
//#define ENDSTOPPULLUP_YMAX
#define ENDSTOPPULLUP_ZMAX
#define ENDSTOPPULLUP_XMIN
#define ENDSTOPPULLUP_YMIN
#define ENDSTOPPULLUP_ZMIN
//#define ENDSTOPPULLUP_ZMIN_PROBE
#endif
// Enable pulldown for all endstops to prevent a floating state
//#define ENDSTOPPULLDOWNS
#if DISABLED(ENDSTOPPULLDOWNS)
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
//#define ENDSTOPPULLDOWN_XMAX
//#define ENDSTOPPULLDOWN_YMAX
//#define ENDSTOPPULLDOWN_ZMAX
//#define ENDSTOPPULLDOWN_XMIN
//#define ENDSTOPPULLDOWN_YMIN
//#define ENDSTOPPULLDOWN_ZMIN
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
#endif
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
#define X_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
#define Y_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
#define Z_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
//#define X_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
//#define Y_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
#define Z_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
#define Z_MIN_PROBE_ENDSTOP_INVERTING false // Set to true to invert the logic of the probe.
My Dual-Z-Endstop settings: in Configuration_adv.h**
#define Z_DUAL_STEPPER_DRIVERS
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
#define Z_DUAL_ENDSTOPS
#if ENABLED(Z_DUAL_ENDSTOPS)
#define Z2_USE_ENDSTOP ZMAX
#define Z_DUAL_ENDSTOPS_ADJUSTMENT 0
#endif
#endif
When I compile this, I get always the same error messages
#error "Z2_USE_ENDSTOP has been assigned to a nonexistent endstop!"
^~~~~
In file included from d:\marlin-dev-2.1.x\marlin\src\inc\marlinconfig.h:38,
from Marlin\src\HAL\HAL_LPC1768\HAL.cpp:25:
d:\marlin-dev-2.1.x\marlin\src\inc\SanityCheck.h:1766:6: error: #error "Z2_USE_ENDSTOP has been assigned to a nonexistent endstop!"
#error "Z2_USE_ENDSTOP has been assigned to a nonexistent endstop!"
I have this Proble not with the SKR1.3..
I hope, someone can help ??
The text was updated successfully, but these errors were encountered: