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

Why grbl after completion HOME, machine position is not cleared to 0 #862

Closed
viewsat opened this issue Dec 2, 2015 · 4 comments
Closed

Comments

@viewsat
Copy link

viewsat commented Dec 2, 2015

Why grbl after completion HOME, machine position is not cleared to 0.
After LinuxCNC finish HOME, machine position will be cleared to 0.

@chamnit
Copy link
Member

chamnit commented Dec 2, 2015

@viewsat : Grbl sets home to be at the trigger point of the homing switch. Since Grbl moves off by a pull-off distance, your home position will reflect this pull-off distance. Grbl also sets the machine volume in negative space (traditional in production machines), based on max travel settings.

If you don't like this behavior, you can disable it by uncommenting the HOMING_FORCE_ORIGIN define in config.h and re-compiling Grbl.

@chamnit chamnit closed this as completed Dec 2, 2015
@109JB
Copy link

109JB commented Dec 2, 2015

It is also not necessarily true that LinuxCNC sets the machine position to 0. That is LinuxCNC's default behavior, but it can actually be set to whatever the user desires by changing the "home switch location" and "Home location" parameters in LinuxCNC.

@Protoneer
Copy link
Contributor

Silly question, but what G-Code would be needed to Zero the machine after the Home Cycle?

@chamnit
Copy link
Member

chamnit commented Dec 2, 2015

@Protoneer : The g-code standard doesn't have a "zero machine coordinates" command. Technically. The 3d printing community added a set of them as M commands, I believe. IMHO, it's a risky proposition to give users and GUIs direct access to them, as this can lead to gross misuse, especially when machine coordinates change and work coordinate offsets don't.

Often you'll see options in a machine setup or controller setup that defines where the machine origin is relative to home as a single startup setting, but almost never something that is a command that makes it easy to alter it. The reason is that once setup, you don't need to change it again.

Grbl doesn't give you too many options, other than the default behavior or changing it to have home be the origin always. It's been enough up till now. It'll definitely have more options when things move to ARM.

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

4 participants