- Configuring LinuxCNC
- Advanced Configuration
- I get a tracking error. the scale of my encoder is correct on my B axis display
I get a tracking error. the scale of my encoder is correct on my B axis display
- PCW
-
- Offline
- Moderator
-
Less
More
- Posts: 18829
- Thank you received: 5200
21 Jun 2025 16:39 #330645
by PCW
Replied by PCW on topic I get a tracking error. the scale of my encoder is correct on my B axis display
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.
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.
- JackRay
- Offline
- Elite Member
-
Less
More
- Posts: 212
- Thank you received: 14
22 Jun 2025 20:22 #330725
by JackRay
Replied by JackRay on topic I get a tracking error. the scale of my encoder is correct on my B axis display
i do that, but never nothing
Please Log in or Create an account to join the conversation.
- PCW
-
- Offline
- Moderator
-
Less
More
- Posts: 18829
- Thank you received: 5200
22 Jun 2025 20:49 #330726
by PCW
Replied by PCW on topic I get a tracking error. the scale of my encoder is correct on my B axis display
That points to hardware issues, are you sure:
The index wiring is correct.
The encoders actually have an index output.
The index wiring is correct.
The encoders actually have an index output.
Please Log in or Create an account to join the conversation.
- JackRay
- Offline
- Elite Member
-
Less
More
- Posts: 212
- Thank you received: 14
23 Jun 2025 17:08 #330762
by JackRay
Replied by JackRay on topic I get a tracking error. the scale of my encoder is correct on my B axis display
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
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.
- PCW
-
- Offline
- Moderator
-
Less
More
- Posts: 18829
- Thank you received: 5200
23 Jun 2025 18:38 #330763
by PCW
Replied by PCW on topic I get a tracking error. the scale of my encoder is correct on my B axis display
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)?
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.
- JackRay
- Offline
- Elite Member
-
Less
More
- Posts: 212
- Thank you received: 14
23 Jun 2025 20:23 #330774
by JackRay
Replied by JackRay on topic I get a tracking error. the scale of my encoder is correct on my B axis display
i will try that tomorow
thanks
thanks
Please Log in or Create an account to join the conversation.
- JackRay
- Offline
- Elite Member
-
Less
More
- Posts: 212
- Thank you received: 14
24 Jun 2025 17:16 #330808
by JackRay
Replied by JackRay on topic I get a tracking error. the scale of my encoder is correct on my B axis display
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.
- PCW
-
- Offline
- Moderator
-
Less
More
- Posts: 18829
- Thank you received: 5200
24 Jun 2025 17:48 #330810
by PCW
Replied by PCW on topic I get a tracking error. the scale of my encoder is correct on my B axis display
Is the index input jumpered for TTL MODE? (W1 left)
Unless this is done, the results will be unpredictable.
Unless this is done, the results will be unpredictable.
Please Log in or Create an account to join the conversation.
- JackRay
- Offline
- Elite Member
-
Less
More
- Posts: 212
- Thank you received: 14
25 Jun 2025 16:58 - 25 Jun 2025 17:14 #330867
by JackRay
Replied by JackRay on topic I get a tracking error. the scale of my encoder is correct on my B axis display
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.
- JackRay
- Offline
- Elite Member
-
Less
More
- Posts: 212
- Thank you received: 14
25 Jun 2025 17:38 - 25 Jun 2025 17:42 #330868
by JackRay
Replied by JackRay on topic I get a tracking error. the scale of my encoder is correct on my B axis display
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
Last edit: 25 Jun 2025 17:42 by JackRay.
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- Advanced Configuration
- I get a tracking error. the scale of my encoder is correct on my B axis display
Time to create page: 0.183 seconds