Opto spindle Encoder 2 or 3?

More
8 years 6 months ago - 8 years 6 months ago #108393 by Nemo1966
I have a lathe I am upgrading from Mach3 to linuxcnc. At present it has 1 opto spindle signal/pulse. I am obviously going to add at least on more, for threading do I need 2 or 3?

My segmented wheel looks like this (its not mine but the wheel is exactly the same)
image missing https://www.pcpairgunspares.co.uk/images/encoder.jpg

I was looking at this diagram for a 3 opto setup and noticed that the opto's A and B are offset from each other - is this a software setting in LinuxCNC or do i have to achieve this through electronics connected to the Opto?
image missing https://www.pcpairgunspares.co.uk/images/encoder2.png

Any help appreciated
Thanks
Last edit: 8 years 6 months ago by Nemo1966.

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

More
8 years 6 months ago #108398 by tecno
Replied by tecno on topic Opto spindle Encoder 2 or 3?
As you have the disk you need to separate A and B optos 90° as in picture. So only A or B need to be mechanically placed so you get this pulse separation. Do you have the CAD file for the disk? If not draw it and play around for A / B placement.

Cheers
Bengt
The following user(s) said Thank You: Nemo1966

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

More
8 years 6 months ago #108399 by Nemo1966
Ah I see, brilliant - thank you!

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

More
8 years 6 months ago #108400 by tecno
Replied by tecno on topic Opto spindle Encoder 2 or 3?
Here what I have done, tested but not implemented.

The following user(s) said Thank You: Nemo1966

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

More
8 years 6 months ago #108403 by Nemo1966
When you say 90 degrees? The left side of my picture shows A being fully off or 0 and B being fully on or 1, yet the waveform picture seems to have A as fully off or 0 and then B as at the very leading edge of on or 1....

Once I start fiddling with this is there any way to verify they sensors are in the correct spot?

thanks again
Steve

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

More
8 years 6 months ago #108404 by tecno
Replied by tecno on topic Opto spindle Encoder 2 or 3?
Best is 2-channel oscilloscope to play around with.

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

Time to create page: 0.493 seconds
Powered by Kunena Forum