588,126 active members*
4,606 visitors online*
Register for free
Login
Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2010
    Posts
    76

    Mach 3 double offsetting for tool?

    in using my cam program, i am asked to tell the program what tool i am using. As such I assumed it was adjusting the g code for that offset. When it tells mach3 what tool, using the M6 T1 line, Mach3 now knows that i am using tool 1, which has the same offsets i put in my cam program. I thought mach 3 would automaticly adjust for tool offset as well, but it appears it is not, and that my cutouts are correctly offset.

    My question is, which one is actually doing the offsetting? Could i do the offset in my cam program, and then always have it tell mach3 that i am using tool 0, so i dont have to put my tool profiles in mach 3, or is it the other way around?

    Sorry for the "noob" question.

  2. #2
    As a general statement, tool offsets can happen in two environments, CAD/CAM software, or controller.
    The way the machine knows the difference is generally determined by whether or not the feed move is commanded as "with" or "without" cutter compensation. Typically with a G41 or G42 command. If they are all G40, then no cutter comp is applied or existing comp is removed, exact behavior depends on the controller.

    In the CAD/CAM package, one usually has the option of using "Machine compensation" or "CAD/CAM compensation". In the first case, the CAD/CAM package Post Processor will output the necessary tool comp commands such as G41 or G42 (comp left and comp right respectively) and the coordinates are the geometry coordinates plus actual lead-in and lead-out end points. In the latter case, the CAD/CAM package will output the actual tool path that is to be followed. This means that the machine will follow the CAM generated path regardless of the tool in the spindle and regardless of the tool diameter information in the offset registries/tables.

    So, in your described case it is hard to tell with the information given. If your code includes a G41 or G42 then the machine controller is applying the offset.

    So, to answer the end question:
    I can't tell which one is doing the offsetting, but it would be easy to tell by lie-ing to either the machine or the CAM software, cut something, and determine from the finished size which one was used. Yes you could do all the offset work in the CAM program, however, that may be unwise. The primary purpose for cutter compensation is to accomodate tools sizes deviation from nominal, through sharpening of the tool or by deliberately using a differnet size tool for the job WITHOUT requiring a change to the program. Note: using a smaller tool is usually easier than using a larger one if your lead ins are along an edge and nearly tangent to the tool path, as a larger tool may foul the part, a smaller one will not.

    Tool profiles and how they are defined is another matter, and I suspect it is software specific. I use a AlphaCAM so my experience may be substantially different than yours. In my CAM software, I define tools, and save them in the tool library, so when I want a 1/2"cd 1.25" cl 2 flute compression bit, I select that tool. The library tells AlphaCAM what the tool length is, and diameter, starting rpms and feedrates (optionally depending on material, sfm, number of flutes and rpm-derived-from sfm). I choose either machine compensation or ACAM generated toolpath. If I want a roundover tool, or custom ground profile, I first draw the tool profile, then use the AlphaCAM "User defined tool" feature to input it into the library. This process also includes the option to define a specific point on the profile for determining the diameter and a similar option for the tools Z reference point. These options can be used in special cases such as mutli profile tools or cases where you want to reference the small diameter of a round over tool instead of the default intersection between the material top and where the tool touches the top (typically the major diameter or close too it).
    Eric Neumann
    http://www.cncrouterworks.com

  3. #3
    Join Date
    Jan 2010
    Posts
    76
    Ok, thanks! I'll check my gcode to see which is happening. I still get all the G** commands confused.

  4. #4
    Join Date
    Mar 2003
    Posts
    35538
    My question is, which one is actually doing the offsetting? Could i do the offset in my cam program, and then always have it tell mach3 that i am using tool 0, so i dont have to put my tool profiles in mach 3, or is it the other way around?
    Mach3 just reads the gcode and does what the code tells it to. So, technically, the CAM software is always in charge of the offsetting. It either spits out offset g-code, or g-code with G41/G42 so that Mach3 will do the offsetting. It's highly unlikely that the CAM software will give you code with offset coordinates, AND G41/G42.
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

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

Similar Threads

  1. Replies: 5
    Last Post: 08-23-2009, 01:24 PM
  2. T32 Tool offsetting for EIA/ISO
    By mbpp in forum Mazak, Mitsubishi, Mazatrol
    Replies: 2
    Last Post: 01-09-2009, 07:29 PM
  3. Tool Offsetting on a Bridgrport Interact 316 Fanuc O-Mate
    By mbpp in forum Bridgeport / Hardinge Mills
    Replies: 2
    Last Post: 04-09-2008, 10:36 PM
  4. offsetting tools
    By earl in forum MetalWork Discussion
    Replies: 2
    Last Post: 02-22-2007, 10:14 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
  •