core icon indicating copy to clipboard operation
core copied to clipboard

XYUV Axes

Open rcKeith opened this issue 3 years ago • 4 comments

Hi Is it possible to set the 3rd and 4th axis to U and V for foam cutting? I can see in the setting.h there are some options for Group_UAxis and Group_VAxis but I'm not sure how to configure these. I have the RP2040 configured and loaded using XYZA but it would be much better for g-code generation software to use XYUV as these seem to be the defacto standard for foam cutting type machines.

Many thanks Keith

rcKeith avatar Jun 05 '22 10:06 rcKeith

Is it possible to set the 3rd and 4th axis to U and V for foam cutting?

Not without code changes. There is a fair chance it would work if you change A B C characters to U V W here:

https://github.com/grblHAL/core/blob/45b0e105892d08e76d5140871cfb032d445d2f20/gcode.c#L1113-L1135

and here:

https://github.com/grblHAL/core/blob/45b0e105892d08e76d5140871cfb032d445d2f20/nuts_bolts.c#L60-L68

Can you try this?

I can see in the setting.h there are some options for Group_UAxis and Group_VAxis but I'm not sure how to configure these.

None of the current drives supports more than 6 axes so you have to remap ABC axes instead.

terjeio avatar Jun 16 '22 07:06 terjeio

Hi Many thanks, I'll give it a try and let you know Keith

rcKeith avatar Jun 16 '22 12:06 rcKeith

Hi It did work making the changes as you suggested but the only issue is the Pin information coming back still refers to XYZAB which will cause limit switch problems. I did look through the code but couldn't see where I could change this. Thanks Keith

rcKeith avatar Jun 17 '22 13:06 rcKeith

axis_signals_tostring() in report.c

terjeio avatar Jun 17 '22 13:06 terjeio

The latest build has support for remapping ABC to UVW.

terjeio avatar Sep 27 '22 04:09 terjeio