![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
Looking for a little feedback. I am new to G code programming, though not to Basic, Cobol and Fortran programming (years ago). I wrote this program to drill cylindrical hairbrush handles. The brush has 12 rows of 14 holes, each row spiraling at 17 degrees and every other row offset by 1/2 space. My concept is to drill 15 holes along the axis, take 1/2 step and rotate to next row to return to the end, rotate and repeat 5 times. What code will have this repeat 5 times? Have I neglected something to tell the program axis A it is rotational? Any other comments? (hair brush pattern, xx mm dr) G0 G49 G40.1 G17 G80 G50 G90 G98 G20 (Inch) (***** Spiraling Hole Pattern *****) M6 T1 M03 S3500 M9 G00G43 H1 Z0.25 G81 X0.25 Y0 Z-0.33 A0 R0.125 F100 M98 O0002 O0002 G91 X+0.2679 A+0.0078 L14 X+0.134 A-30 X-.02679 A-0.0078 L14 M98 O0003 M99 O0003 G91 A-30 M98 O0002 M99 G80 M5 M9 M30 Thanks! Lew |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| learning g code or cad-cam code output? | slow_rider | G-Code Programing | 3 | 02-27-2010 08:48 PM |
| learning g code | slow_rider | General CNC (Mill and Lathe) Control Software (NC) | 17 | 05-11-2007 12:11 PM |
| Learning G-Code | Rance | G-Code Programing | 5 | 10-20-2005 12:35 AM |
| Learning Programming | Gujustud | G-Code Programing | 15 | 01-17-2005 04:17 PM |
| learning to g-code | bush666au | G-Code Programing | 3 | 04-06-2004 06:02 AM |