naikymen / klipper-for-cnc

Fork of the Klipper 3D-printer firmware, plus features for more general CNC.
https://klipper.discourse.group/t/klipper-for-cnc-initiatives-and-projects-list/5698
GNU General Public License v3.0
87 stars 11 forks source link

Homing of A Axis does not work (with safe_z_home enabled) #18

Closed Thomas-Toucan3d closed 1 month ago

Thomas-Toucan3d commented 7 months ago

klippy.log

Hi Naikymen, I am trying to configure a 4-axis printer using XYZ + A. I think I have configured everything correctly, but unfortunately the A axis does not home. I have also looked at your examples of emplementation and tried several things, but I have not been able to solve the problem. grafik

Do you have any ideas what the problem might be? I have attached the log file where I homed the printer once.

Thank you for your time and help! Let me know if you need more information and I will do my best to provide it!

Best, Thomas

noobydp commented 7 months ago

It looks like there's something wrong with homing A when you use [safe_z_home] in your config.

I did a test with my machine and a rotary axis A, when safe_z_home is defined it will home XYZ but doesn't do anything when I run "G28 A". The A axis doesnt move and there are no errors, is this what you experienced?

Can you remove the [safe_z_home] section, possibly replace it with a custom G28 homing macro?

Naikymen, here's the section of my klippy.log after calling G28 A [Uploading klippy-log-g28-a.log…]()

Thomas-Toucan3d commented 7 months ago

That was exactly the case for me.

Thanks for your tip. If I remove [safe_z_home], the homing of the A axis works without any problems!

naikymen commented 6 months ago

Hello! Thanks for reporting and finding a workaround. I'll let you know when I fix the issue.

naikymen commented 6 months ago

Hi, I've implemented some basic support for multiaxis in safe_z_home. Please test it with your fingers on the E-stop button as usual.

I didn't have time today for a hardware test.

naikymen commented 2 months ago

Hi all, I'll be closing this soon if there are no objections. Hoping everything is working now.