Results 1 to 10 of 10

Thread: Short Program

  1. #1
    Registered
    Join Date
    Jul 2005
    Location
    Canada
    Posts
    11,964
    Downloads
    0
    Uploads
    0

    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
    Registered
    Join Date
    Jan 2008
    Location
    usa
    Posts
    181
    Downloads
    0
    Uploads
    0
    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
    Registered
    Join Date
    Jul 2005
    Location
    Canada
    Posts
    11,964
    Downloads
    0
    Uploads
    0
    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
    Registered
    Join Date
    Jan 2008
    Location
    usa
    Posts
    181
    Downloads
    0
    Uploads
    0
    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
    Registered
    Join Date
    Jul 2005
    Location
    Canada
    Posts
    11,964
    Downloads
    0
    Uploads
    0
    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
    Registered
    Join Date
    Jan 2008
    Location
    usa
    Posts
    181
    Downloads
    0
    Uploads
    0
    theres allways one of us out there,that's how you learn to hone those skills!
    Just push the button,what's the worst that could happen.


  • #7
    Registered
    Join Date
    Nov 2003
    Location
    USA
    Posts
    236
    Downloads
    0
    Uploads
    0

    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.
    Last edited by Haas_Apps; 12-12-2009 at 02:50 PM. Reason: edit


  • #8
    Registered
    Join Date
    Jul 2005
    Location
    Canada
    Posts
    11,964
    Downloads
    0
    Uploads
    0
    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
    Registered
    Join Date
    Dec 2006
    Location
    USA
    Posts
    447
    Downloads
    0
    Uploads
    0
    %
    O1234
    %


  • #10
    Moderator tobyaxis's Avatar
    Join Date
    Jan 2006
    Location
    USA
    Posts
    4,394
    Downloads
    0
    Uploads
    0
    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-08-2009, 10:06 PM
    2. Need Help!- Short on Variables
      By hydrospin01 in forum Fanuc
      Replies: 2
      Last Post: 02-14-2008, 08:03 AM
    3. A short cut is not always the best way!
      By planescott in forum Mach Software (ArtSoft software)
      Replies: 4
      Last Post: 03-12-2006, 09:58 PM
    4. Need someone with CNC plasma for short run!
      By MrHorsepower in forum Employment Opportunity
      Replies: 3
      Last Post: 11-30-2005, 06:02 PM
    5. Short G1 ignored in ver 14.7 CNC Pro
      By HuFlungDung in forum CamSoft Products
      Replies: 6
      Last Post: 10-13-2005, 11:05 AM

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.