- Posts: 20
- Thank you received: 2
Threading problem
- brianbonedoc
- Topic Author
- Offline
- Junior Member
-
Less
More
10 years 11 months ago - 10 years 11 months ago #65292
by brianbonedoc
Replied by brianbonedoc on topic Threading problem
Rick and Chris - I am fairly certain the belt isn't slipping, it's pretty tight and there is almost no resistance on the encoder.
CNCBasher - I think you are on to something with the scale.
I did a test, turning the spindle by hand over 10 revolutions I get the scale at 4134 PPR rather than the 4096 - this obviously is the small mismatch between my encoder pulley and the spindle pulley.
Any ideas how to alter the hal file. I tried just changing the encoder scale to 4134 but that didn't seem to make a difference as I think the index pulse would need to be scaled too?
Basically the math seems that 1 revolution of the spindle = (4134/4096) = 1.00928 revolutions of the encoder.
CNCBasher - I think you are on to something with the scale.
I did a test, turning the spindle by hand over 10 revolutions I get the scale at 4134 PPR rather than the 4096 - this obviously is the small mismatch between my encoder pulley and the spindle pulley.
Any ideas how to alter the hal file. I tried just changing the encoder scale to 4134 but that didn't seem to make a difference as I think the index pulse would need to be scaled too?
Basically the math seems that 1 revolution of the spindle = (4134/4096) = 1.00928 revolutions of the encoder.
Last edit: 10 years 11 months ago by brianbonedoc.
Please Log in or Create an account to join the conversation.
10 years 11 months ago #65299
by cncbasher
Replied by cncbasher on topic Threading problem
Chances are the pulleys on the encoder and spindle are not identical.
Please Log in or Create an account to join the conversation.
- brianbonedoc
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 20
- Thank you received: 2
10 years 11 months ago #65301
by brianbonedoc
Replied by brianbonedoc on topic Threading problem
Exactly - I can adjust the scale to account for it but how do i adjust for the index being off a bit in Hal?
Please Log in or Create an account to join the conversation.
10 years 11 months ago #65305
by joekline9

Adjusting the scale will NOT work. You MUST have a positive 1:1 ratio spindle to encoder.
At least the index pulse must be 1:1.
Please save youself a lot of trouble and get a timing belt or gears.
Replied by joekline9 on topic Threading problem
Adjusting the scale will NOT work. You MUST have a positive 1:1 ratio spindle to encoder.
At least the index pulse must be 1:1.
Please save youself a lot of trouble and get a timing belt or gears.
Please Log in or Create an account to join the conversation.
- brianbonedoc
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 20
- Thank you received: 2
10 years 11 months ago #65308
by brianbonedoc
Replied by brianbonedoc on topic Threading problem
Joe - Thanks for that - it really confirmed what I was thinking.
So I kept the quadrature encoder as it is and adjusted the scale to 4114 (up from 4096) based on 20 hand revolutions of the spindle and dividing the spindle count by 20.
I added this for the index pulse:
and as you can see the results are much better:
Here's the video as well.
Thanks for everyones help!
So I kept the quadrature encoder as it is and adjusted the scale to 4114 (up from 4096) based on 20 hand revolutions of the spindle and dividing the spindle count by 20.
I added this for the index pulse:
and as you can see the results are much better:
Here's the video as well.
Thanks for everyones help!
Please Log in or Create an account to join the conversation.
10 years 11 months ago #65327
by joekline9
Replied by joekline9 on topic Threading problem
Looks great. 
May I suggest starting your thread at Z.100" or even Z.200" to be sure everything is up to speed at the actual thread.
May I suggest starting your thread at Z.100" or even Z.200" to be sure everything is up to speed at the actual thread.
Please Log in or Create an account to join the conversation.
Time to create page: 0.158 seconds