Hi, I’ve compiled and installed the edge branch, I assume that is the latest.
If I set my machine into G90 absolute and then jog to a new location I am left in G91 relative mode and have to issue a G90 again.
Is this expected behaviour?
评论 (2)
#2 – foxalabs 于 2022-12-09
Thanks, I’ll give the $G a test out and report back
On Fri, Dec 9, 2022 at 7:22 PM Gauthier Brière @.*>
wrote:
> Hi @foxabilo <https://github.com/foxabilo>,
>
> According to the jogging documentation:
> https://github.com/gnea/grbl/wiki/Grbl-v1.1-Jogging, the jogging command
> use the current modal G90/G91 mode when there is no G90 or G91 command in
> the jog command.
>
> For example:
>
> G90
> $J=G1F500X123
>
> => The jog will be executed in G90 absolute mode.
>
> G90
> $J=G91G1F500X123
>
> => The jog will be executed in G91 relative mode, but the system modal
> G90/G91 mode will not be updated and stay in the G90 mode.
>
> You ca use the $G command to see the GCode interpretor status and verify
> the active G90/G91 current mode.
>
> This behavior is made from the gcode.c file which copy the current mode at
> the begining and don’t store modified modal mode at the end when the
> command is a jogging command.
>
> @++;
> Gauthier.
>
> —
> Reply to this email directly, view it on GitHub
> <https://github.com/gnea/grbl-Mega/issues/167#issuecomment-1344679195>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AFOINTDSD7ZDLV6J3LN5MRTWMOBGHANCNFSM6AAAAAASV5WAVE>
> .
> You are receiving this because you were mentioned.Message ID:
> @.*>
>
#1 – fra589 于 2022-12-09
Hi @foxabilo,
According to the jogging documentation: https://github.com/gnea/grbl/wiki/Grbl-v1.1-Jogging, the jogging command use the current modal G90/G91 mode when there is no G90 or G91 command in the jog command.
For example:
“
`G90
$J=G1F500X123
`=> The jog will be executed in G90 absolute mode.
“G90
$J=G91G1F500X123
=> The jog will be executed in G91 relative mode, but the system modal G90/G91 mode will not be updated and stay in the G90 mode.
You ca use the $G command to see the GCode interpretor status and verify the active G90/G91 current mode.
This behavior is made from the gcode.c file which copy the current mode at the begining and don’t store modified modal mode at the end when the command is a jogging command.
@++;
Gauthier.