586,741 active members*
3,039 visitors online*
Register for free
Login
Page 2 of 2 12
Results 21 to 31 of 31
  1. #21
    Join Date
    Mar 2009
    Posts
    1863

    Re: drilling help?

    Quote Originally Posted by widget_maker View Post
    This is the code created by the "generic Tormach post" on hsmxpress. It works on the machine!
    Trouble is, this post fails for general machining giving "radius too small" errors at certain points.

    %
    (DRILL1)
    (T1 D=0.25 CR=0. TAPER=118DEG - ZMIN=-0.8651 - DRILL)
    N10 G90 G54 G64 G50 G17 G40 G80 G94 G91.1 G49
    N20 G20
    N30 G28 G91 Z0.
    N40 G90

    (DRILL1)
    N50 M998
    N60 T1 G43 H1 M6
    N70 S1000 M3
    N80 G54
    N90 G0 X-0.2865 Y0.
    N100 M9
    N110 G0 Z0.6
    N130 G0 Z0.2
    N140 G98 G73 X-0.2865 Y0. Z-0.8651 R-0.34 Q0.0625 F40.
    N150 G80
    N160 G0 Z0.6

    N180 M9
    N190 G28 G91 Z0.
    N200 G28 X0. Y0.
    N210 M30
    (DRILL1)
    (T1 D=0.25 CR=0. TAPER=118DEG - ZMIN=-0.8651 - DRILL)
    N10 G90 G54 G64 G50 G17 G40 G80 G94 G91.1 G49
    N20 G20
    N30 G28 G91 Z0.
    N40 G90

    What the heck is G64, G94 and G94.1?

    I know G20 is IPM, but in Mach, once you program a G20, it stays that way until you change it. I have been running my machine for nearly 4 years, an I have NEVER used G20. NOT EVER.

    My drilling programs start out:

    G54
    S3500M3
    T1M6
    G90G0X1.0Y.5Z1.G43H1M8
    Z.1
    G83G99X1.Y.5R.1Q.15F15.
    X2.
    X3.
    X4.
    Y1.5
    X3.
    X2.
    X1.
    G80M9
    M5
    M998
    T2M6
    S3500M3
    G90G0X1.0Y.5Z1.G43H2M8
    Z.1
    And so on for the rest of the program.

    I don't use line numbers because in long programs, line numbers take up take up way too much program space and I have run programs on my machine that are as large as 300,000 lines long.
    You can buy GOOD PARTS or you can buy CHEAP PARTS, but you can't buy GOOD CHEAP PARTS.

  2. #22
    Join Date
    Nov 2012
    Posts
    130

    Re: drilling help?

    Quote Originally Posted by Steve Seebold View Post
    (DRILL1)

    And so on for the rest of the program.

    I don't use line numbers because in long programs, line numbers take up take up way too much program space and I have run programs on my machine that are as large as 300,000 lines long.
    But Steve, this was created with a mach3 post program.

  3. #23
    Join Date
    Feb 2006
    Posts
    7063

    Re: drilling help?

    Quote Originally Posted by Steve Seebold View Post
    (DRILL1)
    (T1 D=0.25 CR=0. TAPER=118DEG - ZMIN=-0.8651 - DRILL)
    N10 G90 G54 G64 G50 G17 G40 G80 G94 G91.1 G49
    N20 G20
    N30 G28 G91 Z0.
    N40 G90

    What the heck is G64, G94 and G94.1?
    G64 sets the path blending tolerance, which helps you tune the program for best performance on your machine.

    G94 sets "units per minute" mode, rather than "units per rev" or "inverse time" modes.

    G94.1? No idea.

    Quote Originally Posted by Steve Seebold View Post
    I know G20 is IPM, but in Mach, once you program a G20, it stays that way until you change it. I have been running my machine for nearly 4 years, an I have NEVER used G20. NOT EVER.
    Standard good coding practice, regardless of language, dictates setting ALL persistent modes at the start of any program, to be certain they are in the expected state. This recommendation is followed be nearly all CAM programs. This prevents problems if someone comes along and sets G21 when you're not looking, then you run one of your programs written for G20. Some people also do some jobs in G20, some in G21, and should not have to depend on their memory to remember to set the correct mode manually before each job. It's a safety, and strongly recommended. Cost is $0, and it can easily save a part or tool.

    Quote Originally Posted by Steve Seebold View Post
    I don't use line numbers because in long programs, line numbers take up take up way too much program space and I have run programs on my machine that are as large as 300,000 lines long.
    Space? Who cares? You have gigabytes of memory and storage, and Mach3 is perfectly happy running programs millions of lines long, with line numbers. It makes absolutely no difference in performance, and, for some people, makes the code more readable.

    Regards,
    Ray L.

  4. #24
    Join Date
    Jun 2005
    Posts
    656

    Re: drilling help?

    LinuxCNC is overall much more strict about G-code than Mach. Mach tends to ignore things it doesn't understand while that will throw errors in LinuxCNC. Btw, the error line numbers are those of the file and not the N-numbers. Those are largely optional.

    G64 is something anybody doing engraving will want to pay attention to. In some cases it can round off corners quite severely.

  5. #25
    Join Date
    Aug 2008
    Posts
    121

    Re: drilling help?

    Quote Originally Posted by shred View Post
    LinuxCNC is overall much more strict about G-code than Mach. Mach tends to ignore things it doesn't understand while that will throw errors in LinuxCNC. Btw, the error line numbers are those of the file and not the N-numbers. Those are largely optional.

    G64 is something anybody doing engraving will want to pay attention to. In some cases it can round off corners quite severely.
    Can you edit the values for G64 ? I though I read or heard somewhere you could ?

  6. #26
    Join Date
    Feb 2006
    Posts
    7063

    Re: drilling help?

    Quote Originally Posted by hall6ppc View Post
    Can you edit the values for G64 ? I though I read or heard somewhere you could ?
    Of course. Either modify the post, or hand-edit the g-code.

    Regards,
    Ray L.

  7. #27
    Join Date
    Aug 2008
    Posts
    121

    Re: drilling help?

    Quote Originally Posted by SCzEngrgGroup View Post
    Of course. Either modify the post, or hand-edit the g-code.

    Regards,
    Ray L.
    What would some example code look like? I have never tried to use this setting ?

    Thanks

  8. #28
    Join Date
    Feb 2006
    Posts
    7063

    Re: drilling help?

    Quote Originally Posted by hall6ppc View Post
    What would some example code look like? I have never tried to use this setting ?

    Thanks
    That depends on what CAM you're using. The POST is the part of the CAM that actually writes the g-code file. It is not part of PathPilot.

    Regards,
    Ray L.

  9. #29
    Join Date
    Aug 2008
    Posts
    121

    Re: drilling help?

    Quote Originally Posted by SCzEngrgGroup View Post
    That depends on what CAM you're using. The POST is the part of the CAM that actually writes the g-code file. It is not part of PathPilot.

    Regards,
    Ray L.
    Using Mastercam X8 . I might be able to edit my post or I can get my reseller to do it. Just not sure exactly what I am looking for as far as a value goes . Also not sure of what the value would represent either. I have never thought about editing the G64 value in MACH because I thought you could not .

    Again Thanks for your help !

  10. #30
    Join Date
    Jun 2005
    Posts
    656

    Re: drilling help?

    G64 P0.005

    for example will keep the tool within 5 thou of the programmed path.

    LinuxCNC manual page: G Codes

    Note that G64 - without P means to keep the best speed possible, no matter how far away from the programmed point you end up. I've seen it round corners 1/8" or more when blasting through plastic in G64-without-P mode.

  11. #31
    Join Date
    Aug 2008
    Posts
    121

    Re: drilling help?

    Quote Originally Posted by shred View Post
    G64 P0.005

    for example will keep the tool within 5 thou of the programmed path.

    LinuxCNC manual page: G Codes

    Note that G64 - without P means to keep the best speed possible, no matter how far away from the programmed point you end up. I've seen it round corners 1/8" or more when blasting through plastic in G64-without-P mode.
    Thanks very much

    ! I believe I got it

Page 2 of 2 12

Similar Threads

  1. Drilling using a Gun Drilling tool on HBM
    By SatishNaik in forum Videos
    Replies: 0
    Last Post: 06-02-2014, 11:23 AM
  2. Replies: 0
    Last Post: 02-28-2014, 12:56 PM
  3. G87 wrap drilling or cross drilling
    By Drake75 in forum G-Code Programing
    Replies: 2
    Last Post: 05-14-2013, 02:30 PM
  4. Spot Drilling/Center Drilling Steel 55 HRC
    By JWB_Machining in forum MetalWork Discussion
    Replies: 7
    Last Post: 03-11-2009, 07:35 PM
  5. drilling and drilling cycles tutorial
    By wmorre in forum MetalWork Discussion
    Replies: 0
    Last Post: 10-19-2006, 12:30 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •