Coder Social home page Coder Social logo

Comments (11)

touwen75 avatar touwen75 commented on July 17, 2024

After some trial and error I have solved my problem partially:
I defined the single nozzle extruder feature, but I had to comment it out:
//#define SINGLENOZZLE
Now the G28 command does not halt the printer anymore!

But still it does not home the E-axis.....

I have read that this branch is not for corexy printers, and only for 4 axis homing.
but does this mean it is not tested, or is there a known problem if I do configure it for a 5 axis corexy setup?

Best regards,

Erwin

from marlin.

DerAndere1 avatar DerAndere1 commented on July 17, 2024

It is not tested for Core kinematics. I checked the diff (bec35b3) and it looks as if E_AXIS_HOMING is compatible with corexy.

from marlin.

DerAndere1 avatar DerAndere1 commented on July 17, 2024

In Configuration_adv.h line 596 you should have (I forgot to add that)

#if ENABLED(E_AXIS_HOMING)
#define E_HOME_BUMP_MM 2
#define HOMING_BUMP_DIVISOR { 2, 2, 4, 4 }
#else
  #define HOMING_BUMP_DIVISOR { 2, 2, 4 }  // Re-Bump Speed Divisor
#endif

I guess this is a bug (I got the updated code from someone else), but maybe test what happens with different combinations of ENDSTOPPULLUP_EMIN, ENDSTOPPULLDOWN_EMIN and E_MIN_ENDSTOP_INVERTING. You can enable DEBUG_LEVELING_FEATURE (i think it is in configuration_adv.h) and PINS_DEBUGGING . Then you can continuously monitor the endstops with M43 E1 and debug the homing with M111 S38.

from marlin.

DerAndere1 avatar DerAndere1 commented on July 17, 2024

Also, first make it work with #define EXTRUDERS 1 before adding complexity with EXTRUDERS 2

from marlin.

DerAndere1 avatar DerAndere1 commented on July 17, 2024

I fixed some of your problems with commit 33a7d78

from marlin.

touwen75 avatar touwen75 commented on July 17, 2024

Thank you very much!
I will test it and report back...

from marlin.

touwen75 avatar touwen75 commented on July 17, 2024

I have just tried commit 33a7d78 with one extruder on my CoreXY, and it works!
G28 E moved to the end switch and set the e-axis to zero.

Adding #define DEBUG_LEVELING_FEATURE did not compile.
Adding #define PINS_DEBUGGING compiled okay.

Then I changed the config to 2 extruders but that gave a whole bunch of errors and it did not compile:

Linking .pio\build\LPC1768\firmware.elf
c:/users/gebruiker/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/LPC1768/src/src/gcode/calibrate/G28.cpp.o: in function GcodeSuite::G28()': D:\tools\Marlin-2.0.x_E_homing 33a7d78/Marlin\src\gcode\calibrate/G28.cpp:335: undefined reference to active_extruder'
c:/users/gebruiker/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/LPC1768/src/src/gcode/control/T.cpp.o:
in function GcodeSuite::T(unsigned char)': D:\tools\Marlin-2.0.x_E_homing 33a7d78/Marlin\src\gcode\control/T.cpp:69: undefined reference to active_extruder'
c:/users/gebruiker/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/LPC1768/src/src/gcode/gcode.cpp.o: in function GcodeSuite::get_target_extruder_from_command()': D:\tools\Marlin-2.0.x_E_homing 33a7d78/Marlin\src\gcode/gcode.cpp:104: undefined reference to active_extruder'
c:/users/gebruiker/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/LPC1768/src/src/gcode/motion/G2_G3.cpp.o: in function ABS<float>': D:\tools\Marlin-2.0.x_E_homing 33a7d78/Marlin\src\gcode\motion\../../inc/../core/macros.h:271: undefined reference to active_extruder'
c:/users/gebruiker/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/LPC1768/src/src/gcode/temp/M106_M107.cpp.o: in function GcodeSuite::M106()': D:\tools\Marlin-2.0.x_E_homing 33a7d78/Marlin\src\gcode\temp/M106_M107.cpp:61: undefined reference to active_extruder'
c:/users/gebruiker/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/LPC1768/src/src/lcd/menu/menu_advanced.cpp.o:D:\tools\Marlin-2.0.x_E_homing 33a7d78/Marlin\src\lcd\menu/menu_advanced.cpp:162: more undefined references to active_extruder' follow c:/users/gebruiker/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/LPC1768/src/src/module/motion.cpp.o: in function CDCSerial::write(unsigned char)':
C:\Users\Gebruiker.platformio\packages\framework-arduino-lpc176x\cores\arduino/CDCSerial.h:173: undefined reference to extruder_position' c:/users/gebruiker/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Gebruiker\.platformio\packages\framework-arduino-lpc176x\cores\arduino/CDCSerial.h:173: undefined reference to active_extruder'
c:/users/gebruiker/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/LPC1768/src/src/module/motion.cpp.o: in function line_to_current_position(float const&)': D:\tools\Marlin-2.0.x_E_homing 33a7d78/Marlin\src\module/motion.cpp:398: undefined reference to active_extruder'
c:/users/gebruiker/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/LPC1768/src/src/module/motion.cpp.o: in function update_software_endstops(AxisEnum, unsigned char, unsigned char)': D:\tools\Marlin-2.0.x_E_homing 33a7d78/Marlin\src\module/motion.cpp:816: undefined reference to active_extruder'
c:/users/gebruiker/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/LPC1768/src/src/module/motion.cpp.o: in function prepare_line_to_destination()': D:\tools\Marlin-2.0.x_E_homing 33a7d78/Marlin\src\module/motion.cpp:1308: undefined reference to active_extruder'
c:/users/gebruiker/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/LPC1768/src/src/module/motion.cpp.o: in function do_homing_move(AxisEnum, float, float)': D:\tools\Marlin-2.0.x_E_homing 33a7d78/Marlin\src\module/motion.cpp:1580: undefined reference to active_extruder'
c:/users/gebruiker/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/LPC1768/src/src/module/temperature.cpp.o:D:\tools\Marlin-2.0.x_E_homing 33a7d78/Marlin\src\module/temperature.cpp:436: more undefined references to active_extruder' follow c:/users/gebruiker/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio/build/LPC1768/src/src/module/tool_change.cpp.o: in function tool_change(unsigned char, bool)':
D:\tools\Marlin-2.0.x_E_homing 33a7d78/Marlin\src\module/tool_change.cpp:1082: undefined reference to `extruder_position'
collect2.exe: error: ld returned 1 exit status
*** [.pio\build\LPC1768\firmware.elf] Error 1

from marlin.

hobiseven avatar hobiseven commented on July 17, 2024

I have tried to go to zero extrudées and that failed. I never tried 2 extruders. All the modifications in the code do have a similar pattern.
First thing you have to check is wether or not all the Config.h and config_adv have all and enough parameters ( speed, jerk, etc)

from marlin.

DerAndere1 avatar DerAndere1 commented on July 17, 2024

Hi, Thanks for the feedback. I added a fix to be able to compile EXTRUDERS > 1 as well as DEBUG_LEVELING. Hope that goes into the right direction. Here the commit: b93d322 . @ALL be very clear about which branch you are talking. I update the bug description. This issue is about the 2.0.x_E_homing branch.

from marlin.

DerAndere1 avatar DerAndere1 commented on July 17, 2024

@touwen75 you can close this issue if your machine moves as expected.

from marlin.

touwen75 avatar touwen75 commented on July 17, 2024

@ DerAndere1: Thank you for your help!

from marlin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.