Hello Guest it is March 28, 2024, 08:26:05 AM

Author Topic: Newbe problems with Mach3  (Read 3094 times)

0 Members and 1 Guest are viewing this topic.

Newbe problems with Mach3
« on: August 02, 2009, 12:39:14 PM »
Hi Everyone

I am very new to this all but find the whole thing facinating.  Before I commit to buying a miller for my woodcraft hobby I wanted to see if I could get to grips with the Gcode programming first.  I have installed Mach3 and another program called CNCSimluator which has a lovely 3d model of your component.

My code works well in CNCSimulator but when I put the same code into Mach3 it throws up and error about the Radius to end of arc differs from radius to start (line 22)

Heres the code, I am really sorry if this is a blatently obvious mistake but I am totally stumped.

Thanks in advance



T4
G00 X4.0 Y8.0
G01 Z-6
G01 X4.0 D52 F175.0
G01 x4.0 Y57
G02 X8 Y61 I4 J0
G01 X82
G02 X86 Y57 I0 J-4                     
G01 Y8.0
G02 X82.0 Y4.0 I-4 J0                 
G01 X8.0
G02 X4.0 Y8.0 I0 J4.0                 
G00 Z5


(POCKET CUTTING)
G0 Z5
T06
G0 X30.0 Y30.0
G01 Z-6.00 F100.00
G01 X35.0 Y30.0
G03 X25.0 Y30.0 I-5 J0
G03 X35 Y30 I5 J0
G01 X40 Y30
G02 X20 Y30 I-10 J0   <<< This line is highlighted when the program halts
G02 X40 Y30 I10 J0


(ELONGATED SLOT)
T06
G0 Z5
G0 X60 Y20
G01 Z-6 F100.00
G01 X60 Y40
G01 X70 Y40
G01 X70 Y20
G01 X60 Y20
G01 X65 Y15
G01 X65 Y45
G01 X60 Y20

G01 X59 Y19
G01 X59 Y46
G02 X71 Y46 I6 J0
G01 X71 Y19
G02 X59 Y19 I-6 J0

(SECONDARY SLOT)
G01 X62 Y18
G01 Z-9 F100.00
G01 X62 Y46
G02 X68 Y46 I3 J0
G01 X68 Y18
G02 X62 Y18 I-3 J0
G0 Z5

(drilled holes)
G0 X15 Y15
G1 Z-12 F200
G0 Z5

G0 X15 Y40
G1 Z-12 F200
G0 Z5

G0 X45 Y40
G1 Z-12 F200
G0 Z5

G0 X45 Y15
G1 Z-12 F200
G0 Z5

G0 X0 Y0

Offline Chip

*
  • *
  •  2,055 2,055
  • Gainesville Florida USA
    • View Profile
Re: Newbe problems with Mach3
« Reply #1 on: August 02, 2009, 02:57:53 PM »
Hi, Mike

Give this G-code file a shot, I put some pre-ambles in the top of your code.

Chip
« Last Edit: August 02, 2009, 03:06:53 PM by Chip »

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: Newbe problems with Mach3
« Reply #2 on: August 02, 2009, 09:00:22 PM »
I'd get the code working in Mach3, and don't worry about CNC Simulator right now. I've never gotten good results with the CNCSimulator any time I've tried it. ANd all my code works fine in Mach3. :)
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html

vmax549

*
Re: Newbe problems with Mach3
« Reply #3 on: August 06, 2009, 03:11:02 PM »
Sounds like you r  I,Js are set to the wrong mode. Inc or ABS

(;-) TP