DerAndere1 / Marlin

Optimized firmware for RepRap 3D printers based on the Arduino platform. The branch Marlin2ForPipetBot is optimized firmware for cartesian robots (lab robots, also known as liquid handling robots or pipetting robots)
https://derandere.gitlab.io/pipetbot-a8
GNU General Public License v3.0
51 stars 19 forks source link

[BUG] movement too slow with G2/G3 #72

Open DerAndere1 opened 2 months ago

DerAndere1 commented 2 months ago

Did you test the latest bugfix-2.1.x code?

No, but I will test it now!

Bug Description

WITH SYNTAX G2/G3 X Y Z I J F THE AXIS DO MOVE BUT VERY SLOWLY

This potential bug was first reported by @printercnc here: https://github.com/DerAndere1/Marlin/issues/55#issuecomment-2067712328

Bug Timeline

unknown

Expected behavior

Feedrate should be accoring to parameter F

Actual behavior

Feedrate too slow

Steps to Reproduce

TODO

Version of Marlin Firmware

unknown

Printer model

custom

Electronics

unknown

Add-ons

unknown

Bed Leveling

None

Your Slicer

None

Host Software

None

Don't forget to include

Additional information & file uploads

TODO

printercnc commented 1 week ago

you need to check this part

1

Suppose we have a cnc router like this, without ATC tool change, we will measure z0 with command G38 (G38.2, G38.3..)

TOOL-CTP-V2-04-768x768

Each replacement tool is tool number 0, if tool number 1 to measure the z0 plane works as shown, the following tools will measure according to the hard probe position mounted on the chassis. I'm in no rush, but I'm nervous every time you make another move, can't wait to test your improvements, I'll check those parts out. in my experience through old marlin versions, g38 only works with //#define Z_MIN_PROBE_PIN -1

DerAndere1 commented 1 week ago

I corrected the comment about hotend offset. It should read "For the other hotends it is their distance from the extruder 0 hotend in positive axis direction."

I have not tested probing. but I still think the easiest way is:

Depending on your measurement procedure, you might get different raw values from those measurements. From those raw measurements you have may have to substract or add other offsets to calculate distance of each tool tip from tool 0. But the final values you define with M218 or HOTEND_OFFSET_Z MUST correspond to the distance of the tool tip from the tip of tool 0 in mm. E.g. if tool 1 is 10mm longer than tool 0, you need `HOTEND_OFFSET_Z {0, -10}. This is how Marlin works. References:

If you want to use tool 0 for machining, you have to find your own solution. I cannot provide support for that.

printercnc commented 1 week ago

Maybe you don't understand my question. I downloaded the latest version, #define SPINDLE_FEATURE error appeared homeZ error I will check again why there is this error while I installed exactly the same marlin_bugfix version I am using.

DerAndere1 commented 6 days ago

I recently added code to stop the spindle/laser at the start of a toolchange command (T...) and automatically restore the spindle/laser state after completion of the toolchange. That broke compilation with SPINDLE_FEATURE. This is fixed now with commit https://github.com/DerAndere1/Marlin/commit/0c23f49e5f5ef44e743defab0075dffda84d68cc

I cannot find a description of the homeZ error you get. Always copy exact error messages.

printercnc commented 5 days ago

Maybe I set the wrong value of the Z axis, I want the distance between the values ​​to be as short as possible but that's not possible.

1

error warning "G38_PROBE_TARGET requires a Cartesian machine." Can you completely remove it? Or every time I download your new update, I will manually remove this warning

printercnc commented 5 days ago

add this error

1

DerAndere1 commented 5 days ago

"error: IsRunning was not declared in this scope" is fixed for me with commit https://github.com/DerAndere1/Marlin/commit/8a32e107c6bbc659953db5a5bd98a33f291d27e1

Regarding your mysterious "homeZ error": You can enable DEBUG_LEVELING_FEATURE and increase the detail of the logged information by sending Command M111 S38 before homing (https://marlinfw.org/docs/gcode/M111.html). If you send me a copy of the logged information, I might be able to help you