Missing-tooth index added to the encoder component
- andypugh
- Topic Author
- Offline
- Moderator
Less
More
- Posts: 23560
- Thank you received: 4858
20 Jul 2021 20:27 #215441
by andypugh
Missing-tooth index added to the encoder component was created by andypugh
Here is a demo:
The following user(s) said Thank You: BigJohnT, tommylight, HalaszAttila, samuelt, Aciera
Please Log in or Create an account to join the conversation.
- HalaszAttila
- Offline
- Premium Member
Less
More
- Posts: 143
- Thank you received: 5
20 Jun 2022 06:30 #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.
Attachments:
Please Log in or Create an account to join the conversation.
- andypugh
- Topic Author
- Offline
- Moderator
Less
More
- Posts: 23560
- Thank you received: 4858
21 Jun 2022 23:25 #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 or Create an account to join the conversation.
- HalaszAttila
- Offline
- Premium Member
Less
More
- Posts: 143
- Thank you received: 5
24 Jun 2022 19:58 #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 or Create an account to join the conversation.
Time to create page: 0.085 seconds