- Posts: 19306
- Thank you received: 0
Missing-tooth index added to the encoder component
5 years 3 months ago #215441
by andypugh
Missing-tooth index added to the encoder component was created by andypugh
Here is a demo:
Please Log in to join the conversation.
- HalaszAttila
- Offline
- Premium Member
-
Less
More
- Posts: 149
- Thank you received: 0
4 years 4 months ago #245472
by HalaszAttila
Replied by HalaszAttila on topic Missing-tooth index added to the encoder component
Hello,
is anyone tested this new feature on real machine? I installed it on Emco Compact 5 lathe, with LinuxCNC 2.9 verzion.
(the encoder.c component in which is integrated the "missing-teeth" funtion, i found on github. Copy pasted to src/hal/components, and compiled it).
But, when the lathe is threading, the result is not ok (see the picture).
I used the original 100ppr encoder disk, and cut out 3 holes.
The encoder component has the following paramteers:
setp spindleEncoder.counter-mode 1
setp spindleEncoder.min-speed-estimate 0
setp spindleEncoder.position-scale 100
setp spindleEncoder.x4-mode 0
setp spindleEncoder.missing-teeth 2
I try to change the .missing-teeth parameter to 3, and the result is the same.
Does anyone have experience with this?
On the finished thread seems, the synchronisation works, but maybe the position where the tool entered in material is every time offsetted a little.
is anyone tested this new feature on real machine? I installed it on Emco Compact 5 lathe, with LinuxCNC 2.9 verzion.
(the encoder.c component in which is integrated the "missing-teeth" funtion, i found on github. Copy pasted to src/hal/components, and compiled it).
But, when the lathe is threading, the result is not ok (see the picture).
I used the original 100ppr encoder disk, and cut out 3 holes.
The encoder component has the following paramteers:
setp spindleEncoder.counter-mode 1
setp spindleEncoder.min-speed-estimate 0
setp spindleEncoder.position-scale 100
setp spindleEncoder.x4-mode 0
setp spindleEncoder.missing-teeth 2
I try to change the .missing-teeth parameter to 3, and the result is the same.
Does anyone have experience with this?
On the finished thread seems, the synchronisation works, but maybe the position where the tool entered in material is every time offsetted a little.
Attachment not found
Attachment not found
Please Log in to join the conversation.
4 years 4 months ago #245567
by andypugh
Replied by andypugh on topic Missing-tooth index added to the encoder component
If you watch index-enable do you see the expected behaviour?
The position should reset to zero at the index, so I wouldn't expect any error accumulation.
The position should reset to zero at the index, so I wouldn't expect any error accumulation.
Please Log in to join the conversation.
- HalaszAttila
- Offline
- Premium Member
-
Less
More
- Posts: 149
- Thank you received: 0
4 years 4 months ago #245805
by HalaszAttila
Replied by HalaszAttila on topic Missing-tooth index added to the encoder component
Sorry, my mistake! The encoder optocoupler sensor i first use for encoder.N.phase-Z, later i modify to be encoder.N.phase-A signal, but forgot to delete connection to phase-Z. This causes the 'problem'.
The missing-tooth works properly, tested.
Sorry to flood the forum. The machine i transported 400km away, and was no chanse to test it.
The missing-tooth works properly, tested.
Sorry to flood the forum. The machine i transported 400km away, and was no chanse to test it.
Please Log in to join the conversation.
Time to create page: 0.081 seconds
