| Forums | Sign Up | Reply | Search | Statistics | Home Page |
Online now: Guests - 2
Members - 0
Most users ever online: 193 [20 Dec 2015 06:24]
Guests - 193 / Members - 0
Hyper Quadrex EIA integrexmachinist.com community built on miniBB / Hyper Quadrex EIA /

Why is my program stopping?

 
Doogie P
Forums Member
#1 | Posted: 14 Jun 2016 06:02
Reply 
Can anyone tell my why my program stops at wait code M958 in the turret one program? I've gone through the program several time and as far as I can tell all of my wait code are in sequence. I can press cycle start and the program continues running so, I don't it's a wait code problem but, sometimes it's hard to see the forest with all these damn trees in the way! I'm hoping a second set of eyes can spot my issue.

Thanks,
Doug


( T01 _ 1.25 SPADE DRILL )
( T01 _ DCLNL-854D-CNMG-432  )
( T03 _ OD TURN TOOL )
( T03 _ A16-CCLNL3 CNM-322  )
( T05 _ OD TURN 80 DEG INSERT )
( T05 _ 46 JOBBER DRILL )
( T06 _ 3/8 6FL CB EM )
( T09 _ 1/2 3 FL CB EM )
( T10 _ A16-CCLNL3 CNM-322  )
( T11 _ 46 JOBBER DRILL )
( T11 _ NSL-853D NG-3L  NT-2RK all 60 )
( T12 _ 3/8 6FL CB EM )
( T12 _ A16-CCLNL3 CNM-322  )

G109 L1
N101 ( Drill1 )
G53.5 Z#901
M901
G28 U0 V0
G28 W0
M202
G50 S2000 R1
(1.25 SPADE DRILL)
T0101
G28 U0 V0 W0
G123.1
G99
G97 S461 R1 M03
G18
G00 Z1.
X2.
G00 X0 Z.13 M08
G01 Z-1.1083 F.006
G00 Z.13
G00 X2. Z1.
M09
G28 U0
G28 W0
M01

N102 ( Face Rough1 )
G53.5 Z#901
M901
G28 U0 V0
G28 W0
M202
G50 S2000 R1
(OD TURN TOOL)
T0303
G28 U0 V0 W0
G123.1
G99
G97 S1000 R1 M03
G18
G00 Z1.
X2.
G00 X1.95 Z.005 M08
G01 X1.188 F.005
M950
G00 X1.85 Z.055
G71 U.1 R.05
G71 P1 Q2 U.02 W.005 F.005
N1 X1.414
G01 Z.005 F.005
X1.4778 Z-.0269
Z-.3586
X1.4045 Z-.4221
Z-.4495
G02 X1.4835 Z-.489 R.0395
G01 X1.49
X1.6735 Z-.5136
X1.75
N2
G00 X5. Z1.
M09
M951
M05
G28 U0
G28 W0
M01
(*)
N103 ( Face Finish1 )
G53.5 Z#901
M901
G28 U0 V0
G28 W0
M202
G50 S2000 R1
(OD TURN 80 DEG INSERT)
T0505
G28 U0 V0 W0
G123.1
G99
G97 S1200 R1 M03
G18
G00 Z1.
X2.
G00 X1.4861 Z0 M08
G01 X1.2364 F.002
M952
G00 Z.068
X1.5044
G01 X1.4044 Z.018
Z-.007
X1.4798 Z-.0446
Z-.4029
X1.4109 Z-.4374
G02 X1.4065 Z-.4427 R.0075
G01 Z-.4805
G02 X1.4215 Z-.488 R.0075
G01 X1.4364
X1.6199 Z-.5126
X1.692
X1.7274 Z-.4949
G00 Z.0173
X1.403
G01 Z-.0077
X1.4778 Z-.0451
Z-.4025
X1.4095 Z-.4367
G02 X1.4045 Z-.4427 R.0085
G01 Z-.4805
G02 X1.4215 Z-.489 R.0085
G01 X1.4362
X1.6197 Z-.5136
X1.692
X1.7274 Z-.4959
G00 X1.8274
G00 X2. Z1.
M09
M953
M954
G28 U0 V0
G28 W0
M05
M01

N104 ( Contour Mill1 )
G53.5 Z#901
G19
M901
G28 U0 V0
G28 W0
M200
(3/8 6FL CB EM)
T1212
G28 U0 V0 W0
G122.1
G97
G98
S2363 M203
M212
G00 C270.
M210
G111
X1.125 M08
G00 Y-.8992 Z-.8
X.975
G01 X.275 F14.1788
Z-.287
G00 X.975
X1.125
M205
M09
G28 U0 V0
G28 W0
M01
(*)
N105 ( Drill1 )
G53.5 Z#901
G19
M901
G28 U0 V0
G28 W0
M200
(46 JOBBER DRILL)
T1111
G28 U0 V0 W0
G122.1
G97
G98
S2357 M204
M212
G00 C270.
M210
G111
X1.125 M08
Z-.645 Y-.7618
G87 R-.786 X-.2833 Q2500 F2.70279
G80
X1.125 M09
M205
M956
G28 U0 V0
G28 W0
M01
(*)
N106 ( Contour Mill7 )
G53.5 Z#901
G17
M901
G28 U0 V0
G28 W0
M200
(1/2 3 FL CB EM)
T0909
G28 U0 V0 W0
(G122.1)
G97
G98
S1833 M203
(MOVE-LOWER-TURRET-TO-SAFE-POSITION)
(G110 X2 Z2)
(G28 U)
(G28 W)
(G00 G53 Z5.)
(G111)
M212
(G00 C0)
(M211 NO FUNCTION)
G111
(G123.1)
G00 Z.28 Y0 M08
G17 X2.5 C0
G12.1(POLAR MODE ON)
G00 X2.1734 C.5
Z-.389
G01 Z-.83 F11.00079
G41 G01 X2.1734 C0
G02 X2.1708 C-.0537 R1.0867
G02 X2.1032 C-.1686 R.255
G01 X1.3436 C-.8264
G02 X1.1784 C-.9131 R.255
G02 X.9924 C-.9669 R1.0868
G02 X.7594 C-.995 R.255
G01 X-.7594 C-.995
G02 X-.9924 C-.9669 R.255
G02 X-1.1784 C-.9131 R1.0868
G02 X-1.3436 C-.8264 R.255
G01 X-2.1032 C-.1686
G02 X-2.1708 C-.0537 R.255
G02 C.0537 R1.0868
G02 X-2.1032 C.1686 R.255
G01 X-1.3436 C.8264
G02 X-1.1784 C.9131 R.255
G02 X-.9924 C.9669 R1.0868
G02 X-.7594 C.995 R.255
G01 X.7594 C.995
G02 X.9924 C.9669 R.255
G02 X1.1784 C.9131 R1.0868
G02 X1.3436 C.8264 R.255
G01 X2.1032 C.1686
G02 X2.1708 C.0537 R.255
G02 X2.1736 C0 R1.0867
G02 X2.1708 C-.0537 R1.0868 F16.50119
G02 X2.1032 C-.1686 R.255
G01 X1.3436 C-.8264
G02 X1.1784 C-.9131 R.255
G02 X.9924 C-.9669 R1.0868
G02 X.7594 C-.995 R.255
G01 X-.7594 C-.995
G02 X-.9924 C-.9669 R.255
G02 X-1.1784 C-.9131 R1.0868
G02 X-1.3436 C-.8264 R.255
G01 X-2.1032 C-.1686
G02 X-2.1708 C-.0537 R.255
G02 C.0537 R1.0868
G02 X-2.1032 C.1686 R.255
G01 X-1.3436 C.8264
G02 X-1.1784 C.9131 R.255
G02 X-.9924 C.9669 R1.0868
G02 X-.7594 C.995 R.255
G01 X.7594 C.995
G02 X.9924 C.9669 R.255
G02 X1.1784 C.9131 R1.0868
G02 X1.3436 C.8264 R.255
G01 X2.1032 C.1686
G02 X2.1708 C.0537 R.255
G02 X2.1736 C0 R1.0867
G01 G40 X2.1736 C-.5 F11.00079
G00 Z-.389
G13.1(POLAR MODE OFF)
G17
Z.28
M205
M210
M09
G00 Y0
G17
G123.1(DIAMETER MODE ON)
G28 U0
G28 W0
M01

N107 ( Turn Finish1 - Copy )
G53.5 Z#901
M901
G28 U0 V0
G28 W0
M202
G50 S2000 R1
(OD TURN 80 DEG INSERT)
T0505
G28 U0 V0 W0
G123.1
G99
G97 S1200 R1 M03
G18
G00 Z1.
X2.
G00 Z.0673 M08
X1.503
G01 X1.403 Z.0173 F.002
Z-.0077
X1.4778 Z-.0451
Z-.4025
X1.4095 Z-.4367
G02 X1.4045 Z-.4427 R.0085
G01 Z-.4805
G02 X1.4215 Z-.489 R.0085
G01 X1.4362
X1.6314 Z-.5152
X1.6747 Z-.5027
G00 X1.7747
G00 X2. Z1.
G28U0
G28W0
M05
M09
M1


N158(PART TRANSFER WITH UNLOAD)
G53.5 Z#901
M901
M202
G28B0 (SP2 W-Axis home return)
G28U0V0
G28W0(turret index position)
G0T0707
G0G53Z-10.62(Z-Axis escape pos.)
M957
M958 (PROGRAM STOPS HERE, IF I PRESS CYCLE START PROGRAM CONTINUES)
G0B-21.3(B-Axis trs. pos. + clearance)
M540 (TRS-CHK mode on)
M508 (low torque mode on)
G98G1B-22.01F50.0 (B-Axis trs. pos.)
M506 (close SP2 chuck / open SP1 chuck)
M509 (low torque mode off)
G1B-21.054F25.(PART LENGTH + CUTOFF + .02)
M207 (CLOSE MAIN SPINDLE)
M901
M511
G97S50M3
G4X2.
G97S500
G0Z.01M8
X1.85
G99G1X.13F.003
G4U.5
M5
G28U0V0
M513 (SPINDLE SYNC OFF)
M541 (TRS-CHK mode off)
G28B0 (SP2 home return)
M202M302 ( MILLING OFF, MAIN SPINDLE AND SUB SPINDLE)
G28W0
G28W0
M959
M30


G109 L2
($)
M950
G28 U0
G28 W0
M01
(*)
N108 ( Bore Rough1 )
G53.5 Z#901
(G110 X2 Z2)
M901
G28 U0
G28 W0
M202
G50 S2000 R1
(A16-CCLNL3 CNM-322 )
T1010
G28 U0 W0
G123.1
G99
G97 S1000 R1 M03
G18
G00 Z1.
X2.
G00 X1.15 Z.055 M08
G71 U.05 R.05
G71 P3 Q4 U.02 W.005 F.005
N3 X1.3253
G01 Z-.0167 F.005
X1.2875 Z-.0357
Z-.861
N4
G00 X2. Z1.
M09
M951
G111
M952
M05
G28 U0
G28 W0
M01
(*)
N109 ( Bore Finish1 )
G53.5 Z#901
(G110 X2 Z2)
M901
G28 U0
G28 W0
M202
G50 S2000 R1
(A16-CCLNL3 CNM-322 )
T0303
G28 U0 W0
G123.1
G99
G97 S1200 R1 M03
G18
G00 Z1.
X2.
G00 X1.2421 Z.068 M08
G42 G01 X1.3421 Z.018 F.002
Z-.007
X1.2855 Z-.0352
Z-.863
X1.2501 Z-.8807
G00 Z.0173
X1.3435 Z.0173
G01 Z-.0077
X1.2875 Z-.0357
Z-.863
X1.2521 Z-.8807
G00 X1.1521
Z.05
G40 G00 X2.062 Z1.
M09
M953
G111
M05
G28 U0
G28 W0
M01
(*)
N110 ( Thread1 - Copy )
G53.5 Z#901
(G110 X2 Z2)
M901
G28 U0
G28 W0
M202
G50 S2000 R1
(NSL-853D NG-3L  NT-2RK all 60)
T1111
G28 U0 W0
G123.1
G99
G97 S500 R1 M03
G18
G00 Z1.
X2.
Y0
G00 X1.5778 Z.2231 M08
G76 P020060 R.001
G76 X1.4248 Z-.4336 P.0265 Q1500 F.0625
G00 X2. Z1.
M09
(G111)
M954
G28 U0 V0
G28 W0
M05
M01
(*)
N111 ( Contour Mill4 )
G53.5 Z#901
G17
M901
G28 U0 V0
G28 W0
M200
(3/8 6FL CB EM)
T0606
G28 U0 V0 W0
G122.1
G97
G98
S2363 M203
(M212)
(G00 C90.)
(M210)
G111
X1.125 M08
G00 Y-.8992 Z-.8
X.975
G01 X.275 F14.1788
Z-.287
G00 X.975
X1.125
M205
M09
G111
G28 U0 V0
G28 W0
M01

N112 ( Drill2 )
G53.5 Z#901
G17
M901
G28 U0 V0
G28 W0
M200
(46 JOBBER DRILL)
T0505
G28 U0 V0 W0
G122.1
G97
G98
S2357 M204
(M212)
(G00 C90.)
(M210)
G111
X1.125 M08
Z-.645 Y-.7618
G87 R-.786 X-.2833 Q2500 F2.70279
G80
X1.125 M09
M205
M956
G111
G28 U0 V0
G28 W0
M01

N113 ( Face Finish5 )
G53.5 Z#902
(G110 X2 Z2)
M902
G28 U0
G28 W0
M302
G50 S2000 R2
(DCLNL-854D-CNMG-432 )
T0101
G28 U0 W0
G123.1
G99
G97 S1000 R2 M304
G18
G00 Z-1.
X2.
G00 Z-.0082 M08
X1.9247
G01 X1.8247 Z.0418 F.005
X1.4383 Z-.01
X1.2049
Z-.06
G00 X1.8195
Z.0514
G01 X1.4356 Z0
X1.2049
Z-.05
G00 Z-.1
G00 X1.9374 Z-1.
M09
G111
M305
G28 U0
G28 W0
M01
(*)
N114 ( Bore Finish3 )
G53.5 Z#902
(G110 X2 Z2)
M902
G28 U0
G28 W0
M302
G50 S2000 R2
(A16-CCLNL3 CNM-322 )
T0202
G28 U0 W0
G123.1
G99
G97 S1000 R2 M304
G18
G00 Z-1.
X2.
G00 X1.2995 Z-.0687 M08
G41 G01 X1.3995 Z-.0187 F.005
X1.3641 Z-.001
X1.3601
G02 X1.2855 Z.0363 R.0373
G01 Z.0383
X1.2501 Z.056
G00 X1.3995 Z-.0177
G01 X1.3641 Z0
X1.3601
G02 X1.2875 Z.0363 R.0363
G01 Z.0383
X1.2521 Z.056
G00 X1.1521
G40 G00 X2.0626 Z-1.
M09
G111
M305
G28 U0 V0
G28 W0
M1

N115(PART TRANSFER WITH UNLOAD)
(INSERT AT END OF TURRET 2 PROGRAM)
(*)(PARTS UNLOAD)
T800
G0G53Z-10.
M305 (SUB SPINDEL STOP)
M957
M20 (UNLOADER EXTEND)
M26 (UNLOADER HAND OPEN)
M22 (UNLOADER ARM EXTEND)
G110B1 (CROSS MACHINING, SUB SPINDLE)
G0B-6.55 (POSITION B IN HAND)
M27 (UNLOADER HAND CLOSE)
(M500)
M306 (OPEN SUB SPINDLE)
G0B0 (RETRACT B AXIS)
M23 (UNLOADER ARM RETRACT)
M21 (UNLOADER RETRACT)
M26 (UNLOADER HAND OPEN)
G111 (CROSS MACHINE OFF)
M302
M901
M958
M1
(*)
M306(SP2 chuck open)
M358 (SP2 airblast)
M959
M30
%
 

:);):-p:-(More smilies...  Disable smilies in post
Your reply
Bold Style  Italic Style  Image Link  URL Link 

» Username  » Password 
Only registered users are allowed to post here. Please enter your login/password details upon posting a message, or sign up first.
 

Forums are powered by miniBB®