Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: skaha on February 03, 2007, 11:30:53 PM
-
I have mach 3 set up in inch mode, if I import a supplied g code such as "roadrunner", I have no problem running it. If I draw something on Vector or any other cad, export it as dxf to lazy cam, clean it up etc. and click for g code, it writes the code in metric, I have poured over the program for hours and cannot seem to find what I am doing wrong. Any help would be appreciated.
Thanks
Terry
-
Can you post your gcode file and dxf file you inported to lazycam?
-
Thanks for reply Ryan, I'm afraid I am not that computer literate to be able to post as you ask. However I have gone over the g code and nowhere is there a G20 or G21 in it.
Terry
-
You might check the initialization string in the general config for a G21
-
Thanks Gary, the only entry in the initialize line is G80
Terry
-
5 (File test )
N10 (Default Mill Post)
N15 (File Posted in Mill Mode)
N20 (Sunday, February 04, 2007)
N25 G90 G80 G40 G20 (inches) G91.1
N30 G0 Z0.0000
N35 X18.0308 Y23.9769
N40 Z0.1000
N45 M3 S20000
N50 G1 Z0.2500 F30.00
N55 G2 X50.0000 Y40.0000 I11.9692 J16.0231 F6.00
N60 X18.0308 Y23.9769 I-20.0000 J0.0000
N65 G0 Z0.0000
N70 X91.5365 Y18.6700
N75 Z0.1000
N80 G1 Z0.2500 F30.00
N85 G2 X114.1421 Y30.0000 I8.4635 J11.3300 F6.00
N90 X91.5365 Y18.6700 I-14.1421 J0.0000
N95 G0 Z0.0000
N100 X60.0000 Y70.0000
N105 Z0.1000
N110 G1 Z0.0200 F30.00
N115 X120.0000 F3.00
N120 Y0.0000
N125 X0.0000
N130 Y70.0000
N135 X60.0000
N140 G0 Z0.0000
N145 M5 M9
N150 G40 G80M30
Ryan here is the code that shows up in metric even tho everything is set for inch. The G20 inches, I put in with the editor.
Terry
-
Terry when you open Mach look at the upper right hand portion of the screen. Art has Mach default to G20. You will see a string of g words there. See the attached photo showing the G20 in the string at the upper right hand corner.
Mike
-
Thanks for the reply Mike, my screen has the G20 in the top right line of code, however it still posts the G code in metric. The g codes supplied with the program work fine, it is just when I draw something in cad, export in DXF, open in Lazycam, clean up and click on g code, it posts it in the run screen in metric.
Terry
-
Terry,
Can you post the DXF file?
Brett
-
It sounds more like the DXF file is metric
Graham.
-
Thanks for the replies, Brett can you explain how to post the dxf on this forum.
Thanks
Terry
-
Go to the full reply page by clicking on the reply button, then choose additional options then browse to the file on your drive and choose it.
Hood
-
Go to the full reply page, (reply tab at top when you are viewing a post). Type your reply and to the bottom left you will see additional options, click on it and browse to you dxf file you want to post.
Brett
LOL, Hood is fast.
-
I don't think my first reply went thru, will try again.
Terry
-
Skaha, I sent you a personal message.
Brett