Page 1 of 2 12 LastLast
Results 1 to 12 of 21

Thread: FIXTURE OFFSETS

  1. #1
    Registered
    Join Date
    Feb 2007
    Location
    USA
    Posts
    107
    Downloads
    0
    Uploads
    0

    FIXTURE OFFSETS

    I AM PROGRAMMING 50 PARTS ALL HELD IN 1 FIXTURE, EACH PART HAS 21 HOLES DIFFERENT DEPTHS.


    I WANT TO DRILL ALL HOLES ON 1 PART THEN MOVE TO THE NEXT WITHOUT CALLING AN OFFSET.

    THE PARTS ARE IN 5 ROWS OF 10 IN A PRECISION BUILT FIXTURE. PICKING TOOL PATHS ON EVERY PART ON THE C.A.M. WILL TAKE TO LONG.

    I WANT TO AVOID THE RAPID TIME FROM PART TO PART.

    ALL PARTS ARE THE SAME,,,, ANY SUGGESTIONS

    BAD DOG


  2. #2
    Registered
    Join Date
    Jan 2008
    Location
    usa
    Posts
    181
    Downloads
    0
    Uploads
    0

    sub program

    Not as hard as you may think, write a program to do one part (this will be the sub program),then just move in x-y to do next part and call sub program again.
    So lets say you call right rear corner of fixture your part home,then you call out sub program and make the part,then when you go back to your main program you simply move in x-y.

    example


    G40 G49 T2 M06 (DRILL)
    G00 G90 G54 X0 Y0 S500 M03 (PART ZERO)
    G43 H02 Z2. M08
    M98 P2 ( CALL OUT SUB)
    (SUB PROGRAM)
    G73 X0 Y0 Z-1.375 R0.1 Q0.3 F5.
    X-.5
    X-.6
    Y-.5
    X-.6
    X1.1
    M99
    X-1. (MOVE TO 2ND PART)
    M98 P2
    AND SO FORTH

    on your machine you may have a differant m to call out sub program or go back to main,this would be for a haas.


  3. #3
    Moderator HuFlungDung's Avatar
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    4,826
    Downloads
    0
    Uploads
    0
    Sounds like a prime application for G52 Global work coordinate Offset shift. I'm not well versed enough in its use to say off the top of my head how its done exactly, but a search on the forum for G52 should bring it up.
    First you get good, then you get fast. Then grouchiness sets in.

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


  4. #4
    Registered Mazaholic's Avatar
    Join Date
    May 2007
    Location
    USA
    Posts
    217
    Downloads
    0
    Uploads
    0
    I think i would use a combination of both suggestions.
    There is only a limited number of work offsets.
    I'd give each row a work offset and then only move in one axis for each part in the row.


  • #5
    Registered
    Join Date
    Jul 2005
    Location
    Canada
    Posts
    11,960
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by HuFlungDung View Post
    Sounds like a prime application for G52 Global work coordinate Offset shift. I'm not well versed enough in its use to say off the top of my head how its done exactly, but a search on the forum for G52 should bring it up.
    Yes.

    Put the main work zero, G54 for instance, at a reference point on the fixture; then the G52 coordinates are taken with reference to this location. The program would be something like this;

    G54
    G52 (X, Y for first part position)
    Call subroutine
    G52 (X, Y for second part position)
    Call subroutine
    etc
    etc
    etc
    G52 (X, Y for fiftieth part position)
    Call subroutine
    M30

    When the machine is setup for the job only the G54 coordinates need to be entered, all the G52's are in the program.
    An open mind is a virtue...so long as all the common sense has not leaked out.


  • #6
    Registered Mazaholic's Avatar
    Join Date
    May 2007
    Location
    USA
    Posts
    217
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by Geof View Post
    Yes.

    Put the main work zero, G54 for instance, at a reference point on the fixture; then the G52 coordinates are taken with reference to this location. The program would be something like this;

    G54
    G52 (X, Y for first part position)
    Call subroutine
    G52 (X, Y for second part position)
    Call subroutine
    etc
    etc
    etc
    G52 (X, Y for fiftieth part position)
    Call subroutine
    M30

    When the machine is setup for the job only the G54 coordinates need to be entered, all the G52's are in the program.
    Well i'll be a...
    I always figured there had to be a way to do that.

    I've never had to run that many parts at once so i guess i never took the time to look it up.
    I've always just used the G54 G55 G56 G57..ect


  • #7
    Registered
    Join Date
    Jul 2005
    Location
    Canada
    Posts
    11,960
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by Mazaholic View Post
    Well i'll be a...
    I always figured there had to be a way to do that.

    I've never had to run that many parts at once so i guess i never took the time to look it up.
    I've always just used the G54 G55 G56 G57..ect
    Took me a while to get clued in, but now we use G52 extensively. So far the maximum number of locations I have done is 32.

    What I find very convenient is when I am making a fixture that will hold several parts I can use the G52 coordinates for machining the fixture, and these are the same coordinates that go into the part program.

    Conversely, with some of our older fixtures that were made in a hurry and are not very accurate, I can dial into the specific part location and determine the G52 coordinates that are correct for that location. This way I compensate for errors in the fixture.
    An open mind is a virtue...so long as all the common sense has not leaked out.


  • #8
    Registered fizzissist's Avatar
    Join Date
    Apr 2006
    Location
    USA
    Posts
    3,023
    Downloads
    0
    Uploads
    0
    If the fixturing places the parts in a consistent position and doesn't move...why not just simply program as though there were one single part with 1050 (50x21) holes? If you know the location of each part, then you know the location of the holes. Would make for a beautifully long program...

    If you have macro capability and the part placement is uniform, just write a simple macro that shifts the fixture offset by the X or Y (or both) difference part-to-part.

    Macros are great for family-of-parts where something is always changing and you don't want to have to keep rewriting the program.

    One real handy one I wrote is for an O-ring groove. We do a lot of different size grooves, and I didn't like the way Mastercrash does them (and I got bored fighting it), so I now punch in a few prompted specifics like min/max and mean diameter, how deep/pass, finish allowance, cutter dia, an entrance angle for radius'ing the entry/exit, spindle speed and feed, and away it goes.

    The nice thing about G52 like Geof & Mazaholic are saying is that the X,Y coordinates of each new location are right there plain to see in the program.


  • #9
    Registered beege's Avatar
    Join Date
    Feb 2008
    Location
    USA
    Posts
    546
    Downloads
    0
    Uploads
    0
    Another way is using "macro modal", G66

    G66P1000XaYb
    XcYd
    XeYf

    Where P1000 => O1000, which would be the subprogram, including the G52
    The "a", "b"... etc, would be the arguments passed to the G52 variables in the sub


  • #10
    Registered
    Join Date
    Feb 2007
    Location
    USA
    Posts
    107
    Downloads
    0
    Uploads
    0
    that won't work,,,because the drill drills at 5 different depths on one part,,,imagine holes at -.1 -.2 -.3 etc... deep I want to avoid all the rapid moves to each part. The way it is now all the -.1 holes are drilled in each part the machine then returns to the first and drills the -.2 holes thus it spends a lot of time in rapid mode.

    bad dog


  • #11
    Registered
    Join Date
    Feb 2007
    Location
    USA
    Posts
    107
    Downloads
    0
    Uploads
    0

    g52

    sound like g52 is the way to go

    bad dog


  • #12
    Registered
    Join Date
    Feb 2007
    Location
    USA
    Posts
    107
    Downloads
    0
    Uploads
    0
    right now the program is a long one because I know each parts location as far as I can tell the g52 will reset the sbroutine to the new x,y location so I can still use cutter comp.

    Is there a g52 cancel or does the g54 at the beginning of the next subroutine cancel it.

    bad dog


  • Page 1 of 2 12 LastLast

    Similar Threads

    1. fixture question
      By fourperf in forum Haas Mills
      Replies: 10
      Last Post: 02-25-2008, 06:18 PM
    2. Replies: 18
      Last Post: 10-01-2007, 11:31 AM
    3. My New Low Cost Fixture
      By petriej in forum Work Fixtures and Hold-Down Solutions
      Replies: 2
      Last Post: 09-10-2007, 12:56 PM
    4. Multiple Fixture Offsets
      By Benji in forum EdgeCam
      Replies: 5
      Last Post: 05-02-2007, 05:28 PM
    5. cylindrical fixture
      By MBG in forum General Metalwork Discussion
      Replies: 3
      Last Post: 06-24-2005, 10:50 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.