So I made a different post months ago about all the errors I get when posting from Mach Motion Wizards. I think one of the creators tried to help, but wasn't getting the same errors as I was. Not sure if it's a software or computer hardware problem. I'm running all the latest Mach 4 and associated drivers. Anywho, I was making some parts the other day and noticed when i was threading the lathe carriage was jerking when it was going back to home position, move violently than normal. Then when I changed out parts and ran the same program for threading the tool was now off, by maybe 1/16", in the X axis. So I tried lots of things, re-tuned the servos for slower speed in Mach Config. That didn't work. So then i thought maybe I'm losing steps, but it' servos and if it loses position I imagine it would fault and give me an error. So I ran the program without the threading cycle and everything was dead nuts perfect. Then I ran the threading and that's where the position was off.
Here is my Gcode, does anyone see anything wrong with it?
What I ended up doing was run the threading cycle, rehome the machine, put a new part in and thread, rehome, etc... that worked, but everytime it finished a threading cycle it was off.
N0000 (Machine type - MachMotion Lathe Canned Cycles)
N0005 (Filename: C:\Mach4Hobby\GcodeFiles\Temporary - Copy.tap)
N0010 (Generated on 04/05/18 at 19:57:00)
N0015 %
N0020 G00 G40 G18 G54 G64 G80 G90.1 G99 G20 (Safe Start Block)
N0025 %
N0030 (Starting Gcode for Threading Cycle: ThreadingCycle-0)
N0035 G50 S4100 (Spindle Speed Cap)
N0040 %
N0045 G00 G40 G18 G54 G64 G80 G90.1 G99 G20 (Safe Start Block)
N0050 %
N0055 T0808 (Tool Change)
N0060 G99 (Feed per Revolution)
N0065 G97 S400 (Constant Speed)
N0070 M04 (Spindle Reverse)
N0075 M08 (Flood)
N0080 G00 X0.5750 Z0.1600 (Rapid move to Clearance Height)
N0085 G76 P040060 Q0.01 R0.005 K0
N0090 G76 X0.2965 Z-0.5 R0 P0.0785 Q0.01 F0.0625
N0095 G80
N0100 G00 X0.5750 Z0.1600 (Rapid move to Clearance Height)
N0105 (End Gcode for Threading Cycle: ThreadingCycle-0)
N0110 %
N0115 (Custom Footer Block)
N0120 G00G53X-0.25Z-0.25
N0125 %
N0130 %
N0135 M09
N0140 M05
N0145 M30
N0150 %
N0155 (End Gcode file)
N0160 %