PDA

View Full Version : mach 3 error



genexis
06-18-2007, 02:15 AM
Hi, i'm very new to this CNC industry and i'm currently experimenting with mach 3 to process my G-code.

I've come across this problem when simulating the program, can anybody help me out with it?

"Cannot use two g codes that both use axis values on Line number #575"

This is the chunk of code:
N1222 X67.255 Y23.009
N1224 X67.703 Y22.832
N1226 X68.117 Y22.62
N1228 X63.637
N1230 Z10.
N1232 M5
N1234 G91 G0 G28 Z0.
N1236 G28 X0. Y0. A0.
N1238 M01
( 2. FLAT ENDMILL TOOL - 211 DIA. OFF. - 0 LEN. - 0 DIA. - 2. )
( SHAPING OF WORDS )
N1240 T211 M6
N1242 G0 G90 G54 X14.174 Y28.133 A0. S0 M5
N1244 G43 H0 Z50.
N1246 Z10.

ger21
06-18-2007, 08:53 PM
Can't have G0 and G28 in the same line, just like the error message said.