Thanks again for explaining and i understand all of that but my encoder mounted where it is thread mills fine, i just don't like spending 60 bucks a pop for thread mills ..lol
With that said if there were an issue with the encoder positioning in cnc12 lathe then there should be a problem in cnc12 mill and there IS NOT.
As Kieth said earlier CNC12 Lathe was not designed to do what i am doing because they never expected someone to use a mill as a lathe , though its pretty common now i have not found any info on people cutting threads this way. But according to Kieth cnc12 lathe will not do what i want without a custom plc.
Again i have no issues with reported rpm exept that when in low gear... the reported rpm is the same as high gear in lathe .
The division you mentioned IS NOT HAPPENING even though the software is being told to. In mill the division takes place and even sends m4 to reverse the spindle(i do not care about reversing the spindle right now, i can do it manually).
Here's the link to the pics i posted a few posts back if you want to have a look.
https://1drv.ms/a/s!AlEMVpXAQYPSn8xbJxc6rG3FDikXMg
Also i think you may be off a bit on your ratio math heres a quote from the manual
11.3.54 Parameters 65–67 – Spindle Gear Ratios
These parameters tell the control the gear ratio values for a multi-range spindle drive. Up to four speed ranges are
supported, with high range as the default. Parameters 65–67 specify the gear ratio for each lower range, relative to
high range. For example, if the machine is a mill with a dual-range spindle and the spindle in low range turns at 1/10 of
the speed it turns in high range, then Parameter 65 should be set to 0.1. Note that these values can be signed +/-. So,
if switching from high range to a lower range causes the spindle encoder to count in the opposite direction, then a
negative value can be used to compensate for this behavior.
So to simplify this and explain where i came up with .117
My max rpm in high range is 4200 and my max rpm in low range is 750 as measured with my hand held tach.
So... 750/4200=0.1785714285714286 or .177 to compensate for some fluctuation on the tach.
With this number in parm 65 in cnc12 mill the software does the math and spits out 740ish rpm at full speed in backgear forward or reverse.
It DOES NOT in cnc12 lathe.