Getting started with 6i25+7i75+7i85s

More
13 Oct 2024 20:31 #312005 by PCW
If you can jog Z faster than 150 mm/m the likely culprit
is the spindle encoder or spindle encoder interface.
(that is, it's probably not Z that has the issue but
encoder mis-counting above a certain RPM)

The lack of spindle sync also suggests encoder issues.

You might do some basic encoder checks:

Is the encoder RPM correct at all speeds?

If you enable quadrature error checking, do you ever get errors?

if you check the index, does it always zero the position and the index location?
 

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

More
15 Oct 2024 18:06 #312187 by Kirvesmies
Spindle speed feedback is correct for any rpm, though erratic, as seen in the screenshot. (100 rpm)
What's quadrature error checking? I did try adding FERROR to to the spindle, but that does seem to do anything, even if the spindle gets stalled.
Which pins exactly should it zero? It does not zero spindle.0.revs at least.
In the second screenshot, you can see the perhaps relevant signals when the photogate is a the index position. When moved, hm2_5i25.0.encoder.02.input-index changes, but the other ones do not.

I do have

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

In the hal file, but clearly it does not nothing since hm2_5i25.0.encoder.02.index-enable does not change state when the index is active. Is this where my problem lies?
Attachments:

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

More
15 Oct 2024 18:35 #312190 by Kirvesmies
Found the problem now lol. My encoder and spindle index are connected through an original pcb within the spindle housing, and I got my wires crossed and read the index coming from the encoder, which is connected with a 3:1 ratio, giving me 3 index pulses per spindle revolution.
That's that mystery. I will see if fixing that also takes care of the low maximum speed.

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

More
15 Oct 2024 19:48 #312195 by PCW
OK glad that's at least partially sorted out.

Note that the index signal does nothing unless index enable is set true
(LinuxCNC sets index enable true when it wants to search for index)

You can test index operation by hand running LinuxCNC, and

halcmd sets spindle-index-enable true

Then rotating the spindle by hand. When the index is detected, 2 things should happen:

1. spindle-index-enable should change to false

2. the spindle position should be set to 0

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

Moderators: cmorley
Time to create page: 0.087 seconds
Powered by Kunena Forum