- Posts: 18115
- Thank you received: 5334
homing with Phase Z encoder on MESA 7i96s
- PCW
- Offline
- Moderator
-
Less
More
1 year 4 months ago #330535
by PCW
Replied by PCW on topic homing with Phase Z encoder on MESA 7i96s
None of these are needed and the first will likely mean
that you never get an index.
setp [HMOT](CARD0).encoder.00.index-mask 1
setp [HMOT](CARD0).encoder.00.index-invert 0
setp [HMOT](CARD0).encoder.00.index-mask-invert 0
The index mask logic is intended for configurations
that have a index mask input pin which is typically used
for spindles where the encoder is on the motor and the
spindle is geared down from the motor.
that you never get an index.
setp [HMOT](CARD0).encoder.00.index-mask 1
setp [HMOT](CARD0).encoder.00.index-invert 0
setp [HMOT](CARD0).encoder.00.index-mask-invert 0
The index mask logic is intended for configurations
that have a index mask input pin which is typically used
for spindles where the encoder is on the motor and the
spindle is geared down from the motor.
The following user(s) said Thank You: JackRay
Please Log in or Create an account to join the conversation.
- JackRay
- Offline
- Elite Member
-
Less
More
- Posts: 226
- Thank you received: 14
1 year 4 months ago #330639
by JackRay
Replied by JackRay on topic homing with Phase Z encoder on MESA 7i96s
I deleted the 3 lines without success Z undetectable.
My axis turns at slow speed during the homing phase but never stops.
Should it stop when it finds the puls index?
My axis turns at slow speed during the homing phase but never stops.
Should it stop when it finds the puls index?
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
-
Less
More
- Posts: 18115
- Thank you received: 5334
1 year 4 months ago #330645
by PCW
Replied by PCW on topic homing with Phase Z encoder on MESA 7i96s
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: 226
- Thank you received: 14
1 year 4 months ago #330725
by JackRay
Replied by JackRay on topic homing with Phase Z encoder on MESA 7i96s
i do that, but never nothing
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
-
Less
More
- Posts: 18115
- Thank you received: 5334
1 year 4 months ago #330726
by PCW
Replied by PCW on topic homing with Phase Z encoder on MESA 7i96s
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: 226
- Thank you received: 14
1 year 4 months ago #330762
by JackRay
Replied by JackRay on topic homing with Phase Z encoder on MESA 7i96s
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.
Time to create page: 2.753 seconds