- Joined
- Jul 5, 2014
- Messages
- 2,852
I've finally got my CNC lathe up and running. Had to have the Z axis ball screw rebuilt and have a problem with the turret repaired.
It's been 20 years since I've ran CNC lathe and wrote a program by hand for it. Did the usual put O's where zeros should be, and a few other things I caught and corrected
But I'm having problems with rapid moves using G00.
In the program below on lies 8 and 9, and 19 and 20 I tried using a G00 and immediately got servo errors. But if I replace the G00 with G01 and give it a high feed rate it works.
There are other programs in the machine from the PO and G00 works fine.
I'm sure it's my error this is happening, and I've fought it for 2 days now. Time to see if anyone here sees a problem with my program.
%
N2 O1201(T5-T56SLEEVE)
N3 G28U0W0
N4 T0101M6(TURN-FACETOOL)
N5 M8
N6 G50S2500
N7 G96S2000M3
N8 G01X1.4Z0F.030
N9 G01X-.03F.005
N10 X1.135
N11 M9
N12 G28U0W0
N13 M00(FIIPPART)
N14 T0101M6(TURN-FACETOOL)
N15 S100M3
N16 M8
N17 G50S2500
N18 G96S2000M3
N19 G01Z-.015X1.4F.030
N20 G01X-.03F.005
N21 X1.135
N22 M9
N23 G28U0W0
N24 M01
N25 T0303(SPOTDRILL)
N26 G00X0Z.1S2000M3
N27 G01Z-.15F.002.M8
N28 G00Z.5
N29 M9
N30 G28U0W0
N31 M01
N32 T0505M6(.755DRILL)
N33 G00X0Z.2S1200M3
N34 M8
N35 G83Z-1.7Q.15F.002
N36 G00Z1.
N37 M9
N38 G28U0W0
N39 M01
N40 T0808(13/16ENDMILL)
N41 S1000M3
N42 G00X0Z.2M8
N43 G01Z-1.4F.002
N44 Z-1.5F1.
N45 Z1.4
N46 Z-1.6
N47 Z-1.5
N48 Z-1.7
N49 Z-1.6
N50 Z-1.8
N51 G0Z1.
N52 M9
N53 G28U0W0
N54 M01
N55 T0707(5/8BORINGBAR)
N56 M3S2000
N57 G00Z1.X.870
N58 G01Z-1.8F.002
N59 X.84
N60 G00Z.2
N61 G01X.875F.002
N62 G-1.8
N63 X.8
N64 G00Z1.
N65 M9
N66 G28U0W0
N67 M30
%
It's been 20 years since I've ran CNC lathe and wrote a program by hand for it. Did the usual put O's where zeros should be, and a few other things I caught and corrected
But I'm having problems with rapid moves using G00.
In the program below on lies 8 and 9, and 19 and 20 I tried using a G00 and immediately got servo errors. But if I replace the G00 with G01 and give it a high feed rate it works.
There are other programs in the machine from the PO and G00 works fine.
I'm sure it's my error this is happening, and I've fought it for 2 days now. Time to see if anyone here sees a problem with my program.
%
N2 O1201(T5-T56SLEEVE)
N3 G28U0W0
N4 T0101M6(TURN-FACETOOL)
N5 M8
N6 G50S2500
N7 G96S2000M3
N8 G01X1.4Z0F.030
N9 G01X-.03F.005
N10 X1.135
N11 M9
N12 G28U0W0
N13 M00(FIIPPART)
N14 T0101M6(TURN-FACETOOL)
N15 S100M3
N16 M8
N17 G50S2500
N18 G96S2000M3
N19 G01Z-.015X1.4F.030
N20 G01X-.03F.005
N21 X1.135
N22 M9
N23 G28U0W0
N24 M01
N25 T0303(SPOTDRILL)
N26 G00X0Z.1S2000M3
N27 G01Z-.15F.002.M8
N28 G00Z.5
N29 M9
N30 G28U0W0
N31 M01
N32 T0505M6(.755DRILL)
N33 G00X0Z.2S1200M3
N34 M8
N35 G83Z-1.7Q.15F.002
N36 G00Z1.
N37 M9
N38 G28U0W0
N39 M01
N40 T0808(13/16ENDMILL)
N41 S1000M3
N42 G00X0Z.2M8
N43 G01Z-1.4F.002
N44 Z-1.5F1.
N45 Z1.4
N46 Z-1.6
N47 Z-1.5
N48 Z-1.7
N49 Z-1.6
N50 Z-1.8
N51 G0Z1.
N52 M9
N53 G28U0W0
N54 M01
N55 T0707(5/8BORINGBAR)
N56 M3S2000
N57 G00Z1.X.870
N58 G01Z-1.8F.002
N59 X.84
N60 G00Z.2
N61 G01X.875F.002
N62 G-1.8
N63 X.8
N64 G00Z1.
N65 M9
N66 G28U0W0
N67 M30
%
Last edited: