Need help with lathe threading

More
15 Feb 2023 20:55 - 15 Feb 2023 22:08 #264571 by Metal Chips
I'm converting a lathe to CNC.
I have everything working except when it comes to threading.
I'm using an encoder that have 60 pulses per revolution, phase A, B, and Z
I can see the signals on all no issues there.

The problem I'm having is,
If the spindle is rotating above 120 RPM the thread pitch is off and motor at 120 RPM does not have enough torque to finish the threads.

It seems to me with the encoder I'm using I should be able to use much higher RPMs, I'm not sure what I'm doing thought when it comes to config files.

I'm using parallel port with a BOB.
Spindle RPM is controlled by hand, not by LINUX CNC.
What do I need to change? I'll attach my config files.
Thank you guys in advance!
 

File Attachment:

File Name: Lathe.ini
File Size:2 KB

File Attachment:

File Name: Lathe.hal
File Size:3 KB
Attachments:
Last edit: 15 Feb 2023 22:08 by Metal Chips.

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

More
15 Feb 2023 22:08 #264572 by tommylight
Do you get latency warnings wen starting and enabling LinuxCNC?

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

More
15 Feb 2023 22:17 #264575 by Metal Chips
Nope, no issues there.

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

More
15 Feb 2023 22:35 #264580 by tommylight
OK
Is the encoder cable shielded and grounded on the electronics side?

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

More
15 Feb 2023 22:42 #264582 by Metal Chips
It's shielded but I did not ground it.
What would be a proper spot on the BOB to ground it?

Thank you tommylight for helping!

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

More
15 Feb 2023 23:02 - 15 Feb 2023 23:03 #264583 by Clive S

Re: I'm using an encoder that have 60 pulses per revolution, phase A, B, and Z


Just a thought is the encoder Z setup with one to one to the spindle
Last edit: 15 Feb 2023 23:03 by Clive S.

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

More
15 Feb 2023 23:07 #264584 by Metal Chips
1:1 gearing on the encoder, yep.

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

More
15 Feb 2023 23:17 - 15 Feb 2023 23:45 #264587 by Metal Chips
OK, I've grounded the encoder, let me do a quick test and I will get back to you.
Last edit: 15 Feb 2023 23:45 by Metal Chips.

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

More
15 Feb 2023 23:39 - 15 Feb 2023 23:47 #264589 by Metal Chips
OK, with encoder grounded, running 200 RPM.
Pitch is smaller then it needs to be.

Here is a picture
Right side is correct pitch
Left side is what I've got, (wrong pitch, smaller) So no change so far.

 
Attachments:
Last edit: 15 Feb 2023 23:47 by Metal Chips.

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

More
16 Feb 2023 01:25 #264593 by skunkworks
if you think your encoder setup is correct - are you sure your Z axis scale is correct?

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

Time to create page: 0.223 seconds
Powered by Kunena Forum