588,556 active members*
4,759 visitors online*
Register for free
Login
Results 1 to 10 of 10
  1. #1
    Join Date
    Jul 2005
    Posts
    12177

    Short Program

    How short can a program be and still qualify as a program?

    I had drilled and parted off some short pieces of leaded hexagon which needed tapping 1/2"-20. I didn't want to disturb another setup on the lathe so I figured on tapping them in the mill. Five lines written in MDI and a cycle time of 2 seconds made them the shortest job I have ever done.
    An open mind is a virtue...so long as all the common sense has not leaked out.

  2. #2
    Join Date
    Feb 2008
    Posts
    183
    ok,i'll bite and say 3 lines of code

    G00 G90 G54 X0 Y0 S (your choice) M03
    G43 Z1. H03
    G84 X0 Y0 Z-.5 R0.2 F (fitting to speed)

    Just push the button,what's the worst that could happen.

  3. #3
    Join Date
    Jul 2005
    Posts
    12177
    Quote Originally Posted by fuzzyracing1967 View Post
    ok,i'll bite and say 3 lines of code

    G00 G90 G54 X0 Y0 S (your choice) M03
    G43 Z1. H03
    G84 X0 Y0 Z-.5 R0.2 F (fitting to speed)

    But you did not stop the programe with M30 nor did you lift things clear to reload.

    Add: G53 G00 Z0. M30
    An open mind is a virtue...so long as all the common sense has not leaked out.

  4. #4
    Join Date
    Feb 2008
    Posts
    183
    ok ,I'll give you the m30.
    But I didn't take into acount the ( some short pieces ) more then one.
    Just push the button,what's the worst that could happen.

  5. #5
    Join Date
    Jul 2005
    Posts
    12177
    Quote Originally Posted by fuzzyracing1967 View Post
    ok ,I'll give you the m30.
    But I didn't take into acount the ( some short pieces ) more then one.
    You remind me of the people I used to get on the telephone, when I took customer service calls, I often wanted to scream "reading the fffffffing instructions!!!!!!!".

    But I never did, at least until after I had hung up the phone.
    An open mind is a virtue...so long as all the common sense has not leaked out.

  6. #6
    Join Date
    Feb 2008
    Posts
    183
    theres allways one of us out there,that's how you learn to hone those skills!
    :wave:
    Just push the button,what's the worst that could happen.

  7. #7
    Join Date
    Nov 2003
    Posts
    236

    Talking Okay, I'll bite

    Quote Originally Posted by Geof View Post
    How short can a program be and still qualify as a program?

    I had drilled and parted off some short pieces of leaded hexagon which needed tapping 1/2"-20. I didn't want to disturb another setup on the lathe so I figured on tapping them in the mill. Five lines written in MDI and a cycle time of 2 seconds made them the shortest job I have ever done.
    Technically a program must contain at least a program number and an m30 on a Haas control. Yes, I know it will do nothing - but will execute. I suppose you could add a g4 to just kill some time.

  8. #8
    Join Date
    Jul 2005
    Posts
    12177
    Quote Originally Posted by Haas_Apps View Post
    Technically a program must contain at least a program number and an m30 on a Haas control......
    Okay just to be 'technically correct' (after all I am most often the nit picker ) I will add a program number and save it to memory. Just to keep all the technical people happy.
    An open mind is a virtue...so long as all the common sense has not leaked out.

  9. #9
    Join Date
    Dec 2006
    Posts
    447
    %
    O1234
    %

  10. #10
    Join Date
    Jan 2006
    Posts
    4396
    Quick Drilling PGM
    1) PGM#
    2) S-PGM G-Models
    3) Tool Call, Spdl Speed, First Location
    4) Height Call G43
    5) Drill Cycle
    6) S-PGM Incremental Locations
    7) S-PGM Tool Retract G-Cancels Y Home
    8) M30

    Quick Facing PGM
    1) PGM#
    2) S-PGM G-Models
    3) Tool Call Spdle Speed, Start Location
    4) Height Call G43
    5) Feed Across
    6) S-PGM Tool Retract Send Y Home
    7) M30

    I would safely say 7 Sequence Blocks is the shortest without using MDI.
    Toby D.
    "Imagination and Memory are but one thing, but for divers considerations have divers names"
    Schwarzwald

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

    www.refractotech.com

Similar Threads

  1. eliminate start and stop of spindle for short program?
    By endgrainguy in forum G-Code Programing
    Replies: 4
    Last Post: 06-09-2009, 03:06 AM
  2. Short on Variables
    By hydrospin01 in forum Fanuc
    Replies: 2
    Last Post: 02-14-2008, 02:03 PM
  3. A short cut is not always the best way!
    By planescott in forum Mach Software (ArtSoft software)
    Replies: 4
    Last Post: 03-13-2006, 03:58 AM
  4. Need someone with CNC plasma for short run!
    By MrHorsepower in forum Employment Opportunity
    Replies: 3
    Last Post: 12-01-2005, 12:02 AM
  5. Short G1 ignored in ver 14.7 CNC Pro
    By HuFlungDung in forum CamSoft Products
    Replies: 6
    Last Post: 10-13-2005, 04:05 PM

Posting Permissions

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