G43 G44 And G49 Tool Length Compensation

Search This Blog

Friday, December 12, 2014

G43 G44 and G49 tool length compensation

G-Code G43, G44 and G49 (TOOL LENGTH COMPENSATION)

In an CNC Programming Tool length compensation Code is used to adjust for differences in length between different tools, without worrying about those differences in your part program. This standard length is the Reference Tool. In general, you load the Reference Tool, jog the Z axis down until that tool touches some surface, and set the Z Reference position there. The control memorizes this position of its Z axis. You then load each other tool, bring that tool down until it touches the same surface, and tell the control to measure the tool. The control compares the Z axis position with this tool touching the surface to the previously stored Z Reference position. The difference in Z axis positions is stored as the length offset for the tool. Clearly, to touch the same surface with a shorter tool, you have to move the Z axis down further. This results in a negative offset. The shorter the tool, the more the negative offset. To touch the same surface with a longer tool, you don't have to move the Z axis down as far. This results in a positive offset. The longer the tool, the larger (or less negative) the offset. Listed below are the Three G-Code used only for the tool length compensation, G43 Tool Length Compensation + (plus) G44 Tool Length Compensation - (Minus) G49 Cancel Tool length Comp G43 and G44

G43 Tool Length Compensation + (plus):

This code selects tool length compensation in a positive direction. The tool length offsets are added to the commanded axis positions. An Hnn must be programmed to select the correct offset register from the offset display for that tool being used. During the setup process, each tool point was touched-off to the part zero surface. From this position a Tool length distance offset was recorded for that tool with the Tool offset measure key. This Tool length is referred to as the "Z" axis origin move to the part zero surfaces.

G44 TOOL LENGTH COMPENSATION - (MINUS)

This code selects tool length compensation in a negative direction. The tool length offsets are subtracted from the commanded axis positions. A Hnn must be programmed to select the correct entry from offsets memory. G44 is a rarely-used alternative to G43. It tells the control to begin applying tool length compensation, by subtracting the current length offset from all Z axis positions. In this scheme, larger length offset numbers identify shorter tools (as if they were measured from the table up rather than from the spindle down).

G49 CANCELS G43/G44

This G code cancels tool length compensation. Putting in a H00 will also cancel tool length compensation. M30 and RESET will also cancel tool length comp.

Example for G43 and G44 Programs:

O1234 N170 T02 M06 N171 G90 G54 G00 X50 Y50 Z50 S800 N172 G43 H02 Z5 M08 (or G44 and H value will not be changed) N172 G01 Z20 F50.

10 comments:

  1. CarloMarch 01, 2016 5:58 pm

    Excellent article, thank you. Can you please supply example of how G49 can be used to gracefully end the compensation. When I call G49, it immediately moves down by the length of the tool. I basically want the absolute position to update when I call G49 - not move the head. This can be done by a reset - but how would one do this in the middle of a program?

    ReplyDeleteReplies
    1. UnknownJanuary 06, 2019 6:29 pm

      Go to optional Programme stop M01. First edit the programme by ensuring key inserted in MDI mode and put the code that you want the operation.

      DeleteReplies
        Reply
    2. TylerNovember 04, 2021 8:57 pm

      Carlo your machine is reacting this way because parameter #5006 bit #6 needs to equal 1 (if it's a fanuc control)

      DeleteReplies
        Reply
    3. Reply
  2. Bhavnagar (BVP) DivisionMay 07, 2019 5:19 pm

    Good

    ReplyDeleteReplies
      Reply
  3. UnknownJune 28, 2020 9:14 pm

    Very helpfull

    ReplyDeleteReplies
      Reply
  4. AnonymousOctober 24, 2020 5:23 am

    Whoever posted this, thank you.

    ReplyDeleteReplies
      Reply
  5. kavita"s blogAugust 25, 2021 5:13 pm

    vmc and cnc job work in ahmedabadNeptune Engineering are largest provider of VMC and CNC job work in Ahmedabad, Gujarat. And also CNC wooden pattern manufacturer and job work and pattern and die manufacturer in Ahmedabad.

    ReplyDeleteReplies
      Reply
  6. Judi TollesonApril 27, 2022 3:21 pm

    It’s great to see good information of cnc milling machine being shared and also to see fresh, creative ideas that have never been done before.

    ReplyDeleteReplies
      Reply
  7. AnonymousJune 14, 2022 8:08 am

    That was a very clear and informative article .

    ReplyDeleteReplies
      Reply
  8. AnonymousMarch 18, 2024 2:06 pm

    Sir, i have one doubt. Suppose if am using only one tool and doing operations by using that tool only, is it necessary that to use G43 Code?

    ReplyDeleteReplies
      Reply
Add commentLoad more... Newer Post Older Post Home Subscribe to: Post Comments (Atom)

Total Pageviews

Blog Archive

  • ▼  2014 (25)
    • ▼  December (7)
      • G90 and G91 Positioning gcodes
      • G52 Offset Local Coordinate System
      • G50 and G51 Scaling and Mirroring
      • G43 G44 and G49 tool length compensation
      • G40 G41 and G42 Cuttercompensation
      • G28 Return Home
      • G20 & G21 (Unit Selection Codes)

Từ khóa » G43 H