viper
Titanium
- Joined
- May 18, 2007
- Location
- nowhereville
Sorry to dump the whole program in here but thought it might be easier to understand. Basically if I run this, it runs fine until tool change. Turret backs off for TC but it never changes tool and idles with the green light on like it is supposed to be doing something but neither feed or hold will help. I have to reset. If I remove th M1 and M5 at the TC for T2, it works fine. I really figured it was the M1 causing this so I pulled just the M1 and left the M5 and it failed again.
I am not real sure why I would want to stop the spindle for the TC any way on a lathe. Seems a waste of time and power if I am running at max rpm. I also notice the "T0400" and not real sure yet what the "00" is yet. I am assuming TC position but have not got that far yet. I would love to say I could look it up in my manuals but that thing has been little help so far. Can anyone help me analyze this code?
%
O0000
(PROGRAM NAME - TEST PROG2)
()
G20
(TOOL - 4 OFFSET - 4)
(OD ROUGH RIGHT - 80 DEG. INSERT - CNMG-432)
G0T0404
G97S578M03
G0X1.3222Z4.2
G50S3600
G96S200
G99G1Z4.1F.01
Z.7935
X1.3308Z.7903
X1.4179Z.7671
X1.468Z.7571
G3X1.52Z.7188R.0412
G1Z-.0313
X1.6614Z.0395
G0Z4.2
X1.1244
G1Z4.1
Z.8948
X1.1607Z.8674
X1.1928Z.8483
X1.2521Z.8195
X1.3308Z.7903
X1.3422Z.7873
X1.4836Z.858
G0Z4.2
X.9266
G1Z4.1
Z2.2116
X1.015Z2.0901
G3X1.02Z2.076R.0412
G1Z1.6401
Z1.409
Z1.0738
X1.0274Z1.0232
X1.0396Z.9922
X1.0644Z.9529
X1.1061Z.9086
X1.1444Z.8797
X1.2858Z.9504
G0Z4.2
X.7288
G1Z4.1
Z2.4833
X.9466Z2.1841
X1.088Z2.2548
G0Z4.2
X.5309
G1Z4.1
Z2.7551
X.7488Z2.4559
X.8902Z2.5266
G0Z4.2
X.3331
G1Z4.1
Z2.9323
X.3733Z2.9119
G3X.3813Z2.9072R.0413
G1X.4338Z2.871
G3X.4413Z2.8647R.0413
G1X.4817Z2.8227
X.4848Z2.8185
X.5509Z2.7276
X.6924Z2.7983
G0Z4.2
X.1353
G1Z4.1
Z2.9925
X.1401Z2.99 17
G3X.1517Z2.9895R.0413
G1X.232Z2.9699
G3X.2446Z2.9661R.0413
G1X.3198Z2.9385
X.3284Z2.9347
X.3531Z2.9221
X.4945Z2.9929
G0Z4.2
X-.0625
G1Z4.1
Z3.01
X-.0594
X.008Z3.0079
X.0769Z3.0016
X.1401Z2.9917
G3X.1517Z2.9895R.0413
G1X.1553Z2.9886
X.2967Z3.0593
G0Z3.1
X-.0601
G1Z3.
X.0056Z2.998
X.0721Z2.9919
X.1387Z2.9815
X.2232Z2.9609
G3X.2328Z2.958R.0313
G1X.3072Z2.9307
X.3147Z2.9274
X.3624Z2.9032
X.4176Z2.8651
G3X.4233Z2.8603R.0313
G1X.4633Z2.8187
X.466Z2.815
X.9962Z2.0867
G3X1.Z2.076R.0312
G1Z1.6401
Z1.409
Z1.0734
X1.0075Z1.0219
X1.0202Z.9897
X1.0457Z.9492
X1.0886Z.9037
X1.1446Z.8615
X1.1781Z.8415
X1.2391Z.8118
X1.32Z.7819
X1.4094Z.758
X1.4606Z.7478
G3X1.5Z.7188R.0313
G1Z0.
X1.6414Z.0707
G28U0.W0.M05
T0400
M01
(TOOL - 2 OFFSET - 2)
(OD GROOVE CENTER - NARROW INSERT - GC-4125)
G0T0202
G97S637M03
G0X1.2Z1.4933
G50S3600
G96S200
G98G1X.76F20.
G0X1.2
Z1.4453
G1X.76
X.7792Z1.4549
G0X1.2
Z1.5414
G1X.76
X.7792Z1.5318
G0X1.2
Z1.6171
X1.1414
G1X1.Z1.5464
X.75
X.7625Z1.5401
G0X1.1414
Z1.3696
G1X1.Z1.4403
X.75
Z1.4414
X.7625Z1.4476
G0X1.1414
X1.9498
Z-.125
G99G1X1.7498F.01
X-.0818
X.1182
G0X1.7
G28U0.W0.M05
T0200
M30
%
I am not real sure why I would want to stop the spindle for the TC any way on a lathe. Seems a waste of time and power if I am running at max rpm. I also notice the "T0400" and not real sure yet what the "00" is yet. I am assuming TC position but have not got that far yet. I would love to say I could look it up in my manuals but that thing has been little help so far. Can anyone help me analyze this code?
%
O0000
(PROGRAM NAME - TEST PROG2)
()
G20
(TOOL - 4 OFFSET - 4)
(OD ROUGH RIGHT - 80 DEG. INSERT - CNMG-432)
G0T0404
G97S578M03
G0X1.3222Z4.2
G50S3600
G96S200
G99G1Z4.1F.01
Z.7935
X1.3308Z.7903
X1.4179Z.7671
X1.468Z.7571
G3X1.52Z.7188R.0412
G1Z-.0313
X1.6614Z.0395
G0Z4.2
X1.1244
G1Z4.1
Z.8948
X1.1607Z.8674
X1.1928Z.8483
X1.2521Z.8195
X1.3308Z.7903
X1.3422Z.7873
X1.4836Z.858
G0Z4.2
X.9266
G1Z4.1
Z2.2116
X1.015Z2.0901
G3X1.02Z2.076R.0412
G1Z1.6401
Z1.409
Z1.0738
X1.0274Z1.0232
X1.0396Z.9922
X1.0644Z.9529
X1.1061Z.9086
X1.1444Z.8797
X1.2858Z.9504
G0Z4.2
X.7288
G1Z4.1
Z2.4833
X.9466Z2.1841
X1.088Z2.2548
G0Z4.2
X.5309
G1Z4.1
Z2.7551
X.7488Z2.4559
X.8902Z2.5266
G0Z4.2
X.3331
G1Z4.1
Z2.9323
X.3733Z2.9119
G3X.3813Z2.9072R.0413
G1X.4338Z2.871
G3X.4413Z2.8647R.0413
G1X.4817Z2.8227
X.4848Z2.8185
X.5509Z2.7276
X.6924Z2.7983
G0Z4.2
X.1353
G1Z4.1
Z2.9925
X.1401Z2.99 17
G3X.1517Z2.9895R.0413
G1X.232Z2.9699
G3X.2446Z2.9661R.0413
G1X.3198Z2.9385
X.3284Z2.9347
X.3531Z2.9221
X.4945Z2.9929
G0Z4.2
X-.0625
G1Z4.1
Z3.01
X-.0594
X.008Z3.0079
X.0769Z3.0016
X.1401Z2.9917
G3X.1517Z2.9895R.0413
G1X.1553Z2.9886
X.2967Z3.0593
G0Z3.1
X-.0601
G1Z3.
X.0056Z2.998
X.0721Z2.9919
X.1387Z2.9815
X.2232Z2.9609
G3X.2328Z2.958R.0313
G1X.3072Z2.9307
X.3147Z2.9274
X.3624Z2.9032
X.4176Z2.8651
G3X.4233Z2.8603R.0313
G1X.4633Z2.8187
X.466Z2.815
X.9962Z2.0867
G3X1.Z2.076R.0312
G1Z1.6401
Z1.409
Z1.0734
X1.0075Z1.0219
X1.0202Z.9897
X1.0457Z.9492
X1.0886Z.9037
X1.1446Z.8615
X1.1781Z.8415
X1.2391Z.8118
X1.32Z.7819
X1.4094Z.758
X1.4606Z.7478
G3X1.5Z.7188R.0313
G1Z0.
X1.6414Z.0707
G28U0.W0.M05
T0400
M01
(TOOL - 2 OFFSET - 2)
(OD GROOVE CENTER - NARROW INSERT - GC-4125)
G0T0202
G97S637M03
G0X1.2Z1.4933
G50S3600
G96S200
G98G1X.76F20.
G0X1.2
Z1.4453
G1X.76
X.7792Z1.4549
G0X1.2
Z1.5414
G1X.76
X.7792Z1.5318
G0X1.2
Z1.6171
X1.1414
G1X1.Z1.5464
X.75
X.7625Z1.5401
G0X1.1414
Z1.3696
G1X1.Z1.4403
X.75
Z1.4414
X.7625Z1.4476
G0X1.1414
X1.9498
Z-.125
G99G1X1.7498F.01
X-.0818
X.1182
G0X1.7
G28U0.W0.M05
T0200
M30
%