Open eccentrichead opened 3 years ago
@bigtreetech , kindly have a look. Thanks!
pins_BTT_SKR_V2.0_common.h defines what hardware pin on the board gets "attached" to the main marlin software. Line 166 is
#define Z_MIN_PIN PC0 // Z-STOP
#define Z_MAX_PIN PC15 // PWRDET
#define Z_STOP_PIN PC0 // Z-STOP
I was trying to use the I_MIN assignment because there is no MAX definitions in the latest code I downloaded a few days ago. I ended up seeing this thread and tracked down where Z_MAX_PIN was defined.
@bigtreetech have you had a chance to look at it?
I moved on to the MKS Robin Nano V3.0 board that is working great. The BTT ended up having issues after I got one working (don't remember what now...). I ended up changing to the MKS Robin Nano v3.0 board and it is working great on two printers so far.
Issue:
When Configuring of Dual Z endstop in SKR2 board the
Z2_min
fails to get mapped toXMAX
orYMAX
pins.Steps to reproduce:
Download the latest Marlin2.x release from main stream and setup the dual z option:
config.h
file setup:config_adv.h
:define Z_MULTI_ENDSTOPS //[skr2]
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
Actual result:
Issuing
m119
reveals thez_max
port getting picked up instead ofz2_min
port:Changing the
_XMAX_
to_ZMAX_
instead in thez2
endstop config, results in correct port mapping:m119
result:Expected result:
XMAX
orYMAX
port should get mapped asz2_min
port.Additional information