Originally Posted by
dcoupar
Why not post the portion of the code where it's hanging up. Then maybe we can see.
sure thing. Here is the portion of the original program:
Code:
M79
G0W.02B-5.5M63M9
G53X0.Z-12.M64S800M3
T1088
M01
/M90
/M99P1000
M30
N900
M01
M98P8000(O8000 BAR CHANGE)
M99P1000(RETURN TO TOP OF PROGRAM)
N7777
#3000=3(CHECK TOOL LIFE)
And here is the end of the program and beginning of the second program it splits it into:
O2222
Code:
M79
G0W.02B-5.5M63M9
G53X0.Z-12.M64S800M3
T1088
M01
/M90
/M99P1000
M30
%
O2223
Code:
%
O2223N900
M01
M98P8000(O8000 BAR CHANGE)
M99P1000(RETURN TO TOP OF PROGRAM)
N7777
#3000=3(CHECK TOOL LIFE)
When the program O2222 is input into the controller, it stops the input at M30 and creates a separate program O2223 and inserts everything from N900 left into that other program. The operator tells me he used to have to do this anyway, that is, merge the programs back together after reading them in.
My assumption is that some parameter in the controller is telling it that when it reads a program end (M30) to reset and then as data is still entering the controller it creates another program with the leftover data. Thanks for any help you can provide.