Welcome! Log In Create A New Profile

Advanced

Z_MULTI_ENDSTOPS config problem?

Posted by colcolcheese 
Z_MULTI_ENDSTOPS config problem?
January 15, 2021 09:43AM
Marlin-2.0.7.2
Marlin-bugfix-2.0.x


Configration.h
#define MOTHERBOARD BOARD_BTT_SKR_V1_4_TURBO
#define USE_XMAX_PLUG // used as the second z stepper end limit switch //uncomment

Configration_adv.h
//
// For Z set the number of stepper drivers
//
#define NUM_Z_STEPPER_DRIVERS 2 // (1-4) Z options change based on how many

#if NUM_Z_STEPPER_DRIVERS > 1
// Enable if Z motor direction signals are the opposite of Z1
//#define INVERT_Z2_VS_Z_DIR
//#define INVERT_Z3_VS_Z_DIR
//#define INVERT_Z4_VS_Z_DIR

#define Z_MULTI_ENDSTOPS //uncomment
#if ENABLED(Z_MULTI_ENDSTOPS)
#define Z2_USE_ENDSTOP _XMAX_
#define Z2_ENDSTOP_ADJUSTMENT 0
#if NUM_Z_STEPPER_DRIVERS >= 3
#define Z3_USE_ENDSTOP _YMAX_
#define Z3_ENDSTOP_ADJUSTMENT 0
#endif
#if NUM_Z_STEPPER_DRIVERS >= 4
#define Z4_USE_ENDSTOP _ZMAX_
#define Z4_ENDSTOP_ADJUSTMENT 0
#endif
#endif
#endif


Compiling .pio\build\LPC1769\src\src\HAL\LPC1768\fast_pwm.cpp.o
In file included from Marlin\src\HAL\LPC1768\../../core/../inc/MarlinConfig.h:49,
from Marlin\src\HAL\LPC1768\../../core/serial.h:24,
from Marlin\src\HAL\LPC1768\DebugMonitor.cpp:25:
Marlin\src\HAL\LPC1768\../../core/../inc/SanityCheck.h:2103:6: error: #error "Z2_USE_ENDSTOP has been assigned to a nonexistent endstop!
2103 | #error Z2_USE_ENDSTOP has been assigned to a nonexistent endstop!"
| ^~~~~
Attachments:
open | download - Marlin.zip (75.2 KB)
Re: Z_MULTI_ENDSTOPS config problem?
January 15, 2021 08:10PM
Z2_USE_ENDSTOP _XMAX_

your board only has a single endstop per axis. the plug next to it is e0det not x-max
Sorry, only registered users may post in this forum.

Click here to login