Hello Guest it is November 22, 2019, 08:11:41 PM

Author Topic: GCODE causes problem.  (Read 2499 times)

0 Members and 1 Guest are viewing this topic.

GCODE causes problem.
« on: February 09, 2014, 10:18:43 PM »
Can anyone tell me why this gcode is causing the circles around the toolpath origin? I have attached a photo of the mach3 screen, a photo highlighting one of the offending lines, another photo with another offending line. It seems to be every other g2 line. Attached id the xml file for this machine, I am on windows 7 Plenty of cpu power. If I take out the holes with the g2 code it runs fine. I don't know what the problem could be. The problem starts at the drill 13 section. I am using a 3/16 (4.8) bit to make a 1/4" (6.3) hole.

Code: [Select]
( Made using CamBam - http://www.cambam.co.uk )
( panel_all-in-one 2/9/2014 8:27:27 PM )
( T0 : 4.8 )
( T1 : 4.8 )
G21 G90 G64 G40
G0 Z3.0
( T1 : 4.8 )
T1 M6
( Drill1 )
G17
M3 S1000
G0 X7.5 Y92.5
G98
G81 X7.5 Y92.5 Z-2.9 R3.0 F300.0
G80
( Drill2 )
S1000
G0 Z3.0
G0 X81.0 Y93.0
G98
G81 X81.0 Y93.0 Z-2.9 R3.0 F300.0
G80
( Drill3 )
S1000
G0 Z3.0
G0 X141.0
G98
G81 X141.0 Y93.0 Z-2.9 R3.0 F300.0
G80
( Drill4 )
S1000
G0 Z3.0
G0 X152.5 Y92.5
G98
G81 X152.5 Y92.5 Z-2.9 R3.0 F300.0
G80
( Drill5 )
S1000
G0 Z3.0
G0 X111.0 Y84.0
G98
G81 X111.0 Y84.0 Z-2.9 R3.0 F300.0
G80
( Drill6 )
S1000
G0 Z3.0
G0 X91.0 Y41.0
G98
G81 X91.0 Y41.0 Z-2.9 R3.0 F300.0
G80
( Drill7 )
S1000
G0 Z3.0
G0 X113.0
G98
G81 X113.0 Y41.0 Z-2.9 R3.0 F300.0
G80
( Drill8 )
S1000
G0 Z3.0
G0 X131.0
G98
G81 X131.0 Y41.0 Z-2.9 R3.0 F300.0
G80
( Drill9 )
S1000
G0 Z3.0
G0 X7.5 Y7.5
G98
G81 X7.5 Y7.5 Z-2.9 R3.0 F300.0
G80
( Drill10 )
S1000
G0 Z3.0
G0 X81.0 Y6.0
G98
G81 X81.0 Y6.0 Z-2.9 R3.0 F300.0
G80
( Drill11 )
S1000
G0 Z3.0
G0 X141.0
G98
G81 X141.0 Y6.0 Z-2.9 R3.0 F300.0
G80
( Drill12 )
S1000
G0 Z3.0
G0 X152.5 Y7.5
G98
G81 X152.5 Y7.5 Z-2.9 R3.0 F300.0
G80
( Drill13 )
S1000
G0 Z3.0
G0 X96.0 Y60.0
G0 Z3.0
G0 X96.8 Y60.0
G0 Z1.0
G1 F300.0 Z0.0
G2 F800.0 X95.6 Y59.3072 Z-0.3333 I-0.8 J0.0
G2 Y60.6928 Z-0.6667 I0.4 J0.6928
G2 X96.8 Y60.0 Z-1.0 I0.4 J-0.6928
G2 X95.6 Y59.3072 Z-1.3333 I-0.8 J0.0
G2 Y60.6928 Z-1.6667 I0.4 J0.6928
G2 X96.8 Y60.0 Z-2.0 I0.4 J-0.6928
G2 X95.6 Y59.3072 Z-2.3333 I-0.8 J0.0
G2 Y60.6928 Z-2.6667 I0.4 J0.6928
G2 X96.6472 Y60.4702 Z-2.9 I0.4 J-0.6928
G2 X96.0836 Y59.2044 I-0.6472 J-0.4702
G2 X95.2692 Y60.3254 I-0.0836 J0.7956
G2 X96.6472 Y60.4702 I0.7308 J-0.3254
( Drill14 )
S1000
G0 Z3.0
G0 X126.0 Y60.0
G0 Z3.0
G0 X126.8 Y60.0
G0 Z1.0
G1 F300.0 Z0.0
G2 F800.0 X125.6 Y59.3072 Z-0.3333 I-0.8 J0.0
G2 Y60.6928 Z-0.6667 I0.4 J0.6928
G2 X126.8 Y60.0 Z-1.0 I0.4 J-0.6928
G2 X125.6 Y59.3072 Z-1.3333 I-0.8 J0.0
G2 Y60.6928 Z-1.6667 I0.4 J0.6928
G2 X126.8 Y60.0 Z-2.0 I0.4 J-0.6928
G2 X125.6 Y59.3072 Z-2.3333 I-0.8 J0.0
G2 Y60.6928 Z-2.6667 I0.4 J0.6928
G2 X126.6472 Y60.4702 Z-2.9 I0.4 J-0.6928
G2 X126.0836 Y59.2044 I-0.6472 J-0.4702
G2 X125.2692 Y60.3254 I-0.0836 J0.7956
G2 X126.6472 Y60.4702 I0.7308 J-0.3254
( Drill15 )
S1000
G0 Z3.0
G0 X91.0 Y29.0
G0 Z3.0
G0 X91.8 Y29.0
G0 Z1.0
G1 F300.0 Z0.0
G2 F800.0 X90.6 Y28.3072 Z-0.3333 I-0.8 J0.0
G2 Y29.6928 Z-0.6667 I0.4 J0.6928
G2 X91.8 Y29.0 Z-1.0 I0.4 J-0.6928
G2 X90.6 Y28.3072 Z-1.3333 I-0.8 J0.0
G2 Y29.6928 Z-1.6667 I0.4 J0.6928
G2 X91.8 Y29.0 Z-2.0 I0.4 J-0.6928
G2 X90.6 Y28.3072 Z-2.3333 I-0.8 J0.0
G2 Y29.6928 Z-2.6667 I0.4 J0.6928
G2 X91.6472 Y29.4702 Z-2.9 I0.4 J-0.6928
G2 X91.0836 Y28.2044 I-0.6472 J-0.4702
G2 X90.2692 Y29.3254 I-0.0836 J0.7956
G2 X91.6472 Y29.4702 I0.7308 J-0.3254
( Drill16 )
S1000
G0 Z3.0
G0 X113.0 Y29.0
G0 Z3.0
G0 X113.8 Y29.0
G0 Z1.0
G1 F300.0 Z0.0
G2 F800.0 X112.6 Y28.3072 Z-0.3333 I-0.8 J0.0
G2 Y29.6928 Z-0.6667 I0.4 J0.6928
G2 X113.8 Y29.0 Z-1.0 I0.4 J-0.6928
G2 X112.6 Y28.3072 Z-1.3333 I-0.8 J0.0
G2 Y29.6928 Z-1.6667 I0.4 J0.6928
G2 X113.8 Y29.0 Z-2.0 I0.4 J-0.6928
G2 X112.6 Y28.3072 Z-2.3333 I-0.8 J0.0
G2 Y29.6928 Z-2.6667 I0.4 J0.6928
G2 X113.6472 Y29.4702 Z-2.9 I0.4 J-0.6928
G2 X113.0836 Y28.2044 I-0.6472 J-0.4702
G2 X112.2692 Y29.3254 I-0.0836 J0.7956
G2 X113.6472 Y29.4702 I0.7308 J-0.3254
( Drill17 )
S1000
G0 Z3.0
G0 X131.0 Y29.0
G0 Z3.0
G0 X131.8 Y29.0
G0 Z1.0
G1 F300.0 Z0.0
G2 F800.0 X130.6 Y28.3072 Z-0.3333 I-0.8 J0.0
G2 Y29.6928 Z-0.6667 I0.4 J0.6928
G2 X131.8 Y29.0 Z-1.0 I0.4 J-0.6928
G2 X130.6 Y28.3072 Z-1.3333 I-0.8 J0.0
G2 Y29.6928 Z-1.6667 I0.4 J0.6928
G2 X131.8 Y29.0 Z-2.0 I0.4 J-0.6928
G2 X130.6 Y28.3072 Z-2.3333 I-0.8 J0.0
G2 Y29.6928 Z-2.6667 I0.4 J0.6928
G2 X131.6472 Y29.4702 Z-2.9 I0.4 J-0.6928
G2 X131.0836 Y28.2044 I-0.6472 J-0.4702
G2 X130.2692 Y29.3254 I-0.0836 J0.7956
G2 X131.6472 Y29.4702 I0.7308 J-0.3254
( Profile1 )
S1000
G0 Z3.0
G0 X0.0 Y-2.4
G0 Z1.0
G1 F300.0 Z-1.0
G1 F800.0 X159.5
G3 X161.9 Y0.0 I0.0 J2.4
G1 Y99.5
G3 X159.5 Y101.9 I-2.4 J0.0
G1 X0.0
G3 X-2.4 Y99.5 I0.0 J-2.4
G1 Y0.0
G3 X0.0 Y-2.4 I2.4 J0.0
G1 F300.0 Z-2.0
G1 F800.0 X159.5
G3 X161.9 Y0.0 I0.0 J2.4
G1 Y99.5
G3 X159.5 Y101.9 I-2.4 J0.0
G1 X0.0
G3 X-2.4 Y99.5 I0.0 J-2.4
G1 Y0.0
G3 X0.0 Y-2.4 I2.4 J0.0
G1 F300.0 Z-2.9
G1 F800.0 X159.5
G3 X161.9 Y0.0 I0.0 J2.4
G1 Y99.5
G3 X159.5 Y101.9 I-2.4 J0.0
G1 X0.0
G3 X-2.4 Y99.5 I0.0 J-2.4
G1 Y0.0
G3 X0.0 Y-2.4 I2.4 J0.0
G0 Z3.0
M5
M30

Offline Tweakie.CNC

*
  • *
  •  8,009 8,009
  • Super Kitty
    • View Profile
    • Tweakie.CNC
Re: GCODE causes problem.
« Reply #1 on: February 10, 2014, 03:02:06 AM »
In Config / General Config  change your IJ Mode to Inc that will get rid of the crop circles.  ;)

In this instance, In your GCode define that the arcs have been created in Incremental Mode (as opposed to Absolute Mode) with G91.1 at the start of the code.

Tweakie.
Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.
Re: GCODE causes problem.
« Reply #2 on: February 10, 2014, 02:57:09 PM »
Quote
In Config / General Config  change your IJ Mode to Inc that will get rid of the crop circles.

I was thinking crop circles but I didn't want to say it. Don't want people to think I'm whacky.

Thank you very much that took care of my problem.

Offline Tweakie.CNC

*
  • *
  •  8,009 8,009
  • Super Kitty
    • View Profile
    • Tweakie.CNC
Re: GCODE causes problem.
« Reply #3 on: February 11, 2014, 02:55:41 AM »
No worries Frank, everybody knows that I am whacky.  ;D

Pleased that you got it sorted.

Tweakie.
Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.

Offline Fastest1

*
  •  927 927
  • Houston, TX
    • View Profile
GCODE causes problem.
« Reply #4 on: February 25, 2014, 07:47:07 AM »
Just wacky enough to keep all of our machines running correctly.
I want to die in my sleep like my grandfather, not like the passengers in the car! :-)

Offline Tweakie.CNC

*
  • *
  •  8,009 8,009
  • Super Kitty
    • View Profile
    • Tweakie.CNC
Re: GCODE causes problem.
« Reply #5 on: February 26, 2014, 07:33:31 AM »
 :)

Tweakie.
Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.