Spindle indexing signal direction

More
03 Feb 2022 09:12 #233863 by rider-83
When using G76, the lathe works correctly with M3, but sits and waits with M4
Would the issue be related to:

net spindle-index-enable encoder.0.index-enable <=> spindle.0.index-enable

Any help appreciated.
Thanks,


 

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

More
03 Feb 2022 19:26 #233901 by rider-83
In my .hal file, Should I be using : spindle.N.revs

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

More
03 Feb 2022 19:48 #233903 by rider-83
Is there anyone out there ???

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

More
03 Feb 2022 20:13 #233905 by tommylight
Yes there is, but since i never used G76, i can not help.

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

More
03 Feb 2022 20:52 #233909 by PCW
I dont think this is index related.

is spindle-at-speed true?

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

More
04 Feb 2022 06:10 #233946 by rider-83
Thats fine. Thank you for the relpy, I was begining to think I was on my own out here :)

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

More
04 Feb 2022 06:15 #233947 by rider-83
"is spindle-at-speed true? "

Good question.

When I use G96 (CSS) and G1 with either M3 or M4, then the machine feeds fine.
So I could say , yes "spindle-at-speed true? " is fine.

However,
If I use G76 with M3, all works fine as well.
If I use G76 with M4, then the machine hangs in position waiting.
Therefor I could say that 'spindle-at-speed true' is functioning, however there may be a set of conditions were 'spindle-at-speed true' is'nt 'true' in the case of M4 & G76 that satisfy 'index' ??

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

More
04 Feb 2022 14:41 #233970 by PCW
It looks like G76 with M4 needs hal changes:

forum.linuxcnc.org/forum/38-general-linu...h-spindle-in-reverse

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

More
04 Feb 2022 15:04 - 04 Feb 2022 15:11 #233971 by rider-83
Eewww. That looks messy. Is there not an easier way?

(By the way PCW, thank you so much for the reply and finding this information)
Last edit: 04 Feb 2022 15:11 by rider-83.

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

More
04 Feb 2022 15:10 #233972 by rider-83
Out of interest I've been playing around with HALshow.
If I turn the spindle by hand so the 'Z' phase notch in the encoder wheel passes through, then I get the below conditions:

SPINDLE-INDEX = becomes TRUE
ENCODER.0.PHASE-Z = becomes TRUE

However,
SPINDLE-INDEX-ENABLE = stays false at all times
ENCODER.0.INDEX-ENABLE=stays false at all times
SPINDLE.0.INDEX-ENABLE=stays false at all times

Is this normal ?

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

Time to create page: 0.216 seconds
Powered by Kunena Forum