We are in the process of integrating a new Anderson router. We tested a single part during our official integration that ran successfully, but now we're getting an error message. I'm on my own now and over my head when it comes to reading and understanding G-code. Can somebody look at this code and help me diagnose what is happening?
This is what I know:
N50 T10 empties the main spindle of its tool.
Several lines later there is this line:
G0 G54 G90 X2.375 Y1.7343 M13 S3600
I'm told this is a route, which the router can't do because there's no tool in the head. However, all of the routing is supposed to be performed at the end of the part, so what does this line of code do?
Here is the whole program. It is for a base cabinet endpanel.
%
O1001 (R790101N)
( MATERIAL: 3/4 PF Maple 4x8 )
( DRILL: A V 5MM DRILL DIA: 0.1969 )
( DRILL: A V 7MM THRU DRILL DIA: 0.2756 )
( T11 - A T11 3/8 COMPRESSION TOOL DIA: 0.375 )
N10 G91 G28 Z0 M95
N20 G90 G20 G40 G49 M92
N30 B0
N40 G08 P1
N50 T10
N60 M116
N70 M126
N80 M136
G0 G54 G90 X2.375 Y1.7343 M13 S3600
N90 G43 H0 Z1.75
X2.375 Y1.7343
G0 Z1.
G1 Z0.2776 F160.0
G0 Z1.75
X2.375 Y9.2933
G0 Z1.
G1 Z0.2776 F160.0
G0 Z1.75
X2.375 Y14.3327
G0 Z1.
G1 Z0.2776 F160.0
G0 Z1.75
X14.5 Y14.3327
G0 Z1.
G1 Z0.2776 F160.0
G0 Z1.75
X14.5 Y9.2933
G0 Z1.
G1 Z0.2776 F160.0
G0 Z1.75
X14.5 Y1.7343
G0 Z1.
G1 Z0.2776 F160.0
G0 Z1.75
X0.5 Y2.0935
G0 Z1.
G1 Z0. F160.0
G0 Z1.75
X0.5 Y4.6132
G0 Z1.
G1 Z0. F160.0
G0 Z1.75
X0.5 Y8.2697
G0 Z1.
G1 Z0. F160.0
G0 Z1.75
X0.5 Y12.0492
G0 Z1.
G1 Z0. F160.0
G0 Z1.75
X0.5 Y14.5689
G0 Z1.
G1 Z0. F160.0
G0 Z1.75
X25.5 Y14.5689
G0 Z1.
G1 Z0. F160.0
G0 Z1.75
X25.5 Y12.0492
G0 Z1.
G1 Z0. F160.0
G0 Z1.75
X25.5 Y8.2697
G0 Z1.
G1 Z0. F160.0
G0 Z1.75
X25.5 Y4.6132
G0 Z1.
G1 Z0. F160.0
G0 Z1.75
X25.5 Y2.0935
G0 Z1.
G1 Z0. F160.0
G0 Z1.75
N100 G80
N110 G17 G91 G28 Z0 M95
N120 M92
(ROUTE TOOL #11- A T11 3/8 COMPRESSION)
(DIAMETER 0.375)
N130 T11
N140 M13 S18000
N150 M22
N160 G0 G90 G17 G54 X26.0625 Y5.7565
N170 G43 H11 Z1.75
N180 G0 Z1.
N190 G1 Y7.7 Z-0.003 F300.0
N200 Y15.9375 F600.0
N210 X-0.0625
N220 Y-0.0625
N230 X26.0625
N240 Y8.175
N250 Y10.1185 Z1.
N260 G0 Z1.75
N270 X26.1245 Y-0.1875 Z1.75
N280 Z1.
N290 G1 Z-0.003 F300.0
N300 Y48.6875 F600.0
N310 G0 Z1.75
N320 X26.1245 Y15.9995 Z1.75
N330 Z1.
N340 G1 Z-0.003 F300.0
N350 X-0.1875 F600.0
N360 G0 Z1.75
N370 G17
N380 M92
N390 G91 G28 Z0 M95
N400 G54.
N410 G0 G90 G54 X1.0 Y60.0
N420 G90 G49
N430 M86 B0
N440 M87 B0
N450 B0
N460 M117
N470 M127
N480 M137
N490 M30
%