Machsupport Forum

G-Code, CAD, and CAM => G-Code, CAD, and CAM discussions => Topic started by: BillW on October 06, 2008, 12:12:32 AM

Title: Slow step in G19 G2 move
Post by: BillW on October 06, 2008, 12:12:32 AM
I am writing the code below for a CNC router and am working in a test environment (not on the machine yet).  When I step thru the code, Mach3 hangs up on the G19 G2 move.  It takes a minute or more to move thru that line and then moves on thru the rest of the program as normal.  I imagined it was a problem moving from - to + but that didn't make sense since the G19 G3 move works normally.  Mach3 displays the correct toolpath but runs that one step very slowly.  The program will be fitted out with an M98/M99 subroutine so I've declared some variables.  What am I doing that is causing this?   ???  Thanks.
Bill W
........
G17 G20 G40 G49 G54 G80 G94

G0 X0 Y0 Z0
G1 F25

#1 = 0.0805
#2 = 0.161

G0 X0.0805 Y0.1532 Z-0.08

G1 Y-0.041
G19 G2 Y-0.4252 Z0.1 J0 K0.5
#1 = [#1+#2]
G1 X#1
G19 G3 Y-0.041 Z-0.080 J0.3842 K0.32

G0 M2
Title: Re: Slow step in G19 G2 move
Post by: Chip on October 06, 2008, 02:19:37 AM
Hi, Bill

Ran your G-code with Mach3 ver. 3.042.012, didn't notice any delays.

What version are you using ?

Chip

Title: Re: Slow step in G19 G2 move
Post by: BillW on October 06, 2008, 11:32:01 AM
Chip,
I'm just running a Demo version, R2.63.  I noticed a warning in the Status line regarding the Radius being different at the end of the arc than at the beginning but I can't recreate that either.  I pulled the numbers from AutoCAD so I thought they were good.  I will redraw and see if I get anything different.  Thanks for your thoughts on this.
Bill W