Search This Blog

Monday, December 08, 2014

G40 G41 and G42 Cuttercompensation



G-Code G40, G41 and G42 (Cutter compensation):

Understanding cutter compensation can be very simple if one has a basic understanding of manual machining. There are two common types of cutting conditions associated with milling machines. They are CLIMB and CONVENTIONAL cutting. Two common rules for these types of cuts are:
If the programmed cutter path needs to mill CLIMB cutting, and it's a standard right handed tool, it will then be programmed with G41 cutter LEFT of the programmed path. If the programmed cutter path needs to mill with CONVENTIONAL cutting, and it's a standard right handed tool, it will then be programmed with G42 cutter RIGHT of the programmed path.

Listed below are the Three G-Code used only for the Cutter compensation,
G41 Cutter Compensation Left
G42 Cutter Compensation Right
G40 Cancel Cutter Comp G41 and G42

G41 Cutter Compensation Left:


G41 will select cutter compensation left; that is the tool is moved to the left of the programmed path to compensate for the radius of the tool. A Dnn must also be programmed to select the correct tool size from the DIAMETER/RADIUS offset display register.

G42 Cutter Compensation Right:

G42 will select cutter compensation right; that is the tool is moved to the right of the programmed path to compensate for the size of the tool. A Dnn must also be programmed to select the correct tool size from the DIAMETER/RADIUS offset display register.

G40 Cutter Comp Cancel:

G40 will cancel the G41 or G42 cutter compensation commands. A tool using cutter compensation will change from a compensated position to an uncompensated position. Programming in a D00 will also cancel cutter compensation. Be sure to cancel cutter compensation, when you're done with each milling cut series that's using compensation.

The Active Cutter compensation should satisfy the following points:


1) A G41 or G42 code must be contained with a G01 X, Y, or X and Y move is specified in the same block.
2) The distance of the linear move must be greater than the tool radius.
3) The tool radius value, "R", entered into the tool offsets table must not be 00.
4) A G02 or G03 circular interpolation command cannot be specified in the start-up block.


NOTE: The codes G4Ø, G41 and G42 are modal, belonging to the same modal family. They are incompatible with each other on the same block.


NOTE: The machine controller enters compensation cancel mode automatically when:

1) The machine power is first switched on.
2) The reset button on the CRT/MDI controller panel is pressed.
3) A program is forced to end by performing an M02 or M30 command.


Example for cutter compensation programming:

O 1234
N171 G00 X-15 Y-15 Z50;
N172 G01 Z0;
N172 G41 X0 Y0 F100; (Start-Up Move)
N173 Y40;
N174 X30 Y80;
N175 X60;
N176 G02 X100 Y40 R40;
N177 G01 Y30;
N178 G03 X70 Y0 R30;
N179 G01X0;
N180 G40 X-15 Y-15; (Cancellation Move)
N190 G00 Z50

ADVANTAGES OF CUTTER COMPENSATION:

1. The mathematical computations for determining a tool path are greatly simplified.
2. Because the geometry and not the tool center are programmed, the same program can be used for a variety of different cutter diameters.
3. When using cutter compensation you are then able to control and adjust for part dimensions using your cutter diameter/radius offsets register.
4. The same program path can be used for the roughing passes as well as finishing cuts by using different cutter offset numbers.

DIS ADVANTAGES WITH CUTTER COMPENSATION

1.      A cutter compensation command (G41, G42 or G40) must be on the same block with an X and/or Y linear command when moving onto or off of the part using cutter comp.
2.      You cannot turn on or off cutter compensation with a Z axis move.
3.   You can use cutter comp. in the G18 (X, Z) or G19 (Y, Z) planes using G141.
4.   You cannot turn ON or OFF cutter compensation in a G02 or G03 circular move, it must be in a linear G00 or G01 straight line move.

WHEN ACTIVATING CUTTER COMPENSATION, CARE MUST BE TAKEN TO:

1. Select a clearance point, without cutter compensation, to a start point in the X and Y axis at least half the cutter diameter off the part before you start initiating cutter compensation.
2. Bring the Z axis down without cutter compensation in effect.
3. Make an X and/or Y axis move with a G41 or G42 call-out on the same line, with a diameter offset Dnn command, which has the cutter diameter value in the offset display register being used.

WHEN DEACTIVATING CUTTER COMPENSATION, CARE MUST BE TAKEN TO:

1. Select a clearance point in X and/or Y axis, at least half the cutter diameter off the part.
2. DO NOT cancel cutter compensation on any line that is still cutting the part.
3. Cancel of cutter compensation (G40) may be a one or two axis move, but you may need values entered for both X and Y axis.

Very Important Note: In Practical the Cutcom should start before the Linear Movement with G01 and should end before the Linear Movement G01.





42 comments:

  1. Nice explanation on cutter compensation.

    ReplyDelete
  2. very good explanation with eye level

    ReplyDelete
  3. Thank you for this article.
    Very helpful.

    ReplyDelete
  4. This is very helpful

    ReplyDelete
  5. clear explanation thanks

    ReplyDelete
  6. Should the first G01 be Z-1 to cut into the workpiece? Z0 just brings it to the surface of the workpiece but doesn't cut. Also, if you do G40 X-15 Y-15 before you do G01 Z50 then you will cut from the origin to X-15 Y-15.

    ReplyDelete
  7. Very well understand thank you

    ReplyDelete
  8. Your post is really nice. I bookmarked it. Keep sharing.Thanks for sharing.
    CNC training in Noida

    ReplyDelete
  9. Great blog. I like your post because you have provide a useful information. thanks for sharing this kind of information
    EDM Tooling System

    ReplyDelete
  10. Nice post!!!
    Sanjay Precision Industries Provide CNC and VMC machine parts. We are manufacturers who bring in use the finest materials like Mild steel, Stainless steel grades, cast iron, investment casting and brass & aluminum.

    Precision Turned Parts manufacturer

    ReplyDelete
  11. fuck you beach we spend a lot of time for this
    this was wrong G-code

    ReplyDelete
  12. Sir
    Your post is very nice easily understood.
    Thanks sir

    ReplyDelete
  13. Thank you so much.
    I have been searching this in many sites but finally your description was the most helpful one. Thank you again

    ReplyDelete
  14. Most of sites are talking about basic but hare i found what i was looking for , explanation with programme

    Thanks a lot sir

    ReplyDelete
  15. To reply Unknown from 15.Feb.: if you work with a mill where Z is height, Z doesn't count for compensation, section "Disadvantages of cutcomp" #2. &#3. explains it well. I'll try it out though tommorrow, it's definitely not the simplest way of programming.

    ReplyDelete
  16. And here's my question: why G41 is so damn glitchy(on my Hartrol mill)? I spent 1/2 day hunting illogical error stops more than once. There wasn't any errors in the coordinates or format. Turned out, it flashes you with various error stops because of feedrate changes(or using them at all within G41 block). Them errors (4 different ones) doesn't make any sense at all. I wanted feed changes to make a constant spindle load and tip-wear, turned out I can only finish that complicated contour without any F's before compensated moves. Why oh why?

    ReplyDelete
    Replies
    1. Please give the picture of the contour, G-code programming and blok number when error happen so there will any response can help solve the problem

      Delete
  17. Please explain about "G02 or G03 circular interpolation command cannot be specified in the start-up block."
    I think cutter compensation will work in circular interpolation command.

    ReplyDelete
  18. Thank you so much for such an informative piece of information :)
    If anyone interested similar one's have a look here
    besttoolsbrand

    Thanks

    ReplyDelete
  19. I was wondering N173 Y 40
    is Y50 instead

    ReplyDelete
  20. Thanks for writing this - it's the most succinct and clear explanation of cutter compensation I have found.

    ReplyDelete

  21. You wrote an interesting informative article to help others.
    XDriverPack Solution

    ReplyDelete
  22. Hello,
    Thank You. You are doing great job. Please visit: Guides To Baseball

    ReplyDelete
  23. Aw, this was an exceptionally nice post. Spending some time and actual effort to create a great articleÖ but what can I sayÖ I hesitate a lot and never seem to get anything done.mixed in key
    avg driver updater
    driver booster
    Revo Uninstaller

    ReplyDelete
  24. I was searching about these tools and finally found your blog amazing list thanks admin.
    Driver finder

    Itools

    Easeus data recovery

    Adguard premium

    ReplyDelete
  25. Send me an example.program have both g41 and g42 in single profile (CONTINUES RADIUS) operation

    ReplyDelete
  26. Milling & Turning | 40 years in Australian Manufacturing of Sorensen Engineering
    Sorensen Engineering specialize in manufacturing high quality Milling & Turning, competitively priced components and products for a range of industries. Proudly Australian, we have been manufacturing for over 40 years supplying the biomedical, automotive, film, heavy industry,& architectural, transport and building sectors.

    ReplyDelete
  27. Thanks for this amazing blog , it is very useful content for us
    keep sharing this type of informtion if anyone is looking for the best training institute in nodia visit us.

    Python Training Institute
    data science training in noida
    machine learning institute in noida
    java training institute in noida
    data science training in noida

    ReplyDelete
  28. Learning Cnc Stratergies And Tips: G40 G41 And G42 Cuttercompensation >>>>> Download Now

    >>>>> Download Full

    Learning Cnc Stratergies And Tips: G40 G41 And G42 Cuttercompensation >>>>> Download LINK

    >>>>> Download Now

    Learning Cnc Stratergies And Tips: G40 G41 And G42 Cuttercompensation >>>>> Download Full

    >>>>> Download LINK DB

    ReplyDelete
  29. This comment has been removed by the author.

    ReplyDelete
  30. Great post! Your insights and information are both well-researched and incredibly helpful. I especially appreciated how you presented the information in a clear and concise manner, making it easy to understand even for someone new to the subject. Thank you for sharing your expertise with us! I am a Digital Marketing Trainer at Digital Marketing Training Institute Noida providing best digital marketing training at an affordable price with highly qualified and experienced trainers.

    ReplyDelete
  31. " ""Sohoghana Bar & Restaurant: A Culinary Haven of Delight""

    Description:
    Indulge in an unforgettable dining experience at Sohoghana Bar & Restaurant, where culinary excellence meets warm hospitality in an inviting ambiance. Nestled in the heart of the city, our establishment is renowned for its fusion of traditional flavors with innovative twists, ensuring every dish tells a story of craftsmanship and passion.

    Step into our elegant dining space, adorned with contemporary décor and subtle lighting, creating an atmosphere that exudes sophistication and charm. Whether you're seeking an intimate dinner for two, a celebratory gathering with friends, or a corporate event, Sohoghana offers the perfect setting for any occasion.

    Our culinary team, led by esteemed chefs with a penchant for creativity, sources the freshest, locally-sourced ingredients to craft a menu that tantalizes the taste buds and satisfies the soul. From tantalizing appetizers to sumptuous main courses and decadent desserts, each dish is meticulously prepared to showcase the rich tapestry of flavors from around the world.

    Pair your meal with a selection from our extensive wine list, featuring both Old World classics and New World favorites, expertly curated to complement the diverse flavors of our cuisine. For those who prefer a cocktail, our skilled mixologists are on hand to craft signature creations that are as visually stunning as they are delicious.

    At Sohoghana Bar & Restaurant, we believe that dining is more than just a meal – it's an experience to be savored and shared. Whether you're a culinary connoisseur or simply seeking a memorable night out, join us and embark on a gastronomic journey that delights the senses and leaves a lasting impression.

    VISIT US FOR MORE INFORMATION : https://sohoghana.com/

    ReplyDelete
  32. """Sohoghana Bar & Restaurant: A Culinary Oasis in the Heart of the City""

    Description:
    Indulge in a symphony of flavors at Sohoghana Bar & Restaurant, where every dish tells a story and every sip is a journey. Nestled in the vibrant heart of the city, our establishment invites you to embark on an unforgettable culinary adventure.

    Step inside and be greeted by an ambiance that effortlessly blends modern sophistication with warm, inviting hospitality. Whether you're seeking a cozy spot for an intimate dinner, a lively atmosphere for drinks with friends, or a venue for special celebrations, Sohoghana offers the perfect setting for every occasion.

    Our menu is a celebration of culinary excellence, meticulously crafted by our team of talented chefs who draw inspiration from both local traditions and global influences. From mouthwatering appetizers to sumptuous mains and decadent desserts, each dish is a masterpiece designed to tantalize your taste buds and leave you craving for more.

    Complementing our exquisite cuisine is an extensive selection of handcrafted cocktails, fine wines, and premium spirits. Let our skilled bartenders concoct the perfect drink to accompany your meal or simply unwind with a signature cocktail at our stylish bar area.

    At Sohoghana, we believe that dining is not just about nourishing the body but also feeding the soul. That's why every aspect of your experience is carefully curated to ensure that every visit is nothing short of extraordinary.

    Join us at Sohoghana Bar & Restaurant and discover a culinary oasis where passion meets perfection, and every moment is savored to the fullest."

    VISIT US FOR MORE INFORMATION : https://sohoghana.com/events.html

    ReplyDelete
  33. "Discover Luxury and Comfort at Best Western Plus Accra

    Description:
    Nestled in the heart of Accra, Best Western Plus Accra invites you to experience unparalleled luxury and comfort during your stay in Ghana's vibrant capital city. As a premier hotel destination, we pride ourselves on offering top-notch amenities, impeccable service, and a warm, welcoming atmosphere to ensure that every guest enjoys a memorable stay.

    From the moment you step into our elegantly appointed lobby, you'll be greeted by our friendly staff who are dedicated to catering to your every need. Whether you're visiting for business or pleasure, our well-appointed rooms and suites provide the perfect sanctuary to relax and unwind after a day of exploration or meetings.

    Indulge in a culinary journey at our onsite restaurant, where our talented chefs craft delectable dishes using the freshest ingredients and innovative techniques. Afterward, sip on handcrafted cocktails or unwind with a glass of wine at our stylish bar, the ideal setting for socializing with fellow travelers or colleagues.

    For those seeking relaxation and rejuvenation, our hotel offers a range of amenities including a refreshing outdoor pool, a fully equipped fitness center, and a tranquil spa where you can pamper yourself with a variety of treatments.

    Conveniently located near major attractions, businesses, and transportation hubs, Best Western Plus Accra is the perfect choice for discerning travelers seeking the ultimate blend of luxury, comfort, and convenience during their visit to Accra. Book your stay with us today and discover why we're the preferred destination for travelers seeking excellence in hospitality."

    VISIT US FOR MORE INFORMATION : https://www.bestwesternplusaccra.com/

    ReplyDelete
  34. "Discover Unparalleled Comfort and Luxury at the Best Western Plus Accra

    Description:
    Welcome to the epitome of luxury and comfort in Accra – the Best Western Plus Accra. Nestled in the heart of the vibrant city, our hotel stands as a beacon of hospitality, offering unrivaled services and amenities to discerning travelers like you.

    Indulge in a world of opulence from the moment you step into our elegant lobby. Our meticulously designed rooms and suites are adorned with modern furnishings and equipped with state-of-the-art amenities to ensure your utmost comfort throughout your stay.

    Experience culinary delights that tantalize your taste buds at our exquisite restaurants, where our talented chefs craft mouthwatering dishes using only the finest ingredients. Whether you're craving local Ghanaian cuisine or international flavors, we have something to satisfy every palate.

    Unwind and rejuvenate your senses at our world-class spa and wellness center, where expert therapists pamper you with a range of soothing treatments and massages. Take a refreshing dip in our sparkling swimming pool or work up a sweat in our fully equipped fitness center.

    For those traveling on business, our hotel offers versatile meeting and event spaces equipped with cutting-edge technology, perfect for hosting successful conferences, seminars, and social gatherings.

    Conveniently located near Accra's top attractions, including shopping malls, cultural landmarks, and business districts, our hotel serves as the ideal base for exploring the vibrant city.

    At Best Western Plus Accra, your satisfaction is our top priority. Our dedicated staff is committed to providing personalized service and ensuring that your every need is met with utmost care and attention to detail.

    Experience the height of luxury and hospitality during your stay in Accra at the Best Western Plus Accra – where every moment is crafted to exceed your expectations.

    Book your unforgettable stay with us today and embark on a journey of unparalleled comfort and indulgence.


    VISIT US FOR MORE INFORMATION : https://www.bestwesternplusaccra.com/class/3740/1.html

    ReplyDelete
  35. "Savoring Accra: Unveiling the Culinary Charms of SohoGhana Restaurant

    Description:
    Embark on a gastronomic journey through the heart of Accra with SohoGhana Restaurant, a culinary haven that promises an exquisite fusion of flavors and a vibrant dining experience. Nestled amidst the bustling streets of Accra, SohoGhana stands out as a beacon of culinary excellence, offering a tantalizing array of dishes that showcase the rich tapestry of Ghanaian cuisine infused with international influences.

    At SohoGhana, every dish is a celebration of local ingredients, expertly curated by seasoned chefs who blend traditional techniques with contemporary flair. From sumptuous seafood platters to savory street food-inspired delights, each bite tells a story of passion and innovation. Whether you're craving the bold flavors of jollof rice or the comforting warmth of banku and tilapia, SohoGhana takes you on a culinary odyssey that captivates the senses.

    But it's not just about the food at SohoGhana; it's about the entire experience. Step into the restaurant's inviting ambiance, where modern elegance meets African charm, and feel yourself enveloped in an atmosphere of warmth and hospitality. Whether you're dining with friends, family, or colleagues, SohoGhana offers the perfect setting for every occasion, from intimate dinners to lively gatherings.

    Moreover, SohoGhana is not just a place to eat; it's a cultural hub where food, music, and art converge. Immerse yourself in the vibrant rhythms of live music performances as you savor each mouthwatering dish, or admire the stunning works of local artists adorning the walls. Here, every visit is an opportunity to connect with the soul of Accra and experience its rich cultural heritage.

    So, if you're looking for more than just a meal in Accra, look no further than SohoGhana Restaurant. Indulge your senses, ignite your palate, and embark on a culinary voyage that will leave you longing for more. Welcome to SohoGhana, where every bite is a taste of Africa's vibrant spirit.



    VISIT US FOR MORE INFORMATION : https://sohoghana.com/events.html

    ReplyDelete
  36. Embrace Luxury and Scenic Serenity: Best Western Beachfront and Best Western Plus Accra

    Description:
    Indulge in the epitome of coastal elegance and unparalleled comfort with Best Western Beachfront and Best Western Plus Accra. Nestled amidst the breathtaking vistas of pristine beaches and azure waters, our accommodations redefine the essence of a tranquil seaside retreat. Immerse yourself in a world where luxury meets convenience, and every moment is adorned with splendor.

    Best Western Beachfront offers a gateway to paradise, where each sunrise paints the sky with hues of warmth, and each sunset sets the scene for moments of pure bliss. Whether you seek leisurely strolls along the sandy shores or thrilling water adventures, our beachfront location ensures a myriad of activities to suit every preference.

    Meanwhile, at Best Western Plus Accra, discover a haven of sophistication and modernity in the vibrant heart of Accra. Boasting contemporary design and upscale amenities, our hotel seamlessly combines comfort with convenience. From spacious rooms adorned with plush furnishings to state-of-the-art facilities, every aspect of your stay is meticulously crafted to exceed expectations.

    Indulge your palate with tantalizing culinary delights at our on-site restaurants, offering a delectable fusion of local flavors and international cuisines. Unwind by the poolside with a refreshing cocktail in hand, or rejuvenate your senses with a pampering spa treatment.

    Whether you're traveling for business or pleasure, our dedicated team is committed to ensuring a seamless experience, catering to your every need with genuine hospitality and personalized service.

    Escape the ordinary and embark on a journey of unparalleled luxury and relaxation with Best Western Beachfront and Best Western Plus Accra. Your unforgettable seaside getaway awaits.



    VISIT US FOR MORE INFORMATION : https://www.bestwesternplusaccra.com/

    ReplyDelete