G28 - "joint 0 on limit switch error" when limit switch tripped
- zhivko
- Offline
- New Member
Less
More
- Posts: 15
- Thank you received: 1
18 Aug 2019 17:58 #142445
by zhivko
G28 - "joint 0 on limit switch error" when limit switch tripped was created 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
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
- Away
- Moderator
Less
More
- Posts: 19529
- Thank you received: 6553
18 Aug 2019 18:08 #142446
by tommylight
Replied by tommylight on topic G28 - "joint 0 on limit switch error" when limit switch tripped
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
- Away
- Platinum Member
Less
More
- Posts: 10833
- Thank you received: 3573
18 Aug 2019 21:46 #142457
by rodw
Replied by rodw on topic G28 - "joint 0 on limit switch error" when limit switch tripped
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)
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.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23178
- Thank you received: 4864
27 Aug 2019 21:28 #143360
by andypugh
Replied by andypugh on topic G28 - "joint 0 on limit switch error" when limit switch tripped
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?
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