CAD CAM EDM DRO - Yahoo Group Archive

Re: [CAD_CAM_EDM_DRO] Eagle 1nc-drill_gcode.ulp and mach3

on 2007-03-22 09:46:25 UTC
>I'm using Mach3.

I will assume Mach3 Mill.

>Running the 1nc-drill_gcode.ulp, at cycle start it jumps to line #16
>and I get a Mach3 error message "Equal sign missing in parameter
>setting on line #16". The code at line 16 is:
>G82 X1.350000Y2.500000 Z-0.08 F1.0 R0.1 #250

Mach3 Mill is not fully RS-274D compliant. If you look in the manual
on page 10-27
(http://www.artsoftcontrols.com/documentation/M3M1_84-A2.pdf), you
will see that G82 does not take a # parameter. RS-274D gives the G82
syntax as:

G82 X[first x pos] Y[first y pos] Z[depth] F[feedrate] R[release
height] #[dwell]

Mach3 Mill gives it as:

G82 X[first x pos] Y[first y pos] Z[depth] A B C R[release height]
L[Number of repititions] P[dwell]

Unless I read the specs wrong, Mach3 looks through the code for
syntax errors and reports them before moving. Replacing the "#250"
with "P0.250" may fix this, but note the manual claims P is in
seconds where # is in milliseconds. The feed rate is set in another
command (G93, G94 or G95.)

Be careful, Mach3 may use different units than RS-274D in places.

>What do I need to do to correct this?

Edit the file.

>I feel that I'll have more errors if I could ever get pass this and
>why is the program jumping to line 16 at start up?

Mach3 appears to do a syntax check before it moves (a good
thing!) If it didn't, you would be hitting limits and drilling
through the table all the time.

I am neither a G-code guru, nor a Mach3 guru, just an amateur who is
learning. By looking up answers, I learn a lot.

David G. LeVine
Nashua, NH 03060


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.17/730 - Release Date: 3/22/2007 7:44 AM

Discussion Thread

wdavis364 2007-03-22 07:04:47 UTC Eagle 1nc-drill_gcode.ulp and mach3 David G. LeVine 2007-03-22 09:46:25 UTC Re: [CAD_CAM_EDM_DRO] Eagle 1nc-drill_gcode.ulp and mach3