joint 0 limit error
No arrow pointing to an axis in the display window
no signal on any home/limit switches in hal config - watch
So I am having trouble figuring out what to look for to find the source of this error. Of course the drives drop out when this happens.
Any Ideas?
Please Log in or Create an account to join the conversation.
Did you home the axis? If not, then EMC has no idea where the axis is in relation to its physical limits.I get this error and have no idea why. I thought joint 0 would be "X", but it doesn't seem to be. I get no indication that X or any other axis has hit a limit. I am checking this several ways:
No arrow pointing to an axis in the display window
no signal on any home/limit switches in hal config - watch
So I am having trouble figuring out what to look for to find the source of this error. Of course the drives drop out when this happens.
Any Ideas?
Homing sets the machine position to a known value at the home position, then physical travel limits
can be calculated from that position, and EMC will obey the parameters "MAX_LIMIT" and "MIN_LIMIT"
for each axis, as specified in the .ini file. When you load a G-code program, it is immediately checked
against the machine limits and your workpiece coordinate offset to determine if the program stays within
the machine's limits of travel. There's nothing like machining a part for a while and then finding out that
it exceeds the travel limits and the work has to be repositioned on the table.
The above refers to a soft limits error, maybe you are having a limit switch condition. Do you have limit switches wired up? If not, then the hal files may be accepting input on the parallel port from an unused pin, and there may be electrical noise on that pin. If you don't intend to have limit switches, then I'd remove
any lines that connect inputs to "axis.0.neg-lim-sw-in" and "axis.0.pos-lim-sw-in" which are the inputs
to EMC for limit switch sensing.
If you DO have limit switches, then there may be a problem in pull-up resistors or some similar scheme to
establish correct logic levels when the switch is in the "OK" position.
Jon
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Check for loose wires etc.
John
Please Log in or Create an account to join the conversation.
So "joint 0 limit error" has to be a limit on "X" - is this true? I can disable that input to check. something to try!
Please Log in or Create an account to join the conversation.
John
Please Log in or Create an account to join the conversation.
Thanks John, and Jon - thats kinda funny
Please Log in or Create an account to join the conversation.
No, it probably is NOT a "short", it is most likely electrical noise. I am assuming youOk, heres an update. I guess I have a short somewhere because when I disconnect the wires for the X-limits in hardware, everything works fine.
have the limit switches set up as normally open, ie. open contacts when not at
the limit. That allows electrical noise from spindle and stepper drives to couple to the wires.
You may need a pull-up resistor, or to change the value if you have one already, to
deliver enough current to the line so that ONLY the switch can pull it low enough
to be sensed as a limit condition.
Jon
Please Log in or Create an account to join the conversation.
Would I be better to connect them to the NC side and have them always closed?
Please Log in or Create an account to join the conversation.
John
Please Log in or Create an account to join the conversation.