Hello Guest it is April 19, 2024, 08:37:30 PM

Author Topic: Frustrated with code  (Read 7262 times)

0 Members and 1 Guest are viewing this topic.

Offline skaha

*
  •  57 57
  • My first attempt
    • View Profile
Frustrated with code
« 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

Offline rcrabb

*
  •  146 146
    • View Profile
Re: Frustrated with code
« Reply #1 on: February 04, 2007, 01:33:28 AM »
Can you post your gcode file and dxf file you inported to lazycam?
Ryan

Offline skaha

*
  •  57 57
  • My first attempt
    • View Profile
Re: Frustrated with code
« Reply #2 on: February 04, 2007, 04:37:18 PM »
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

Offline GaryB

*
  •  108 108
    • View Profile
Re: Frustrated with code
« Reply #3 on: February 04, 2007, 07:47:18 PM »
You might check the initialization string in the general config for a G21
Beckwith Decor Products
ArtCam Trainer
Onsrud & Custom CNC tooling Distributor

Wichita/Derby Kansas
http://www.beckwithdecor.com

Offline skaha

*
  •  57 57
  • My first attempt
    • View Profile
Re: Frustrated with code
« Reply #4 on: February 04, 2007, 09:54:17 PM »
Thanks Gary, the only entry in the initialize line is G80
Terry

Offline skaha

*
  •  57 57
  • My first attempt
    • View Profile
Re: Frustrated with code
« Reply #5 on: February 05, 2007, 01:23:53 PM »
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
Re: Frustrated with code
« Reply #6 on: February 05, 2007, 04:23:02 PM »
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

Offline skaha

*
  •  57 57
  • My first attempt
    • View Profile
Re: Frustrated with code
« Reply #7 on: February 05, 2007, 10:55:48 PM »
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

Offline Chaoticone

*
  • *
  •  5,624 5,624
  • Precision Chaos
    • View Profile
Re: Frustrated with code
« Reply #8 on: February 06, 2007, 12:16:33 AM »
Terry,
   Can you post the DXF file?


Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!

Online Graham Waterworth

*
  • *
  •  2,672 2,672
  • Yorkshire Dales, England
    • View Profile
Re: Frustrated with code
« Reply #9 on: February 06, 2007, 03:07:55 AM »
It sounds more like the DXF file is metric

Graham.
Without engineers the world stops