loading tools using their pocket number in G Code on Haas CNC mill


Results 1 to 9 of 9

Thread: loading tools using their pocket number in G Code on Haas CNC mill

  1. #1
    Member
    Join Date
    Oct 2016
    Location
    United States
    Posts
    3
    Downloads
    0
    Uploads
    0

    Default loading tools using their pocket number in G Code on Haas CNC mill

    Is it possible to load a specific Tool Pocket using G-Code on a Haas mill?

    I can go into MDI and type "P12", then "ATC FWD" or "ATC REV", and it will load whatever tool is in pocket 12, but I am wondering if there is a way to do this using G-Code without knowing what tool is in pocket 12?

    Thank you for your time.

    Similar Threads:


  2. #2
    Member Machineit's Avatar
    Join Date
    Mar 2010
    Location
    USA
    Posts
    1785
    Downloads
    0
    Uploads
    0

    Default Re: loading tools using their pocket number in G Code on Haas CNC mill

    On a Haas, you use T12 not P12. And, a normal tool change in a program is T12 M06, where T12 is the tool to go to and M06 tells the machine to change tools. M06 is G-code.

    Mike

    Two Haas VF-2's, Haas HA5C, Haas HRT-9, Hardinge CHNC 1, Bother HS-300 Wire EDM, BobCAD V23, BobCAD V28


  3. #3
    Member
    Join Date
    Jan 2014
    Location
    United States
    Posts
    16
    Downloads
    0
    Uploads
    0

    Default Re: loading tools using their pocket number in G Code on Haas CNC mill

    What are trying to accomplish? The pocket #'s are random. T1 could start in P1 but once you start changing tools it will change pocket numbers. I don't believe there is any way to utilize a P# in a program, the only way to use it is in MDI if your trying to load a tool but don't know what T# it is, you can call up that pocket.



  4. #4
    Member Cshade30's Avatar
    Join Date
    Jun 2014
    Posts
    50
    Downloads
    0
    Uploads
    0

    Default Re: loading tools using their pocket number in G Code on Haas CNC mill

    I am sure you will not want to do this in a program or production run; as mentioned the pocket a tool rests in is not constant. It would seem to me that trying to select a specific pocket rather than tool could be very dangerous. For example; what if you had three tools you call up tool 1 and it pulls from pocket 1; you call up tool 2 and it pulls from pocket 2 and store tool 1 in pocket 2 now; you call up tool 3 and it pulls from pocket 3 and stores tool 2 in pocket 3. This continues in such a way that no tool will ever be in the exact pocket it was first pulled from, or well, you will get lucky now and then but more often unlucky.

    "The one who follows the crowd will usually go no further than the crowd..."
    -Albert E.


  5. #5
    Member
    Join Date
    Jun 2013
    Location
    USA
    Posts
    997
    Downloads
    0
    Uploads
    0

    Default Re: loading tools using their pocket number in G Code on Haas CNC mill

    Pretty sure there is a screen that will allow you to always return a certain tool to the same pocket. It requires the changer to make a extra tool change. Whatever tool is in the spindle is switched with that pocket like normal. Then when you call the next tool the tool is switched back into its pocket and it goes on to pick up the next tool. It's in the same place you can view what tools are in what pockets. I can't remember how to get there off the top of my head. I think it may require you to lose the pockets on either side of the permanent pocket. I'm pretty sure that's what happens if you list the tool as oversized.

    Ben

    Sent from my E6810 using Tapatalk



  6. #6
    Member
    Join Date
    Jan 2014
    Location
    United States
    Posts
    16
    Downloads
    0
    Uploads
    0

    Default Re: loading tools using their pocket number in G Code on Haas CNC mill

    As bhurts stated, I believe there is a way to do that and it tool changes like an umbrella changer does, you wont be able to pre-load a tool. I believe what it does is it grabs say T1 thats in P1 and puts it in the spindle then when you do a tool change it puts that back in P1 and then finds your next tool and loads that. Like said above though, it does 2 tool changes.



  7. #7
    Member
    Join Date
    Oct 2016
    Location
    United States
    Posts
    3
    Downloads
    0
    Uploads
    0

    Default Re: loading tools using their pocket number in G Code on Haas CNC mill

    Quote Originally Posted by bthomas7408 View Post
    What are trying to accomplish? The pocket #'s are random. T1 could start in P1 but once you start changing tools it will change pocket numbers. I don't believe there is any way to utilize a P# in a program, the only way to use it is in MDI if your trying to load a tool but don't know what T# it is, you can call up that pocket.
    Thank you everyone for responding and sorry about the vague question.
    The purpose of this is to get a series of tools to be located near to each other before I start a job so that the tool changer doesn't have to move as much.
    This would only run once before running a job. then again with different tools before running the next job.
    This is on a Haas EC-400 with a 70 tool changer, which has about 35 commonly tools we leave in it that are used on a lot of jobs.
    The issue is on some very quick operations the tool changer takes longer to rotate to the next tool than the previous tool run time, so if I can start with all the tools located within close proximity, this would minimize how long it takes to stage the next tool.
    I do this manually before I start a job now, but I was hoping to make a quick program to do it for me.

    For this examples I will be using the following tools on the job: T1, T5, T17

    T1 M6 (Load Tool 1)
    P1 M6 (G-code doesn't do anything because "P" is pause, but I go into MDI and type in "P1" and hit the "ATC FWD" button to do this, but the objective is to load pocket 1, putting T1 in pocket 1)

    T5 M6 (Load Tool 5)
    P2 M6 (put T5 in pocket 2)

    T17 M6 (Load Tool 17)
    P3 M6 (put T17 in pocket 3)

    Now is the job only used these 3 tools, it would just use these pockets to move the tools around, which would eliminate waiting on the tool changer for really quick machining operations my making sure the tools aren't separated by 35 pockets. I really don't care is the tools are in pockets 1-3 or 26-28, or whatever, just as long as they are close to each other.



  8. #8
    Member
    Join Date
    May 2013
    Location
    US
    Posts
    136
    Downloads
    0
    Uploads
    0

    Default Re: loading tools using their pocket number in G Code on Haas CNC mill

    Have you watched this yet?





  9. #9
    Member
    Join Date
    Oct 2016
    Location
    United States
    Posts
    3
    Downloads
    0
    Uploads
    0

    Default Re: loading tools using their pocket number in G Code on Haas CNC mill

    I may or may have not seen this video, but I do pre-stage every tool already. For the most part this works great, but in cases where the run time on a specific tool is very short (a spot drill for example, and the run time is like 30 sec), and the tool pockets are far apart. Even though it immediately starts rotating to the next tool, the next tool isn't staged yet if that makes sense.
    By starting with all the tools i need near each other, the max distance may only be 5-10 pockets away vs. 20 or 35.
    It doesn't save much time, but I was just wondering if there was an easier way of doing it.



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
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

loading tools using their pocket number in G Code on Haas CNC mill

loading tools using their pocket number in G Code on Haas CNC mill