587,750 active members*
2,882 visitors online*
Register for free
Login
Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2003
    Posts
    162

    NewB Q. Tool sizes

    Just starting to learn GCode, one thing I'm a bit confused about is tool sizes and tool change commands.

    Am I correct in assuming that GCode doesn't actually do/know anything about tool sizes? It appears to me that the GCode itself just tells the controlling software to use a tool "ID" and its up to the software to associate that ID with a diameter/type (its own tool table) and calculate all the correct offsets etc. Is that correct?

  2. #2
    Join Date
    Apr 2003
    Posts
    1876
    Yes and no. (You had to know that was coming... ) It kind of works both ways.. one compensates for the tool's diameter via values stored in the tool table, the other compensates via offsets in the XY values of the gcode.

    One way generates the code with known values for a specific tool's diameter. All the moves are calculated by adding the tool's radius to the X and Y values, compensating in the appropriate direction. This will offset the path of the tool, placing the edge of the tool on the desired dimension. So if you were making a cut at X 10.000 and had a cutter that was 1.00 in diameter, the Gcodes you would see would be, depending on the direction and they type of cut, X9.500 or X10.500.

    The other way, risky, prone to machine errors, but easier to program and use different sized tools on, is part line programming. With this method, you are storing the tools diameter into a tool table on the controller. You enter the tools diameter (or radius depending on the settings) and program the part to X10.000 and use the values in the table to offset the tool to achieve the actual 10.000.

    While the latter method is easier to program by hand, it is more prone to errors at the control. You must allow for sufficient room for the tool to offset itself to the proper location, which is not always feasible or desirable.

    There's a bit more to it than that, but that should keep you guessing for a while.

    'Rekd
    Matt
    San Diego, Ca

    ___ o o o_
    [l_,[_____],
    l---L - □lllllll□-
    ( )_) ( )_)--)_)

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

  3. #3
    Join Date
    Apr 2003
    Posts
    1876
    BTW, the term is Cutter Radius (or Diameter) Compensation, or CRC.

    The codes that control CRC are

    G40 Cancel compensation
    G41 Compensate Left (For climb cutting) <---- standard on CNCs
    G42 Compensate Right (For conventional cutting) <---- standard on manuals
    Matt
    San Diego, Ca

    ___ o o o_
    [l_,[_____],
    l---L - □lllllll□-
    ( )_) ( )_)--)_)

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

Similar Threads

  1. HELP Tool changer problems
    By ddprecision in forum Haas Mills
    Replies: 10
    Last Post: 07-18-2016, 02:30 PM
  2. Tool length sensing!
    By Swede in forum FlashCut CNC
    Replies: 19
    Last Post: 05-07-2013, 04:38 AM
  3. Miniature Automatic Tool Changer
    By 1ctoolfool in forum News Announcements
    Replies: 1
    Last Post: 04-18-2005, 11:56 AM
  4. Pocketing and tool sizes
    By jderou in forum BobCad-Cam
    Replies: 1
    Last Post: 08-31-2004, 07:26 PM
  5. Tool Changer Problems
    By Snel in forum Haas Mills
    Replies: 5
    Last Post: 08-11-2004, 02:56 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
  •