G28 - "joint 0 on limit switch error" when limit switch tripped

More
18 Aug 2019 17:58 #142445 by zhivko
Why am I getting "joint 0 on limit switch error" on homing X axis with:

G28 X250

This happens when my xmax limit switch is tripped. Isn't tripping an switch normal while homing? Why error?

I use NC limit switch.
I use debounce.

My linuxcnc config is at:
github.com/zhivko/PipeCutter/blob/master...achinekit/CRAMPS.ini

Please Log in or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
18 Aug 2019 18:08 #142446 by tommylight
Add a small value to " home_offset " so it backs off of the switch.

Please Log in or Create an account to join the conversation.

  • rodw
  • rodw's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
18 Aug 2019 21:46 #142457 by rodw
There are a couple of settings so read the docs on homing configuration ad in i files. I may have used the wrong values below but:

IGNORE_LIMITS = TRUE tells the system to ignore limits when homing.
HOME_OFFSET must be used to move the axis off the limit where there is as shared home/limit switch. If you do not do this moving to home with G28 will trigger a limit switch (because while its not homing, that is what it is)

Please Log in or Create an account to join the conversation.

More
27 Aug 2019 21:28 #143360 by andypugh
G28 does not "home" the axis. In fact the docs state that it can only usefully be used after the axes have been homed.

G28 goes to a pre-stored position in absolute coordinates.

When the limit error trips, is the machine actually on a limit switch?

Please Log in or Create an account to join the conversation.

Time to create page: 0.065 seconds
Powered by Kunena Forum