homing with Phase Z encoder on MESA 7i96s

More
1 year 4 months ago #330645 by PCW
Did you check index enable?

To test whether the index hardware is working (assuming you can move the axis past
an index mark), you would:

With LinuxCNC running,  use halshow to watch the signal b-index-enable
and then with either halshow or halcmd, set b-index-enable true"

halcmd sets b-index-enable true

halshow should now show b-index-enable true

now, if you move the axis past an index mark, b-index-enable should go false.

This is how you test for correct index operation.
 

Please Log in to join the conversation.

More
1 year 4 months ago #330725 by JackRay
i do that, but never nothing

Please Log in to join the conversation.

More
1 year 4 months ago #330726 by PCW
That points to hardware issues, are you sure:

The index wiring is correct.

The encoders actually have an index output.
 

Please Log in to join the conversation.

More
1 year 4 months ago #330762 by JackRay
My wiring is good. I followed the MESA7i96s documentation. I think everything is correct.
I've tested 5 RS-422 encoders with phase A+,A-,B+,B-,Z+,Z-. Or maybe my MESA board isn't working properly. I don't know how to get out of it

Please Log in to join the conversation.

More
1 year 4 months ago #330763 by PCW
if you: 

1. Disconnect the encoder

2. Change the index input to TTL mode
(W1 left)

3. With LinuxCNC running and halshows "Watch" tab showing
    hm2_7i96s.0.encoder.00.input-index, does the state of
    hm2_7i96s.0.encoder.00.input-index change when you ground
    the IDX+ input (TB2 pin 13)?

Please Log in to join the conversation.

More
1 year 4 months ago #330774 by JackRay
i will try that tomorow
thanks

Please Log in to join the conversation.

More
1 year 4 months ago #330808 by JackRay
So, my signal goes to true, but doesn't return to false once the wire is removed from GND. moreover, it doesn't happen every time. sometimes it works, sometimes it doesn't?

Please Log in to join the conversation.

More
1 year 4 months ago #330810 by PCW
Is the index input jumpered for TTL MODE? (W1 left)

Unless this is done, the results will be unpredictable.
 

Please Log in to join the conversation.

More
1 year 4 months ago #330867 by JackRay
I'm doing the test again today

Please Log in to join the conversation.

More
1 year 4 months ago #330868 by JackRay
So, when I insert the wire into pin 13, the signal is on “Fasle” and when I remove it, the signal is on “True”. Without connecting Z to GND

Please Log in to join the conversation.

Time to create page: 0.130 seconds
Powered by Kunena Forum