PDA

View Full Version : Converting From Mach2 To Mach3



duraflap
10-19-2007, 08:16 PM
I've been using Mach2 for several years now and have decided to update to Mach3. I'm having trouble with Mach3 reading my many, many G-code files which worked fine with Mach2. The problem seems to be the macro's I've been using.
Am I going to have to rewrite the start and stop macros?
What do you all think?
Haas VF1 is the post
>>>>>>>>>>>>>>>>>>>>>>>>>the program is as follows:

TEST LINE CUT FILE
%
O100
N1 G0 G90 G40 G49 G52 Z0 M19
T2
M08
M03
X1.4324 Y4.2673 Z-1.
G01 Z-2.F20
X5.1108 Y2.1605F100
X2.7031 Y1.9265
X2.9706 Y2.5618
G00 Z-1.
G00 Z-1.75
M05
M09
G00X0Y0Z0
M30
M0 G0 G90 G40 G52 Z0 M19
G52 Y0
%

Gives me this message: "unknown word eLine 0"
If I edit out the words, then error message
"Cannot use Two G-codes that use axis values line 2"

Any ideas, anyone?
Thanks
Dennis

ger21
10-20-2007, 12:00 AM
How about this? I don't see what the G52's are doing, so I removed the first one, which was causing the error.

(TEST LINE CUT FILE)
%
O100
N1 G0 G90 G40 G49 Z0 M19
T2
M08
M03
X1.4324 Y4.2673 Z-1.
G01 Z-2.F20
X5.1108 Y2.1605F100
X2.7031 Y1.9265
X2.9706 Y2.5618
G00 Z-1.
G00 Z-1.75
M05
M09
G00X0Y0Z0
M30
M0 G0 G90 G40 G52 Z0 M19
G52 Y0
%