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
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.
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?