Spindle encoder configuration (with G76 threading command and Mesa 7i96s)
- slowpoke
- Away
- Elite Member
-
Less
More
- Posts: 218
- Thank you received: 28
05 Apr 2026 12:35 - 05 Apr 2026 12:37 #345197
by slowpoke
Spindle encoder configuration (with G76 threading command and Mesa 7i96s) was created by slowpoke
I have a 600PPR quadrature encoder linked to my spindle with a 3:1 ratio, so 7200 PPR @ mesa spindle encoder input. A & B quadrature signals only, no 1PPR signal, but I don't think I need the 1PPR signal.
In Halshow
- spindle.0.revs counts up as expected
- spindle.0.speed-in appears correct
- spindle.0.index-enable is disabled
in my SM-10.hal file I have:
net spindle-index-enable <=> spindle.0.index-enable
IF I comment out this line, I can then enable spindle.0.index-enable manually in Halshow
Regardless when I try to open my 2 line G76 program I get the following error:
"Chosen spindle(0) not turning in G76"
I'm not sure if this is a HAL configuration issue or perhaps I need to do something in the gcode prior to the G76 command, not sure?
I have attached files for clarity.
Thanks,
Jeff
In Halshow
- spindle.0.revs counts up as expected
- spindle.0.speed-in appears correct
- spindle.0.index-enable is disabled
in my SM-10.hal file I have:
net spindle-index-enable <=> spindle.0.index-enable
IF I comment out this line, I can then enable spindle.0.index-enable manually in Halshow
Regardless when I try to open my 2 line G76 program I get the following error:
"Chosen spindle(0) not turning in G76"
I'm not sure if this is a HAL configuration issue or perhaps I need to do something in the gcode prior to the G76 command, not sure?
I have attached files for clarity.
Thanks,
Jeff
Last edit: 05 Apr 2026 12:37 by slowpoke.
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 17823
- Thank you received: 5214
05 Apr 2026 14:53 #345200
by PCW
Replied by PCW on topic Spindle encoder configuration (with G76 threading command and Mesa 7i96s)
For threading, you need a 1PPR signal (index) from the spindle.
Please Log in or Create an account to join the conversation.
Time to create page: 0.112 seconds