fra589 / grbl-Mega-5X

5/6 Axis version of Grbl, the open source, embedded, high performance g-code-parser and CNC milling controller written in optimized C that will run on an Arduino Mega2560
https://github.com/fra589/grbl-Mega-5X/wiki
Other
344 stars 161 forks source link

A-axis blocked #115

Closed crkie closed 4 years ago

crkie commented 4 years ago

Hello, If the A-axis (4 non-linear) exceeds Max Travel, it remains blocked. A reset does not help, ALARM 2 always comes up. It only runs when $ 20 = 0. Can't I use soft limits for rotary axes?

Best regards Rudi

fra589 commented 4 years ago

Hello Rudi,
For me, it's the same behavior than linears axis. The axis remain in Alarm mode when you ask a travel that exceed the max travel value. So, you need to unlock the Alarm mode. The Grbl unlock alarm is $X, not ^X (+X) wich is the soft reset command, and then, if you only issue the ^X soft reset, the Alarm mode is not cleared. @++; Gauthier.

crkie commented 4 years ago

"it's the same behavior than linears axis" Of course, without an offset, I can only work in the negative range. I had tried positive values. Thank you Besides, can I somehow switch off the soft limits for the rotary axes and leave them at linear axes?

fra589 commented 4 years ago

Setting the max travel parameter of an axis to 0 will disable soft limit for this axis (parameter $130 to $135 depending of axis you want) @++; Gauthier.

crkie commented 4 years ago

Great, now it works the way I wanted it to work

merci Rudi