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

Homing on x y z at the same time #1254

Open
Ninobr opened this issue Jul 12, 2024 · 0 comments
Open

Homing on x y z at the same time #1254

Ninobr opened this issue Jul 12, 2024 · 0 comments

Comments

@Ninobr
Copy link

Ninobr commented Jul 12, 2024

Hello everyone
I'm creating a project with 3 stepper motors, controlled by Arduino with GRBL 1.1h installed, the motors move 3 micrometric screws.
The 3 screws are vertical pointing up and they hold an aluminum plate which must work horizontal.
The system works and now I added the limit switches to always start from the same position also to calibrate the horizontal alignment with a spirit level in order to correct for different height of the switches after homing.
I tried to enable the homing procedure but the sequence of motors in cycle 0 is the homing of the z axis, then in cycle 1 homing of the x and y axes.
This is correct for CNCs, but, in my case, I would need homing in cycle 0 of all the x, y, and z axes at the same time to avoid tilting of the plate during homing.
I didn't find information on the web and I tried to modify the GRBL config.h file by putting all the axes together,
#define HOMING_CYCLE_0 ((1<<Z_AXIS)|(1<<X_AXIS)|(1<<Y_AXIS))
but compiling GRBL gives an error, since this is an unusual case not foreseen.
I hope someone can help me solve this problem, thanks in advance
Nino

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

1 participant