Skip to content
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

Jog does not respect G90 absolute #167

Open
foxalabs opened this issue Dec 6, 2022 · 2 comments
Open

Jog does not respect G90 absolute #167

foxalabs opened this issue Dec 6, 2022 · 2 comments

Comments

@foxalabs
Copy link

foxalabs commented Dec 6, 2022

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?

@fra589
Copy link

fra589 commented Dec 9, 2022

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.

@foxalabs
Copy link
Author

foxalabs commented Dec 9, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants