the port is built in the motherboard, when I put the encoder on pin 12 I moved my optical home for x axis to 13 and it seems to work fine, tried it on 15 , works there also. Now just the spindle speed issue. I dont mind entering huge speed values like s7000 to turn at 300 rpms as long as the threading feature will work properly. I assume the z axis advances a a set distance per revolution based on the actual spindle reading and P.** setting in G76 and I can generate my threading files and then edit the S*** to what ever value I need to get my spindle turning at 150-200 rpms
I also notice that settings change randomly when I exit mach, reboot and restart the software , I choose the setting for mach to zero x and z axis automaticly when I home the machine but this feature is turned off everytime I restart the software. Also If I set the pulse width to 5 in motor setup, save settings when I re-open the motor config window the pulse width has changed to 4, click OK, open it again and its reset to 3 , drops one everytime the motor settings window is opened then closed