This is mostly my opinion, but it can be done in other ways. HOME_OFFSET Set to 1 or 2, this is the position where the sensor will be at, if your limit sensor is at 0 and your max is at 0.5 you'll hit it, you want the sensor to be above/past the limit, think of this parameter as the position of the sensor.
On May 14, 2026 8:37:27 PM GMT+08:00, Marco <[email protected]> wrote: >Hi, > >I've got my basic setup working and have made some cuts. Time to add >the limit switches. For now, I've added one switch on Z+. This >should act as a limit and homing switch. It's sort-of working but… > >When I'm homing the Z axes (joint 2), the machine correctly moves >towards the switch, the machine stops and I get: > > joint 2 on limit switch error > emc/task/taskintf.cc 976: Error on joint 2, command number 95 > >So this doesn't seem correct. It appears that it acts mainly as a >limit switch and doesn't quite double-up as homing switch. Likely >due to misconfiguration on my side. > >I also observed that it shuts off all movement, not only movement >towards Z+ if the switch triggers. Not sure if that's by design or >another sign of misconfiguration. > >I've read > > https://linuxcnc.org/docs/html/config/ini-homing.html > >but frankly, that's a lot to digest. Find my configuration attached. >What do I need to change so I can use this single switch for homing >as well as a limit switch? > >Marco _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
