584,826 active members*
5,118 visitors online*
Register for free
Login
Results 1 to 8 of 8
  1. #1
    Join Date
    Jul 2003
    Posts
    69

    Right Angle Head Programming

    Can someone please tell me how you would program (G-code) a right angle head attachment on a 3-axes verticle machining center ?. How would you compensate for the tool length & tool diam ?.

    thanks

    Ed

  2. #2
    Join Date
    Jun 2008
    Posts
    1511
    What kind of RAH? Are you using milling cutters on this or endmill/drills? Either way it does not make much difference what kind of tooling you are using.

    You should always go from the centerline of the cutting tool. Any adjustments that need to be made for tool diameter can be done in tool radius offset page.

    I have attached a sketch using disk mills.

    Stevo
    Attached Files Attached Files

  3. #3
    Join Date
    Mar 2003
    Posts
    4826
    I would do it the hard way (mix of manual and automatic programming) and step through the moves very carefully

    You will not be able to compensate for tool radius too handily in planes out of standard position so don't waste time trying to make G41/G42 work, just program directly to tool centerline.

    As for tool length compensation, you will need to use the Z length compensation to define the center plane of the tool's horizontal axis, as in the distance from the spindle gage line.

    If you are doing this in cam, you could reckon the tool to be similar to a slitting saw on an arbor. The radius of the saw would be equivalent to the distance of the tool tip from the machine spindle centerline. The mid plane of the saw would be equivalent to the right angle spindle's centerline, and the saw thickness would be equivalent to the diameter of the cutter.

    This sort of visualization may help you to determine if the approach of the tool is being done in a crash free way.

    Suppose you have the tool set in such an attitude that you can drill holes with Y movements of the table. Touch the end of the tool off the relevant part face and set that position as your Y workshift. Set the X workshift to some datum on the part, and set the Z workshift on a top feature of the part, remembering to add the thickness of the tool radius to this position, because you want to program to the center of the tool. This workshift is only relevant to this tool and absolutely should not be used for any other tool!

    This should make the position of the part face to be Y0 when programming. For the sake of clarity, Y+ absolute positions should be in the clear, and Y- absolute positions will be cutting (depending on the orientation of the part, of course) so that code troubleshooting is easier to do.

    Gcode cycles for drilling ops are likely not going to work in this plane, you'd be looking at coding drill cycles out long hand.

    I'd try to stick with profile type movements if I was using cam to make positional movements or actual profile cuts. Using automatic comp (not machine comp), you can then make use of the lead in/lead out amounts to create your depth of cut. Make sure that those movements are perpendicular to the part face in the relevant plane.

    If you need to actually mill using XZ or YZ simultaneous movements, that would be considerably more difficult to do in cam. In such an case, I would probably draw the pocketing toolpath out as a backplot (in XY), then rotate it into the part orientation as the part sits on the mill. I would use simple "follow 3d chain" type machining strategies to generate code that follows that geometry. Again, carefully add lead in and lead out movements where needed, and make sure that no automatic Z retractions get posted. If you see that happening, then break the geometry chain as needed, add the lead in and lead out to every dead end start/end point. In simulation, if you use a slitting saw type tool description, this should help alert you to crashes due to unforeseen Z retractions. I don't say that the simulation will be much good for anything other than watching for entry gouges, the retraction gouge is equally dangerous, but won't show up as a gouge warning in 3 axis cam.

    Make sure the tool comes clear of the work before it rises to clearance!
    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
    Join Date
    Jul 2003
    Posts
    1220
    Create the program as your part is on XY Plane.
    Rotate Y plane 90 deg.
    With a FAGOR controller use G49 B90.
    Fanuc G68 'Coordinate System Rotation'

  5. #5
    Join Date
    Jul 2003
    Posts
    69
    Thanks for info. I will give that a try.

  6. #6
    Join Date
    Mar 2005
    Posts
    988
    Hu.... what are you talking about??

    You will not be able to compensate for tool radius too handily in planes out of standard position so don't waste time trying to make G41/G42 work, just program directly to tool centerline.
    Should be able to use G18/19 depending on head orientation... I do. Cutter comp works fine.

    Gcode cycles for drilling ops are likely not going to work in this plane,
    This is true. However, some MTB's will have it written in to change drilling direction by use of 2D/3D rotate (G68) or by plane select. This allows for canned cycles.

    However, many controls are capable of changing drilling axis by parameter. (PITA... especially if you forget to change it back!)
    It's just a part..... cutter still goes round and round....

  7. #7
    Join Date
    Mar 2008
    Posts
    4
    Hi Psychomill. Im trying to comp the dia of a tool using a 90 degree head on a HAAS VF-6 and Im getting a comp alarm. Can you show me an example of where the G18/G19 should be used in the Code. Does it replace the G40? Thanks

  8. #8
    Join Date
    Sep 2020
    Posts
    1

    Re: Right Angle Head Programming

    Hi,
    I have a 45 deg head for drilling and endmill. I have programmed it to the center of the tool. The NC code is following YZ plane and looks ok to me. But on the machine the hole looks out of round as if the endmill has not cleared the Drilled faces.
    I suspect the tool offset to be incorrect. What’s the best way to take tool offsets on a 45 deg head when you want to machine from the center of tool?

Similar Threads

  1. Programing for Right Angle Head
    By bkobernus in forum Haas Mills
    Replies: 16
    Last Post: 04-27-2007, 11:31 PM
  2. angle drill head opinion please
    By rubino2112 in forum CNC Tooling
    Replies: 5
    Last Post: 11-29-2006, 08:00 PM
  3. Programming for angle head--G18/G19
    By Dave L in forum GibbsCAM
    Replies: 3
    Last Post: 07-21-2006, 04:33 AM
  4. Angle head in edgecam
    By smoregrava in forum EdgeCam
    Replies: 3
    Last Post: 07-06-2006, 08:00 PM
  5. Right angle head programming
    By Chris Baird in forum Visual Mill
    Replies: 6
    Last Post: 04-01-2006, 09:09 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
  •