Results 1 to 8 of 8

Thread: Subroutines; a Tour de Force, and Work Zeroes and Fixturing.

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

    Subroutines; a Tour de Force, and Work Zeroes and Fixturing.

    I have been involved in several threads/posts discussing subroutines and multiple work zeroes and have started some threads about fixturing; so I figured I would start one combining it all together around a particular part we make. The first picture shows the body of the part that I am dealing with and the second all the associated bits that go with it. The whole assembly attaches to a tube and it is used as a detachable mounting platfrom for a LCD computer monitor that can tilt the monitor to different viewing angles and lock it securely. The primary application is for people who have ALS (Lou Gerhig's disease) and are using eye-tracking systems for communication and computer access. (If anyone wants more information send me a PM.) A secondary application, believe it or not(!), is mounting LCD screens for the pit crews on NASCAR teams.

    It is possible I uploaded the program in a different thread some time back but here it is again; way too big to go in the thread. The program has twelve work zeroes at four different angular positions on a rotating fixture so it is effectively 48 work zeroes. There are eleven tools and some are called in different subroutines so there are a lot of subroutine calls. If you look at the program it says something about Sept 2004 which is when it was modified to go on our VF-0; the part was developed around April 2003; now the part is done on one of our VF2s.

    As a side comment: If I did this program now all the work zeroes would be defined using G52 coordinates from a single main work zero; I was not up to speed on G52 back in '03 which is why it uses G54, etc. This is really quite inefficient because the setup person/operator (same person in my place) has to enter a dozen work zeroes into the machine. Although my production people might have written a small program using G10 lines to read them all in for all I know. (It is nice having people you can trust.)

    The third picture shows the first prototype that I did in 2003 and the fourth picture shows the setup for doing the prototypes. The top surface of these parts is the same as some other parts we have made for two decades; it is just the tilting feature that is new and the key to the tilt is the 'clevis' like ears. I have a somewhat unconventional way of designing and prototyping parts; I don't do, actually I can't do CAD/CAM, so I cannot make fancy drawings. I stick a chunk of material in the machine and carve away all the metal that is in the wrong place. I do have a 2D drafting program that I use to get tangent points for curve/line intersections and things like that but in general I visualize the part and then write a program on the machine that will make what I can 'see'.

    But first I had to figure out a fixturing method; I already had the top configuration, that was taken from an existing part, and I needed something like 2 inches of total thickness to make the part. The top of the part has a 0.502" hole and a semicircular groove so these were what I had available for fixturing purposes. The fifth to ninth pictures show how the fixturing works: A plate with bolt holes has semicircular holes with a rim that fits the semicircular groove on the part, and also has holes that line up with the 0.502" holes. The plate is slid onto the part, pins are inserted through the holes in the plate and into the holes in the part, the heads of these pins fit into holes in the base mounted on the rotary table and the plate is bolted down.

    And this is where I got to around late April 2003. Now I have to take a break and fly to Orlando tomorrow for a few days.
    Attached Thumbnails Attached Thumbnails Subroutines; a Tour de Force, and Work Zeroes and Fixturing.-usbfcomb.jpg   Subroutines; a Tour de Force, and Work Zeroes and Fixturing.-assembly1.jpg   Subroutines; a Tour de Force, and Work Zeroes and Fixturing.-proto1.jpg   Subroutines; a Tour de Force, and Work Zeroes and Fixturing.-prototype.jpg  

    Subroutines; a Tour de Force, and Work Zeroes and Fixturing.-fixture1.jpg   Subroutines; a Tour de Force, and Work Zeroes and Fixturing.-fixture2.jpg   Subroutines; a Tour de Force, and Work Zeroes and Fixturing.-fixture3.jpg   Subroutines; a Tour de Force, and Work Zeroes and Fixturing.-fixture4.jpg  

    Subroutines; a Tour de Force, and Work Zeroes and Fixturing.-fixture5.jpg  
    Attached Files Attached Files
    Last edited by Geof; 01-31-2008 at 09:32 AM.
    An open mind is a virtue...so long as all the common sense has not leaked out.


  2. #2
    Registered
    Join Date
    Sep 2007
    Location
    usa
    Posts
    83
    Downloads
    0
    Uploads
    0
    Geof,

    That is great info for CNC users like me who are just learning. Thank you, thank you, thank you for taking the time to post it.

    Maxi


  3. #3
    Gold Member
    Join Date
    Nov 2005
    Location
    USA
    Posts
    440
    Downloads
    0
    Uploads
    0
    Geof: Yes thanks, even new ideas for" old hands" is super..Would you post some more ?
    At one time I used a pillow block for a set up, but got some vibration at the end nearest the pillow block..finally used a steel strap around the end, adjusted tension with the T nuts that were attached to the strap, just a pita..I see no evidance of vibration in your set up ..Is that a real high precision pillow block ? Or do you have another secret ?

    Don't get sunburned in Orlando !

    Adobe (old as dirt, but warm in Arizona !)


  4. #4
    Registered
    Join Date
    Aug 2005
    Location
    USA
    Posts
    578
    Downloads
    0
    Uploads
    0
    Good stuff Geof
    I'd like a little more info on G52's though.
    (I'm comming from Fanuc land)
    I have been doing fourth axis positional stuff for years. I've heard the argument of program from the center of rotation. That really gets into the quality of tooling issue though. I much prefer to have multiple offsets so I can maintain the inter coordinate system relationship and have a little adjustability.
    But that's just me. I find it easier to adjust the machine that way
    But...I'm allways willing to learn sumpin new.
    So....School me! Tell me bout this G52 thing of yours.


  • #5
    gar
    gar is offline
    Registered
    Join Date
    Mar 2005
    Location
    USA
    Posts
    1,498
    Downloads
    0
    Uploads
    0
    080131-2203 EST USA

    PBMW:

    In either HAAS or Fanuc mode in HAAS the content of G52 is added to the current G5x, but does not modify G5x.

    One reference is
    G52 confusion

    Search has not done well in finding other places where I have discussed G52.

    Initially you could set G52 to all zeros.

    G52 X0 Y0 Z0
    #500 = whatever shift you want to make in X below from one loop to the next.


    Loop start

    Then at the end of a loop you could do
    #5201 = #5201 + #500

    Obviously you need other tests to terminate the loop.

    Instead of using a constant offset you could reference a table of values that are used for the offsets.

    .


  • #6
    Registered
    Join Date
    Jul 2005
    Location
    Canada
    Posts
    11,960
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by PBMW View Post
    Good stuff Geof
    I'd like a little more info on G52's though........
    Look in the Thread Vern Smith has on using a mill as a lathe; I think I gave a description there.

    I do plan on going into it more in subsequent posts.


    Adobe; I will have you know this is a serious business trip with no time for sunbathing. And actually that is the truth . Well, maybe serious is taking it too far but it is a business trip and will not involve getting out in the sun.
    An open mind is a virtue...so long as all the common sense has not leaked out.


  • #7
    Registered
    Join Date
    Jul 2005
    Location
    Canada
    Posts
    11,960
    Downloads
    0
    Uploads
    0

    Answers To Questions and More Rambling On.

    Back home again so I can continue meandering through this thread and respond to some of the comments and questions.

    Maxine; thank you for the thank yous. Part of the reason I spend time on the zone is to pass on experience and show how things can be done.

    Adobe; The pillow block you see is just an ordinary pillow block and I did not get vibration, which quite honestly surprised me. I still use that same pillow block on the machine that I use for prototyping in the home shop but all the production machines use the Haas tailstock support for the rotary. A possible reason I do not get any vibration is that I machined the boss to be a neat fit, i.e. slightly larger than 2.000"; I have to tap the pillow block into place with a plastic hammer. This setup is no longer used, it was only double sided with three parts per side; the production setup is four sided with four parts per side and I will get to that later.

    PBMW; I did refer you to a different thread on G52's and gar gave you some description. To use the same phraseology you use; G52 is an alternate way to get inter-coordinate relationships with adjustability. I like to use multiple offsets for the adjustability they allow. Nearly all our parts have holes and my approach is to place the work offset at the hole center. Often parts have intersecting holes and when these are done on a rotary fixture having a different work zero for each hole means it is dead simple to tweak the intersection spacing. However, as I mention in the first post now I would use G52 rather than separate G54, G55, G56, etc., but really there is not much difference. The way I have it figured out if you have fixtures that go back to exactly the same location on the machine it makes no difference. We have one machine which has three Kurt double lock vises permanently mounted on the table and for these vises we have sets of custom jaws for holding different diameter stock; twelve parts per load. This machine cycles through the same range of parts and because the vises do not move the individual work zeroes for the different parts remain the same. This means we do not have to manually enter any work offsets; each part program has its own work offset program; the work offset program is just a string of G10 commands that enter the work zeroes for the custom jaws used with the part program. We also keep dedicated tooling for the different part programs with the tool offset values in a tool length program. Changing a setup on this machine is a case of; mount the custom jaws on the vise, load the tools, call up the tool length program and run it to enter the tool length offsets, call up the offset program and run it to enter the work zeroes, load the parts into the vises and push Cycle Start. If the vises are moved and replaced it is necessary to change all the work offset values in several work offset programs; needless to say we avoid moving the vises. On other machines we change between vises and a rotary fixture and this is where G52 becomes valuable. G52 defines subsidiary work zeroes, or child coordinate systems, with reference to whatever main work zero is active. The G52 command includes X, Y (and Z, but we rarely use it) coordinates that give the location of the child coordinate relative to the main work zero. All these G52 commands and coordinates are in the part program. When the rotary is setup it is only necessary to find and enter the main work offset location for a reference hole located at the center of the base that holds all the part fixtures; rather than entering 12, 16 or 32 individual work zeroes. It is still possible to individually adjust the G52 offsets but this is done in the program rather than on the offset page.
    An open mind is a virtue...so long as all the common sense has not leaked out.


  • #8
    Registered
    Join Date
    Apr 2007
    Location
    USofA
    Posts
    77
    Downloads
    0
    Uploads
    0

    4th stuff

    Geof,
    Thankyou for posting these fixtures I think it is way cool. Sometimes I just stay in a rut and don't really think of better ways to do things. Often times suggestions I have made (at work) are hard to impliment because of a mind set of avoiding change which I have seen in different shops over the years. It is a breath of fresh air to see something creative like you have done to improve a process. It gets the gears of this old brain turning (52) which is nice to feel that way again. I know of one particular part I would like to attempt a similar improvement. This is why I like CNC zone so much and I plan to at least give credit where credit is due since I usually do not have much to input with the current frame of mind I have. I am trying to change that though! Good stuff Geof!


  • Similar Threads

    1. Virtual World Tour
      By epineh in forum Australia, New Zealand Club house
      Replies: 0
      Last Post: 09-09-2007, 03:48 AM
    2. EMC and Subroutines?
      By watchman in forum LinuxCNC (formerly EMC2)
      Replies: 9
      Last Post: 06-17-2007, 03:30 PM
    3. Oi subroutines help
      By mishikwest in forum Fanuc
      Replies: 1
      Last Post: 08-01-2006, 06:17 PM
    4. SIEG Factory Tour China
      By phantomcow2 in forum Benchtop Machines
      Replies: 2
      Last Post: 07-04-2006, 05:23 PM

    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.