# Problems with Gcode

**URL:** <https://forum.lightburnsoftware.com/t/problems-with-gcode/115990>\
**Category:** LightBurn Software Questions\
**Tags:** grbl\
**Created:** [November 8, 2023, 6:53pm UTC](https://forum.lightburnsoftware.com/t/problems-with-gcode/115990 "2023-11-08T18:53:22Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Darrellrath](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/d/a698b9/32.png) [@Darrellrath](https://forum.lightburnsoftware.com/u/Darrellrath)\
**Post date:** [November 8, 2023, 6:53pm UTC](https://forum.lightburnsoftware.com/t/problems-with-gcode/115990/1 "2023-11-08T18:53:23Z")

</div>

My Gcode is not the same as my DXF file or PDF files  
In the image with colors the is my dxf file and the black and white pic is the Gcode.  
Thay are not the same what is going on?

 ![20231108_135603](https://forum.lightburnsoftware.com/uploads/default/original/3X/9/d/9d2bd03ebbcb894990c0f2bfea0409184963c062.jpeg)  
 ![20231108_135537](https://forum.lightburnsoftware.com/uploads/default/original/3X/6/7/67a113314bc0e1f0ad005545257341e6e466c194.jpeg)

---

<div class="post-metadata">

**Author:** ![berainlb](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/b/85f322/32.png) [@berainlb](https://forum.lightburnsoftware.com/u/berainlb)\
**Post date:** [November 8, 2023, 7:05pm UTC](https://forum.lightburnsoftware.com/t/problems-with-gcode/115990/2 "2023-11-08T19:05:08Z")

</div>

Do you possibly have tabs/spaces enabled on the layers? If so, disable and retest.

If that’s not the issue, can you upload the .lbrn file for review?

---

<div class="post-metadata">

**Author:** ![Darrellrath](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/d/a698b9/32.png) [@Darrellrath](https://forum.lightburnsoftware.com/u/Darrellrath)\
**Post date:** [November 8, 2023, 8:08pm UTC](https://forum.lightburnsoftware.com/t/problems-with-gcode/115990/3 "2023-11-08T20:08:49Z")

</div>

Hi I have attached the 2 files as the tabs are not the problem.  
[TEST FILE.gc](https://forum.lightburnsoftware.com/uploads/short-url/yPOZ19v5yT5vaS3vgmdDEfJDwjL.gc) (1.4 MB)  
[TEST FILE.lbrn2](https://forum.lightburnsoftware.com/uploads/short-url/tDofTTeism73GuQ16B9AjZSuJZ5.lbrn2) (286.9 KB)

---

<div class="post-metadata">

**Author:** ![berainlb](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/b/85f322/32.png) [@berainlb](https://forum.lightburnsoftware.com/u/berainlb)\
**Post date:** [November 8, 2023, 8:18pm UTC](https://forum.lightburnsoftware.com/t/problems-with-gcode/115990/4 "2023-11-08T20:18:47Z")

</div>

Disable the “Add Lead-in” under Advanced tab in Cut settings.

---

<div class="post-metadata">

**Author:** ![Darrellrath](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/d/a698b9/32.png) [@Darrellrath](https://forum.lightburnsoftware.com/u/Darrellrath)\
**Post date:** [November 8, 2023, 8:35pm UTC](https://forum.lightburnsoftware.com/t/problems-with-gcode/115990/5 "2023-11-08T20:35:58Z")

</div>

Thank you for your help.  
Now my small problem is how to get Start pause time to work. I have tried to get this working? Your help with this would be appreciated.

---

<div class="post-metadata">

**Author:** ![berainlb](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/b/85f322/32.png) [@berainlb](https://forum.lightburnsoftware.com/u/berainlb)\
**Post date:** [November 8, 2023, 8:44pm UTC](https://forum.lightburnsoftware.com/t/problems-with-gcode/115990/6 "2023-11-08T20:44:03Z")

</div>

> [@Darrellrath](#):
>
> Now my small problem is how to get Start pause time to work

What are you doing, what are you expecting to happen, and what’s happening instead?

---

<div class="post-metadata">

**Author:** ![Darrellrath](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/d/a698b9/32.png) [@Darrellrath](https://forum.lightburnsoftware.com/u/Darrellrath)\
**Post date:** [November 8, 2023, 8:59pm UTC](https://forum.lightburnsoftware.com/t/problems-with-gcode/115990/7 "2023-11-08T20:59:13Z")

</div>

Nothing different is happening.  
I want to add a delay in the start of the burn.  
We have a big laser at work and there you can set a delay time when cutting steel to cut though before the machine starts moving?

---

<div class="post-metadata">

**Author:** ![berainlb](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/b/85f322/32.png) [@berainlb](https://forum.lightburnsoftware.com/u/berainlb)\
**Post date:** [November 8, 2023, 9:52pm UTC](https://forum.lightburnsoftware.com/t/problems-with-gcode/115990/8 "2023-11-08T21:52:16Z")

</div>

> [@Darrellrath](#):
>
> I want to add a delay in the start of the burn.

When you say delay, do you mean after the laser starts burning? Or do you mean you just want a general pause before any laser activity?

It sounds like the former.

If so, it looked like you were already configured for this. The Cut Through setting in Advanced tab of Cut setting allows this to work.

Is there something that isn’t working as you’d like?

---

<div class="post-metadata">

**Author:** ![Darrellrath](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/d/a698b9/32.png) [@Darrellrath](https://forum.lightburnsoftware.com/u/Darrellrath)\
**Post date:** [November 8, 2023, 10:09pm UTC](https://forum.lightburnsoftware.com/t/problems-with-gcode/115990/9 "2023-11-08T22:09:11Z")

</div>

Yes I configured the setting in advanced but its not working or there is no delay happening at the start of the burn this is my problem. Can I try something different

---

<div class="post-metadata">

**Author:** ![berainlb](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/b/85f322/32.png) [@berainlb](https://forum.lightburnsoftware.com/u/berainlb)\
**Post date:** [November 8, 2023, 10:50pm UTC](https://forum.lightburnsoftware.com/t/problems-with-gcode/115990/10 "2023-11-08T22:50:23Z")

</div>

I can see that there is in fact a cut-through dwell in the g-code:

> G1 F100 S10000  
> G4 P9

The `G4 P9` essentially should be dwelling on the initial cut start for 9 seconds. Are you not seeing this?

---

<div class="post-metadata">

**Author:** ![ednisley](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/ednisley/32/40455_2.png) [@ednisley](https://forum.lightburnsoftware.com/u/ednisley)\
**Post date:** [November 9, 2023, 12:58am UTC](https://forum.lightburnsoftware.com/t/problems-with-gcode/115990/11 "2023-11-09T00:58:38Z")

</div>

> [@berainlb](#):
>
> The `G4 P9` essentially should be dwelling on the initial cut start for 9 seconds.

Unless it’s a mutant G-Code variant using _milliseconds_, in which case the delay is gone before you’d notice … 🤷

If that’s the case, try delaying for 9000.

[Marlin](https://marlinfw.org/docs/gcode/G004.html) uses `P` for milliseconds and `S` for seconds, but I have no idea who else got on board that train.

---

<div class="post-metadata">

**Author:** ![berainlb](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/b/85f322/32.png) [@berainlb](https://forum.lightburnsoftware.com/u/berainlb)\
**Post date:** [November 9, 2023, 1:19am UTC](https://forum.lightburnsoftware.com/t/problems-with-gcode/115990/12 "2023-11-09T01:19:43Z")

</div>

> [@ednisley](#):
>
> Unless it’s a mutant G-Code variant using _milliseconds_

Indeed. I’m going by the basis that this is a GRBL machine. GRBL follows LinuxCNC convention on this which _should_ be in seconds.

> [@ednisley](#):
>
> try delaying for 9000

Note that in the Cut settings that this was indeed represented as 9000 ms.

---

<div class="post-metadata">

**Author:** ![ednisley](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/ednisley/32/40455_2.png) [@ednisley](https://forum.lightburnsoftware.com/u/ednisley)\
**Post date:** [November 9, 2023, 2:29pm UTC](https://forum.lightburnsoftware.com/t/problems-with-gcode/115990/13 "2023-11-09T14:29:26Z")

</div>

> [@berainlb](#):
>
> represented as 9000 ms

Entered in milliseconds, converted to seconds, then sent to a controller expecting milliseconds! 😁

Been there, done like that:

> [@Ruida controller not listening to Lightburn](https://forum.lightburnsoftware.com/t/ruida-controller-not-listening-to-lightburn/106059/14):
>
> One day, long years ago, while our Larval Engineer was metamorphosing into a Young Engineer, this arrived in my inbox: [The message about units is of value… I regret to inform you that I had to remove this meme because of the profanity] (admin) JohnJohn Apparently, one professor sounded very familiar. grin

---

<div class="post-metadata">

**Author:** ![berainlb](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/b/85f322/32.png) [@berainlb](https://forum.lightburnsoftware.com/u/berainlb)\
**Post date:** [November 9, 2023, 2:53pm UTC](https://forum.lightburnsoftware.com/t/problems-with-gcode/115990/14 "2023-11-09T14:53:49Z")

</div>

You realize you’re steadily becoming the xkcd of the lasering world… always seem to have an appropriate post.

---

<div class="post-metadata">

**Author:** ![ednisley](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/ednisley/32/40455_2.png) [@ednisley](https://forum.lightburnsoftware.com/u/ednisley)\
**Post date:** [November 9, 2023, 3:22pm UTC](https://forum.lightburnsoftware.com/t/problems-with-gcode/115990/15 "2023-11-09T15:22:42Z")

</div>

> [@berainlb](#):
>
> the xkcd of the lasering world

Eventually becoming Peanuts: fossilized. 😁

---

<div class="post-metadata">

**Author:** ![system](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/system/32/64335_2.png) [@system](https://forum.lightburnsoftware.com/u/system)\
**Post date:** [December 9, 2023, 3:22pm UTC](https://forum.lightburnsoftware.com/t/problems-with-gcode/115990/16 "2023-12-09T15:22:49Z")

</div>

Closed on December 9, 2023, 3:22pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
