I get a tracking error. the scale of my encoder is correct on my B axis display

More
21 Jun 2025 16:39 #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 or Create an account to join the conversation.

More
22 Jun 2025 20:22 #330725 by JackRay
i do that, but never nothing

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

More
22 Jun 2025 20:49 #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 or Create an account to join the conversation.

More
23 Jun 2025 17:08 #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 or Create an account to join the conversation.

More
23 Jun 2025 18:38 #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 or Create an account to join the conversation.

More
23 Jun 2025 20:23 #330774 by JackRay
i will try that tomorow
thanks

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

More
24 Jun 2025 17:16 #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 or Create an account to join the conversation.

More
24 Jun 2025 17:48 #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 or Create an account to join the conversation.

More
25 Jun 2025 16:58 - 25 Jun 2025 17:14 #330867 by JackRay
I'm doing the test again today
Last edit: 25 Jun 2025 17:14 by JackRay.

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

More
25 Jun 2025 17:38 - 25 Jun 2025 17:42 #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
Attachments:
Last edit: 25 Jun 2025 17:42 by JackRay.

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

Time to create page: 0.183 seconds
Powered by Kunena Forum