-
-
Notifications
You must be signed in to change notification settings - Fork 19.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Unable to perform any moves using G91 (relative positioning) after homing #20370
Comments
I didn't understand your issue. Your gcode is working exactly as expected, if I understood it right... |
Well, if I try to extrude when the printer isn't homed it tries to extrude as expected. However, if I try to extrude with relative positioning after homing, wherever the print head is at, the printer will first go to 0,0,0 and try to extrude only when reaching that position. Sorry if this wasn't clear from my initial post. |
I didn't understood yet. If you have @ellensp can you help here? Maybe I'm missing something. |
Or are you saying the printer is doing home two times? Sorry, I'm not trying to tell that you are saying something wrong. I'm not a native English speaker and sometimes I can misunderstanding some sentences! But we will get there! @ellensp will help us. |
It's not doing two moves, it just goes to x=0,y=0,z=0 without me asking it to. When I do g28, I probe the center of the bed, so there's no reason for the printer to move to that location. Thanks. |
Ok, now I think I got you. I will test it. |
Thank you! Sorry for not being clear about this in the first place. |
Himm, something odd does seem to be going on here.. Using provided configs but motherboard set to RAMP 1.4 and single Z I don't have actual stepper drivers I have LEDs on ENABLE,STEP and DIECTION PINs all the action happens on the "G1 E5 F300", its like there are invisible X and Y components to the move. M114 does not report any movement on X or Y NB I did have to comment out https://github.com/MarlinFirmware/Marlin/blob/2.0.x/Marlin/src/module/endstops.cpp#L318 |
Actually, I originally thought it was because I was trying to extrude in relative mode, but it seems to happen whenever I try to do any relative move after homing! Same behavior is observed, the printer goes to 0,0,0 and after that refuses to move to any other point with relative positioning. |
Can you send |
Sure thing!
|
Also, following a hunch I tried setting only 1 extruder and disabling SINGLENOZZLE but that didn't seem to help at all :| |
I could not reproduce it yet, I will try to get a hardware closer to yours. But it would help a lot if you can try disabling some configs until you find the one that is causing this... 😞 |
I was thinking of doing the same actually. Any idea which features I should focus on first? |
can you enter on marlin discord? Maybe we can guide you to some tests. |
i would start with no extra features. Just motherboard, thermistors, steps/mm, max feed rates and homing directions, maybe a lcd. Everything else default. |
Some updates! Me and rhapsodyv were able to heavily debug this together. It seems that the issue is stemming from software endstops as can be evident from the M211 S0 command: Send: M211 S0 For some reason, the maximum range set by software endstops is 0,0,0 which is forcing the printer to move to that position after homing. Together, we tried to figure out what is overriding the max range, but were unable to figure this out yet. |
Using the above information, after several false leads I have worked out the trigger.
Give the expected result. eg |
Commenting out the following in M115.cpp, seem to work. but need to check for side effects, what it was meant to do etc. and its to late for me here. Perhaps @rhapsodyv could test further
|
I have confirmed that the issue is resolved when applying #20389 ! Thank you everyone for your time and effort!! |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hello everyone!
Thanks for everything so far!
Bug Description
Today, I have tried pulling
bugfix-2.0.x
and flashing it to my printer.After flashing the latest bugfix version, it seems like trying to extrude in relative positioning mode causes the printer to go to X=0,Y=0,Z=0 before extruding.
This doesn't happen if I don't execute G28, that is, the printer goes to (0,0,0) only after homing.
Configuration Files
configurations.zip
using the RUMBA+ board, I've got a printer with two extruders.
The following (possibly affecting) configurations have been set:
SINGLENOZZLE (I've setup two extruders to use a single nozzle)
PREVENT_COLD_EXTRUSION has been disabled
S_CURVE_ACCELERATION has been enabled
Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN has been enabled
USE_PROBE_FOR_Z_HOMING has been enabled
NOZZLE_AS_PROBE has been enabled
AUTO_BED_LEVELING_UBL has been enabled
RESTORE_LEVELING_AFTER_G28 has been enabled
Z_SAFE_HOMING has been enabled
NOZZLE_PARK_FEATURE has been enabled
The following drivers are used:
X_DRIVER_TYPE TMC2130
Y_DRIVER_TYPE TMC2130
Z_DRIVER_TYPE TMC2130
Z2_DRIVER_TYPE TMC2130
E0_DRIVER_TYPE A4988
E1_DRIVER_TYPE A4988
Please also see attached configuration files for anything else.
Steps to Reproduce
Do the following:
G28
G91
G1 E5 F300
Expected behavior:
Try to extrude on the spot without going to (0,0,0)
Actual behavior:
The printer first goes to (0,0,0) (very slowly actually) and then extrudes.
Additional Information
I've also tried this without any bed leveling and have experienced the same behavior.
If needed, I can provide addition information or videos.
Thanks!
The text was updated successfully, but these errors were encountered: