Open user-e opened 3 years ago
Thanks @ba186dp, your comment cleaned:
Try looking in the section Marlin / src / pins / stm32f / pins_BTT_OCTOPUS_V1_common.h
do you have a well-defined Z2 axis:
#define Z2_STEP_PIN PG4 // ENGINE 3
#define Z2_DIR_PIN PC1
#define Z2_ENABLE_PIN PA0
#ifndef Z2_CS_PIN
#define Z2_CS_PIN PC7
#endif
Yes, in the "Marlin/src/pins/stm32f4/pins_BTT_OCTOPUS_V1_common.h" i got:
//
// Steppers
//
#define Z2_STEP_PIN PG4 // MOTOR 3
#define Z2_DIR_PIN PC1
#define Z2_ENABLE_PIN PA0
#ifndef Z2_CS_PIN
#define Z2_CS_PIN PC7
#endif
[...]
//
// Trinamic Stallguard pins
//
#define X_DIAG_PIN PG6 // X-STOP
#define Y_DIAG_PIN PG9 // Y-STOP
#define Z_DIAG_PIN PG10 // Z-STOP
#define Z2_DIAG_PIN PG11 // Z2-STOP
#define E0_DIAG_PIN PG12 // E0DET
#define E1_DIAG_PIN PG13 // E1DET
#define E2_DIAG_PIN PG14 // E2DET
#define E3_DIAG_PIN PG15 // E3DET
In fact the endstop are physically connected to PG11, but it never recognize it
@ba186dp Yes, all stepper and all endstop are connected correctly, i've checked also with the pins_BTT_OCTOPUS_V1_common.h and schematic file.
I've also found that with #define Z2_DRIVER_TYPE TMC2209
and #define Z_MULTI_ENDSTOPS
enabled, the Z2 motor never change direction:
Using jog, i can move down the hot bed, but moving it UP z1 move correctly, and Z2 move always down. Seems it never be inverted
Well, I don't know, if I have time, I'll try on my card, but I'm currently doing Mechanics on IDEX, where I'm going to need Dual Z and Dual X. Then I'll try and let me know.
Thanks @ba186dp, It will be very appreciated.
And the question, why do you use Octopus when you only use 5 steppers on it? If you use another board that allows this, there are plenty of them on the market from BTT.
I've bought Octopus because i need to have the outputs for the fans with selectable voltage 12/24
uncomment INVERT_Z2_VS_Z_DIR in Configuration_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
#if ENABLED(Z_MULTI_ENDSTOPS)
#define Z2_USE_ENDSTOP _ZMAX_
#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
Just realised your not using Marlin,
i have same problems nothing seems to work z1 and z2 are parallel ( inner connected) it works without a second driver in z2 but can not change direction no z2 i have noticed that TMC2209 drivers do not work there is something wrong with this board if i want to have z2 or y2 i define it but doesnt find the driver its a crap board only for klipper no documents how to use marlin i,j--v.w crap doesnt work with tmc2209 someone started to mes up version 2.0.9.3 ---2.1.2 with removing #define NUM_Z_STEPPER_DRIVERS 2 config adv setting spend hours with this bug version drank too much coffee blood shot eyes maybe you can give me hope
Hello, I've found no way to get this board working with dual Z driver and dual Z endstop. The second Z driver (Z2) was recognized, but the endstop resource never be used.
My actual configuration on the board:
Printer type: COREXY with two Z motor and two separated endstop
Startup and M119:
M43 motor and endstop section:
What i've do in the Configuration.h:
And in Configuration_adv.h:
I've also tried with:
#define Z2_USE_ENDSTOP PG11
But this does not work anyway.
What the printer do: With the G28 command, the printer move down both Z motor, do the home for X and Y, and then move up just one Z motor, that can be stopped with his endstop