Hello Guest it is March 28, 2024, 09:43:44 PM

Author Topic: Gcode doesnt translate exactly from engraving software to mach3  (Read 2393 times)

0 Members and 1 Guest are viewing this topic.

Gcode doesnt translate exactly from engraving software to mach3
« on: February 19, 2012, 02:49:53 PM »
Hi, I'm trying to engrave "DaddyD" to test this software but I'm a lathe guy and dont know much about mill specific gcodes (just setup my mill), and on the backplot in the engrave software it looks fine but when I load the program into mach3 there are these giant loops between characters.  WHen I find the lines pertaining to these loops and delete them, they are replaced by a single large loop.  The for example:

N78 G03 X0.232390157133184 Y0.181771015013733 I0.0198090342058773 J-0.0594887306766814
N79 G03 X0.224534946722052 Y0.177307206068268 I0.0332373241062225 J-0.0676330771540921
N80 G03 X0.218140936447834 Y0.171956497717594 I0.0482173340150926 J-0.0641146611298763
N81 G03 X0.21258046857091 Y0.166181790922051 I0.0487392252170336 J-0.0524954647380381
N82 G03 X0.207853543091278 Y0.159983085681641 I0.0492459239742893 J-0.0424549463426944
N83 G03 X0.20396016000894 Y0.153360381996363 I0.0531928355585103 J-0.0357270104890069
N84 G03 X0.200900319323895 Y0.146313679866218 I0.0571397471427121 J-0.0289990746353085
N85 G03 X0.198674021036143 Y0.138842979291204 I0.0610866587269363 J-0.0222711387816181
N86 G03 X0.197281265145685 Y0.130948280271323 I0.0697367432676982 J-0.0163729206692287
N87 G03 X0.196722051652519 Y0.122629582806574 I0.0796537973424777 J-0.00953276666356791
N88 G03 X0.197374839256297 Y0.114451656425016 I0.07890714479538 J0.00218359757227423
N89 G03 X0.198834433797193 Y0.106691371281607 I0.0699637354834531 J0.00914173438165065
N90 G03 X0.201100835275207 Y0.0993487273763447 I0.0643786209264165 J0.0158501904126425
N91 G03 X0.20417404369034 Y0.0924237247092304 I0.0591930222468443 J0.0221245197294302
N92 G03 X0.20805405904259 Y0.0859163632802638 I0.0561192143734632 J0.0290506804391297
N93 G03 X0.212740881331959 Y0.079826643089445 I0.0547968485251841 J0.0373248008685833
N94 G03 X0.218234510558446 Y0.0741545641367738 I0.053350672138005 J0.0461757660698653
N95 G03 X0.224534946722052 Y0.0689001264222503 I0.0536395037993813 J0.0579129452654158
N96 G03 X0.233599209956552 Y0.0641930043092161 I0.0412688661484263 J0.0683884813571421
N97 G03 X0.242568265599039 Y0.0609888020413725 I0.0267070946386357 J0.0606022859936755
N98 G03 X0.251442113649512 Y0.0592875196187194 I0.0150529263425917 J0.0545221706236249
N99 G03 X0.260220754107971 Y0.0590891570412569 I0.00554045863072276 J0.050845055642965
N100 G03 X0.268904186974417 Y0.0603937143089849 I-0.00322889485363744 J0.0510440065354658
N101 G03 X0.277492412248849 Y0.0632011914219034 I-0.0132245445473956 J0.0549942642689134
N102 G03 X0.285985429931268 Y0.0675115883800126 I-0.0256480097952602 J0.0610580507811533
N103 G03 X0.294383240021672 Y0.0733249051833123 I-0.0411711259461568 J0.0684473672522249

THis was produced by the software, up to line 82 all is good then each line up to line 99 are these circles.  What am I missing??

Dave

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Gcode doesnt translate exactly from engraving software to mach3
« Reply #1 on: February 19, 2012, 03:56:56 PM »
Go to config menu then General Config and change the IJ mode to the opposite of what it is now.
Hood
Re: Gcode doesnt translate exactly from engraving software to mach3
« Reply #2 on: February 19, 2012, 04:46:06 PM »
Thanks, thats easier than placing G91.1 on each program.

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Gcode doesnt translate exactly from engraving software to mach3
« Reply #3 on: February 19, 2012, 04:48:09 PM »
Best to actually have the G90.1 or G91.1 in your code as code can change the IJ mode.
Hood