Re: [CAD_CAM_EDM_DRO] A stupid question
Posted by
Jon Elson
on 2002-08-11 18:27:55 UTC
mariss92705 wrote:
of the format that adds both positive and negative (like an eraser) drawing,
and a wider variety of drawing primitives. Also, comments at the beginning
define the apertures (like tools) within the file, while in RS-274D the apertures
were handled separately.
as no decimal points and suppressed leading or trailing zeroes.
A means absolute coordinates, and X34 and Y34 mean the coordinate format for both
X and Y axes are 3 digits left of the suppressed decimal point, and 4 digits to the right.
%ADD12C means add an aperture D12 which is a circle of .001 unit. Aperture D13 is
likewise created at .007 units. That MOIN is most likely supposed to be M0 (zero) IN.
Im not sure why the G54 is there, but it is standard G-code. Then, select aperture D12,
go to X.5000 Y1.0000 (D02), and then draws to (.0670,.7500) (D01). So, D02 means
move to, D01 means draw to, and D03 moves to coordinate and flashes on the spot.
D10 - D99 select an aperture.
The * is a block end symbol.
I couldn't find my book on this, so this is from memory, but I think it is correct.
I have written several Gerber and other RS-274D interpreters. (Unfortunately,
these were either just translators between variants or a gerber photoplot program.
Jon
> Hi,Gerber files come in RS274-D and RS274-X formats. 274 X is an extension
>
> Gerber files are in what's called RS274-X format.
of the format that adds both positive and negative (like an eraser) drawing,
and a wider variety of drawing primitives. Also, comments at the beginning
define the apertures (like tools) within the file, while in RS-274D the apertures
were handled separately.
> G-Code files are RS274 format.G-code is also RS-274D. There are a large number of variations supported, such
as no decimal points and suppressed leading or trailing zeroes.
> My question is are both one and the same? Below is a sample gerberThe first % line defines the format (FS = Format Specification), I forget what L is,
> file for a hexagon; is this also G-Code?:
>
> G04 AutoGERB for AutoCAD 14/2000*
> G04 RS274-X Output *
> %FSLAX34Y34*%
> %MOIN*%
> %ADD12C,0.001000*%
> %ADD13C,0.007000*%
> G54D12*X5000Y10000D02*X670Y7500D01*X670Y2500*X5000Y0*X9330Y2500*X9330Y
> 7500*X5000Y10000*M02*
A means absolute coordinates, and X34 and Y34 mean the coordinate format for both
X and Y axes are 3 digits left of the suppressed decimal point, and 4 digits to the right.
%ADD12C means add an aperture D12 which is a circle of .001 unit. Aperture D13 is
likewise created at .007 units. That MOIN is most likely supposed to be M0 (zero) IN.
Im not sure why the G54 is there, but it is standard G-code. Then, select aperture D12,
go to X.5000 Y1.0000 (D02), and then draws to (.0670,.7500) (D01). So, D02 means
move to, D01 means draw to, and D03 moves to coordinate and flashes on the spot.
D10 - D99 select an aperture.
The * is a block end symbol.
I couldn't find my book on this, so this is from memory, but I think it is correct.
I have written several Gerber and other RS-274D interpreters. (Unfortunately,
these were either just translators between variants or a gerber photoplot program.
Jon
Discussion Thread
mariss92705
2002-08-11 14:26:05 UTC
A stupid question
Greg Pettengill
2002-08-11 15:00:25 UTC
Re: [CAD_CAM_EDM_DRO] A stupid question
Alan Marconett KM6VV
2002-08-11 15:19:28 UTC
Re: [CAD_CAM_EDM_DRO] A stupid question
mariss92705
2002-08-11 16:16:08 UTC
Re: A stupid question
Jon Elson
2002-08-11 18:27:55 UTC
Re: [CAD_CAM_EDM_DRO] A stupid question
Jon Elson
2002-08-11 18:41:26 UTC
Re: [CAD_CAM_EDM_DRO] A stupid question