CAD CAM EDM DRO - Yahoo Group Archive

Re: [CAD_CAM_EDM_DRO] LibreCad/.DXF to G-Code for CNC drill?

Posted by Ron Thompson
on 2012-05-28 04:49:19 UTC
OK, maybe it's a requirement for your control, but usually a lot of
Gcode commands are modal.
This means that unless the command changes, there is no need to repeat it.
The peck drill cycle is modal as far as hole positions are concerned.
I have attached the Gcode summary from Mach3. In it, you will find that
the peck drill cycle is G83. It explains what all the parameters are.
Once the G83 is called on a line, it drills the first hole.
Each successive line is an XY coordinate of the next hole. It will move
to that position and run the drill cycle.
To make it stop drilling you add a line with G80. This cancels the drill
cycle and frees the machine to do other things.
I suggest you download Mach3.



On 5/28/2012 3:15 AM, Craig Carmichael wrote:
> Ron, I guess what I'm doing is peck drilling. Many (most) of the
> commands in your Mach3 example don't seem to match what I've been
> using. But I'm not very literate at this stuff so far, and the
> software is pretty old. (On the other hand, at least the drilling
> co-ordinates are there.)
>
> Here's a sample of what I have, which uses line numbers (and ignores
> any lines <100!):
>
> ; abs. pos. mode
> N101 G90
> ; go here
> N102 G00 x -0.75 y +4.0625
> ; call hole drilling sequence
> N104 M98 P1320 L1
> ; go next hole
> N106 G90 G00 x +0.75 y +4.0625
> ; call same drilling sequence
> N108 M98 P1320 L1
> ;etc, etc, etc
> N109 G90 G00 x +2.037 y +3.594
> N110 M98 P1320 L1
>
> ;=========
> N500 M30
> ;=========
>
> ;hole drilling sequence
> N1320 M44 ; wait a couple of seconds
>
> N1330 M98 P1500 L12 ; peck drill multiple times (this was thick steel)
>
> N1380 M99 ; return
>
> N1500 M20 ; drill down (pneumatic - set air pressure for desired push)
> N1520 M44 ; drill a couple of seconds
> N1530 M21 ; drill up
> N1540 M44 ; wait (then loop)
> N1550 M99


--


Ron Thompson
On the Beautiful Florida Space Coast, right beside the Kennedy Space Center, USA

Think, Draw, Print. 3D printers ROCK!

http://www.plansandprojects.com/My%20Machines/PrusaMendel2012-1/

http://www.plansandprojects.com My hobby pages are here:
http://www.plansandprojects.com/My%20Machines/

Visit the castinghobby FAQ:
http://castinghobbyfaq.bareboogerhost.com/









[Non-text portions of this message have been removed]

Discussion Thread

Bill Griggs 2012-05-07 07:44:10 UTC Photo album updates Douglas Vogt 2012-05-12 22:37:07 UTC Re: [CAD_CAM_EDM_DRO] Photo album updates William C. Griggs 2012-05-13 10:03:23 UTC Re: Photo album updates Ron Ginger 2012-05-14 05:12:57 UTC Re: Photo album updates David G. LeVine 2012-05-14 14:37:58 UTC [OT] Why shops will be replaced by weight rooms. turbulatordude 2012-05-15 04:02:13 UTC Re: Photo album updates Craig Carmichael 2012-05-24 19:08:12 UTC LibreCad/.DXF to G-Code for CNC drill? Brian Worth 2012-05-25 00:04:02 UTC Re: [CAD_CAM_EDM_DRO] LibreCad/.DXF to G-Code for CNC drill? Ron Thompson 2012-05-25 05:11:30 UTC Re: [CAD_CAM_EDM_DRO] LibreCad/.DXF to G-Code for CNC drill? Craig Carmichael 2012-05-28 00:16:46 UTC Re: [CAD_CAM_EDM_DRO] LibreCad/.DXF to G-Code for CNC drill? Randall Wink 2012-05-28 04:25:47 UTC Re: [CAD_CAM_EDM_DRO] LibreCad/.DXF to G-Code for CNC drill? Ron Thompson 2012-05-28 04:49:19 UTC Re: [CAD_CAM_EDM_DRO] LibreCad/.DXF to G-Code for CNC drill? Chuck Merja 2012-05-28 07:01:11 UTC RE: [CAD_CAM_EDM_DRO] LibreCad/.DXF to G-Code for CNC drill? Jon Elson 2012-05-28 10:04:34 UTC Re: [CAD_CAM_EDM_DRO] LibreCad/.DXF to G-Code for CNC drill? Craig Carmichael 2012-05-29 00:49:57 UTC Re: [CAD_CAM_EDM_DRO] LibreCad/.DXF to G-Code for CNC drill? turbulatordude 2012-05-29 03:19:29 UTC Re: LibreCad/.DXF to G-Code for CNC drill? Tony Smith 2012-05-29 10:04:01 UTC RE: [CAD_CAM_EDM_DRO] Re: LibreCad/.DXF to G-Code for CNC drill? turbulatordude 2012-05-30 04:07:32 UTC Re: LibreCad/.DXF to G-Code for CNC drill? Tony Smith 2012-05-30 06:51:17 UTC RE: [CAD_CAM_EDM_DRO] Re: LibreCad/.DXF to G-Code for CNC drill?