On 06/20/2017 08:00 AM, Tom Easterday wrote:
Andy, you are correct it is related to using index. Homing works fine if I
don't use index. The encoder reset makes sense as to why it CAN happen (but
shouldn't be). Is this just a bug? I would try to home a second time but as
Todd says, I can't clear the error. Linuxcnc shuts off when it happens and
pressing on just immediately faults again. I have to exit and restart it.
I think you may need to scope this out with Halscope,
looking at encoder velocity, ENCODER_INDEX_ENABLE and PID,
and trigger the trace on amp_enable. There seem to be two
problems here. One is, it should not be tripping a
following error. Second, it should not get in a state that
requires restarting. Have you tried going to E-stop (F1)
and then F2?
Going all the way to E-stop really should clear all
conditions like that.
I'm thinking there may be something wrong in your HAL files
that is causing the state of the system to get stuck.
Jon
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users