Ok people be easy on me. This is my first program done on a lathe. Figured it would be easy coming from 4th axis milling man was that not right haha. first time setting up a lathe too. made a precision bar that locked into the 5c collets i then locked the collets in place with loose tool holders locked the tool holders down once positioned, offset the tool then loosened the collet, and backed it off. then offset the length by touching off with a piece of paper. so i belive the tools are aligned the profile finish and center of the hole are spot-on as of now.

Anyways simple face rough finish with a spot drill a drill and a tap. having issues with the drill and tap I don't think it's my feeds and speeds but who knows? as of now, the hole is coming out at .29 with no threads. using forming taps m6 x 1 with a .2188 drill (or close to)

The machine is a thrown-together gsk PLC lathe controlled by a Fanuc motor/ servos. is post-processed with fusion 360 as I cannot get the post-processor on the inventor to output the same coding which is another issue that I could always use help with but the main issue is getting this code working for now.

%
O1001
N10 G98 G18
N11 G20
N12 G50 S2000
N13 G28 U0. W0.

(FACE2)
N14 T0101
N15 G54
N16 M8
N17 G99
N18 G97 S1246 M3
N19 G0 X0.92 Z0.1969
N20 G50 S2000
N21 G96 S300 M3
N22 G0 Z0.0466
N23 X0.57
N24 G1 X0.6331 F0.005
N25 X0.52 Z-0.01
N26 X-0.563
N27 X-0.4499 Z0.0466
N28 G0 X0.57
N29 Z0.0166
N30 G1 X0.6331 F0.005
N31 X0.52 Z-0.04
N32 X-0.563
N33 X-0.4499 Z0.0166
N34 G0 X0.57
N35 Z0.0066
N36 G1 X0.6331 F0.005
N37 X0.52 Z-0.05
N38 X-0.563
N39 X-0.4499 Z0.0066
N40 G0 X0.92
N41 Z0.1969
N42 G97 S1246 M3

(PROFILE ROUGHING3)
N43 G99
N44 G0 X0.72 Z0.1969
N45 G50 S2000
N46 G96 S300 M3
N47 G0 Z-0.045
N48 X0.5047
N49 G1 Z-0.5237 F0.005
N50 X0.52
N51 X0.6 Z-0.4837
N52 G0 Z-0.045
N53 X0.4893
N54 G1 Z-0.522 F0.005
N55 X0.4929 Z-0.5237
N56 X0.5047
N57 X0.5847 Z-0.4837
N58 G0 Z-0.045
N59 X0.474
N60 G1 Z-0.5143 F0.005
N61 X0.4893 Z-0.522
N62 X0.5693 Z-0.482
N63 G0 Z-0.045
N64 X0.466
N65 G1 Z-0.0828 F0.005
N66 X0.474 Z-0.0868
N67 X0.554 Z-0.0468
N68 G0 X0.53
N69 X0.72
N70 Z0.1969
N71 G97 S1592 M3

(PROFILE FINISHING2)
N72 G99
N73 G0 X0.72 Z0.1969
N74 G50 S2000
N75 G96 S300 M3
N76 G0 Z0.0208
N77 X0.4518
N78 G1 X0.4076 F0.005
N79 Z-0.0592
N80 X0.466 Z-0.0884
N81 Z-0.5159
N82 X0.4816 Z-0.5237
N83 X0.6416
N84 X0.6555
N85 G0 X0.72
N86 Z0.1969
N87 G97 S1592 M3
N88 M9
N89 G28 U0. W0.

(DRILL1 spot drill)
N90 M1
N91 T0202
N92 G54
N93 M8
N94 G98
N95 G97 S1500 M3
N96 G0 X0. Z0.14
N97 G0 Z0.05
N98 G81 X0. Z-0.155 R-0.05 F20.
N99 G80
N100 Z0.14
N101 M9
N102 G28 U0. W0.

(DRILL3 .2188)
N103 M1
N104 T0303
N105 G54
N106 M8
N107 G98
N108 G97 S1500 M3
N109 G0 X0. Z0.3
N110 G0 Z0.1
N111 Z0.05
N112 Z0.03
N113 G1 Z-0.1047 F7.
N114 G0 Z0.05
N115 Z-0.0247
N116 G1 Z-0.1594 F7.
N117 G0 Z0.05
N118 Z-0.0794
N119 G1 Z-0.2141 F7.
N120 G0 Z0.05
N121 Z-0.1341
N122 G1 Z-0.2688 F7.
N123 G0 Z0.05
N124 Z-0.1888
N125 G1 Z-0.3235 F7.
N126 G0 Z0.05
N127 Z-0.2435
N128 G1 Z-0.3782 F7.
N129 G0 Z0.05
N130 Z-0.2982
N131 G1 Z-0.4329 F7.
N132 G0 Z0.05
N133 Z-0.3529
N134 G1 Z-0.4876 F7.
N135 G0 Z0.05
N136 Z-0.4076
N137 G1 Z-0.5423 F7.
N138 G0 Z0.05
N139 Z-0.4623
N140 G1 Z-0.597 F7.
N141 G0 Z0.05
N142 Z-0.517
N143 G1 Z-0.6517 F7.
N144 G0 Z0.05
N145 Z-0.5717
N146 G1 Z-0.7064 F7.
N147 G0 Z0.05
N148 Z-0.6264
N149 G1 Z-0.7611 F7.
N150 G0 Z0.05
N151 Z-0.6811
N152 G1 Z-0.7971 F7.
N153 G4 P3000
N154 G0 Z0.1
N155 Z0.3
N156 M9
N157 G28 U0. W0.

(DRILL3 tap m6 x 1 RH tap tension holder tapmatic sm2)
N158 M1
N159 T0404
N160 G54
N161 M8
N162 G98
N163 G97 S500 M3
N164 G0 X0. Z2.1
N165 G0 Z0.9
N166 G84 X0. Z-0.5275 R-0.05 P0 F19.7
N167 G80
N168 Z2.1

N169 M9
N170 G28 U0. W0.
N171 M30
%

Similar Threads: