585,954 active members*
4,650 visitors online*
Register for free
Login
IndustryArena Forum > Machine Controllers Software and Solutions > G-Code Programing > Compensating for laser beam width during cut
Results 1 to 10 of 10
  1. #1
    Join Date
    Jan 2016
    Posts
    53

    Compensating for laser beam width during cut

    I'm using the latest Grbl ver 0.9i and I am making 10mm square cuts through 3mm plywood.

    Am I able to execute a gcode command that will allow my cuts to compensate for my laser beam width of 0.5mm so my squares actually come out to 10mm square?

    Thanks for any help...

  2. #2
    Join Date
    Feb 2006
    Posts
    1792

    Re: Compensating for laser beam width during cut

    I do not have any idea. But can it be not done using radius compensation, if available?

  3. #3
    Join Date
    Jan 2008
    Posts
    1529

    Re: Compensating for laser beam width during cut

    This is generally something done in CAM. What CAM software are you using?
    7xCNC.com - CNC info for the minilathe (7x10, 7x12, 7x14, 7x16)

  4. #4
    Join Date
    Jan 2016
    Posts
    53

    Re: Compensating for laser beam width during cut

    I'm writing my own gcode actually and sending it to my laser using Universal Gcode Sender. I will look into the radius/tool compensation gcode command.

    Thanks...

  5. #5
    Join Date
    May 2016
    Posts
    4

    Re: Compensating for laser beam width during cut

    I believe you're looking for G40, G41, and G42. Usually the format is something like "G41 P0.0625" (G41 turns on left compensation [moves your tool to the left of your cutting path by a specified dimension], and P sets the tool "radius"... so half the kerf.) G42 would offset to the right, and G40 would turn off your cutter compensation. As long as you go clockwise around outer perimeters, and counter clockwise around any holes you cut, you can just set a single G41 P(kerf/2) at the beginning of your g-code. (Machines sometimes vary. Make sure to test out your code before cutting anything too pricy)

    If you start using CAM software to write your g-code, usually it factors kerf in for you.

  6. #6
    Join Date
    Jan 2016
    Posts
    53

    Re: Compensating for laser beam width during cut

    Quote Originally Posted by cwilkes View Post
    I believe you're looking for G40, G41, and G42. Usually the format is something like "G41 P0.0625" (G41 turns on left compensation [moves your tool to the left of your cutting path by a specified dimension], and P sets the tool "radius"... so half the kerf.) G42 would offset to the right, and G40 would turn off your cutter compensation. As long as you go clockwise around outer perimeters, and counter clockwise around any holes you cut, you can just set a single G41 P(kerf/2) at the beginning of your g-code. (Machines sometimes vary. Make sure to test out your code before cutting anything too pricy)

    If you start using CAM software to write your g-code, usually it factors kerf in for you.
    Thank you for the detailed answer...I will give that a try with my Grbl ver 0.9i.

  7. #7
    Join Date
    Jan 2016
    Posts
    53

    Re: Compensating for laser beam width during cut

    Quote Originally Posted by cwilkes View Post
    I believe you're looking for G40, G41, and G42. Usually the format is something like "G41 P0.0625" (G41 turns on left compensation [moves your tool to the left of your cutting path by a specified dimension], and P sets the tool "radius"... so half the kerf.) G42 would offset to the right, and G40 would turn off your cutter compensation. As long as you go clockwise around outer perimeters, and counter clockwise around any holes you cut, you can just set a single G41 P(kerf/2) at the beginning of your g-code. (Machines sometimes vary. Make sure to test out your code before cutting anything too pricy)

    If you start using CAM software to write your g-code, usually it factors kerf in for you.
    Rats...G41 isn't supported in Grbl 0.9i and I thought I had read that it was.

    I get an error: unsupported command at that G41 line:

    G91
    G21
    G41 P0.50
    G01 X0 Y0 F2200
    M03 S76
    G01 X+00 Y+10 F600
    G01 X+10 Y+00 F550
    G01 X+00 Y-10 F600
    G01 X-10 Y+00 F550
    M05 S0
    G01 X12 Y0 F2200
    M30

  8. #8
    Join Date
    Mar 2016
    Posts
    325

    Re: Compensating for laser beam width during cut

    it may be defined i n different way.
    Usually in milling systems You need first define tool dimmensions (by T and D, H, L commands) and then just choose If You want G41 or G42 (left or right) with no parameters. So try to use it with no parameters and if there won't be error message figure out the way to define tool radius. maybe it,s constant for laser.

  9. #9
    Join Date
    Jan 2016
    Posts
    53

    Re: Compensating for laser beam width during cut

    I confirmed with the Grbl folks that G40, G41 and G42 have not been implemented. They indicated this would probably not be added in the near future as they have more important Gcode to add to their Grbl.

  10. #10
    Join Date
    Feb 2006
    Posts
    1792

    Re: Compensating for laser beam width during cut

    Then use a drafting software to obtain the offset profile, and machine along it.

Similar Threads

  1. Laser beam runs on the outside of the laser tube!
    By dadde in forum Laser CO2 Tubes, Diodes, RF and Power Supplies
    Replies: 1
    Last Post: 04-18-2015, 03:19 PM
  2. [HELP] The minimum line width of CO2 laser engrave?
    By langtubinhson in forum Laser Engraving / Cutting Machine General Topics
    Replies: 1
    Last Post: 04-18-2015, 01:05 AM
  3. Small kerf width laser cutting.
    By RacerAl in forum Laser Engraving / Cutting Machine General Topics
    Replies: 9
    Last Post: 11-18-2012, 06:14 PM
  4. Laser beam too big
    By simonsk in forum Laser Engraving / Cutting Machine General Topics
    Replies: 10
    Last Post: 02-14-2012, 11:45 PM
  5. How align IR beam (co2) with visible beam (red dot laser) ?
    By etienne delcuve in forum Laser Engraving / Cutting Machine General Topics
    Replies: 7
    Last Post: 02-04-2009, 12:41 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •