You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I can't figure out how to configure the min and max limit switches. And what are the pins. I am not fluent in C so...
This is on a rpi pico if someone could help me. It seams that is done via the driver.c file but I don't know how.
Thanks a lot.
Easiest is to copy an existing map file to my_machine_map.h, modify it and enable that in my_machine.h.
hi, terjeio, I don't quite understand why some non-grbl commercial CNC controllers need to configure 3 limit switches on one axis? I don't quite understand why they do this? Each axis has a positive limit, a negative limit, and a mechanical origin, is it because they are too traditional?
@hanke-cnc If the home switch is separate from limit switches you may need three, home min, limit min and max. Grbl/grblHAL can combine home and limit inputs and use soft limit instead of limit max so only one is required (unless auto-squaring is enabled). Commercial controllers may require three for practical and/or safety reasons?
FYI the grblHAL core supports separate home and limit switches, but not all drivers and no(?) board maps do.
Activity
Updated for refactored I2C interface.
terjeio commentedon Mar 1, 2025
It is done in the map file by assigning pins to the function.
E.g.
#define X_LIMIT_PIN_MAX 12Easiest is to copy an existing map file to my_machine_map.h, modify it and enable that in my_machine.h.
hanke-cnc commentedon Mar 25, 2025
hi, terjeio, I don't quite understand why some non-grbl commercial CNC controllers need to configure 3 limit switches on one axis? I don't quite understand why they do this? Each axis has a positive limit, a negative limit, and a mechanical origin, is it because they are too traditional?
terjeio commentedon Mar 25, 2025
@hanke-cnc If the home switch is separate from limit switches you may need three, home min, limit min and max. Grbl/grblHAL can combine home and limit inputs and use soft limit instead of limit max so only one is required (unless auto-squaring is enabled). Commercial controllers may require three for practical and/or safety reasons?
FYI the grblHAL core supports separate home and limit switches, but not all drivers and no(?) board maps do.