I've got an AliExpress BT30 spindle with a 50 tooth timing pulley, and a motor running it from a 40 tooth pulley. I can't find a 50 tooth HTD5 pulley, so 40 teeth it is. I want to attach a quadrature encoder somewhere so I can do rigid tapping and (eventually) spindle orient for an ATC.
As I have a cylinder above my spindle for the drawbar, it's more practical to attach the quadrature encoder to the motor shaft. I've read
other threads
about scaling the index pulse from a quadrature encoder by 2:1, but not this weird 40:50 scaling. I want to eventually put an ATC on this machine, so spindle orient is a requirement. Can LinuxCNC scale an index pulse like this?