# EEPROM $$ settings continued

**URL:** <https://forum.sienci.com/t/eeprom-settings-continued/4600>\
**Category:** ❓ Question\
**Created:** [December 17, 2021, 7:02pm UTC](https://forum.sienci.com/t/eeprom-settings-continued/4600 "2021-12-17T19:02:55Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![greg5](https://forum.sienci.com/letter_avatar_proxy/v4/letter/g/8797f3/32.png) [@greg5](https://forum.sienci.com/u/greg5)\
**Post date:** [December 17, 2021, 7:02pm UTC](https://forum.sienci.com/t/eeprom-settings-continued/4600/1 "2021-12-17T19:02:55Z")

</div>

Previous thread locked, not sure how to continue.

I did some more testing and it’s nto actually working.

So adding $32=1 to the very first line in the NC file, and $32=0 at the end, has inconsistent behavior. It will sometimes throw an error on an unrelated line of gcode.

Adding a dwell after the settings gets rid of that issue.

However, the setting will not actually apply. If I run a laser job with the $32=1 and a dwell, the file will run, but you can observe the gantry stopping/starting motion between spindle commands. The behavior is the same as if you forgot to set laser mode in GRBL.

---

<div class="post-metadata">

**Author:** ![gwilki](https://forum.sienci.com/user_avatar/forum.sienci.com/gwilki/32/366_2.png) [@gwilki](https://forum.sienci.com/u/gwilki)\
**Post date:** [December 17, 2021, 8:12pm UTC](https://forum.sienci.com/t/eeprom-settings-continued/4600/2 "2021-12-17T20:12:52Z")

</div>

@greg5 I closed the previous thread, as I thought your issue was resolved. My apologies for jumping too quickly.

I re-read your original first post and I’m a bit confused. (Not an unusual state for me.) You say that you are using LightBurn, but then talk about errors in gSender. LB sends code directly to the Mill, so can you tell me what purpose you are using gSender for? From there, I may be able to help.

---

<div class="post-metadata">

**Author:** ![greg5](https://forum.sienci.com/letter_avatar_proxy/v4/letter/g/8797f3/32.png) [@greg5](https://forum.sienci.com/u/greg5)\
**Post date:** [December 17, 2021, 10:02pm UTC](https://forum.sienci.com/t/eeprom-settings-continued/4600/3 "2021-12-17T22:02:57Z")

</div>

No problem!

I’m only using lightburn to generate gcode. Using gSender as the actual gcode sender.

---

<div class="post-metadata">

**Author:** ![gwilki](https://forum.sienci.com/user_avatar/forum.sienci.com/gwilki/32/366_2.png) [@gwilki](https://forum.sienci.com/u/gwilki)\
**Post date:** [December 17, 2021, 10:16pm UTC](https://forum.sienci.com/t/eeprom-settings-continued/4600/4 "2021-12-17T22:16:54Z")

</div>

@greg5 Understood, tks. Why are you using gSender? LB will send directly to the Mill. Did that cause you some issues?

Either option requires you to set $32 and $30. I use macros in both LB and gS to do that. I don’t use gSender with my LB files, but I do forget some times to revert back to “router” when I’m in LB, so I set the same macros up in both.

---

<div class="post-metadata">

**Author:** ![paullarson](https://forum.sienci.com/user_avatar/forum.sienci.com/paullarson/32/8543_2.png) [@paullarson](https://forum.sienci.com/u/paullarson)\
**Post date:** [December 17, 2021, 11:07pm UTC](https://forum.sienci.com/t/eeprom-settings-continued/4600/5 "2021-12-17T23:07:36Z")

</div>

@gwilki , I do the same thing as @greg5. I generate gcode with Lightburn and then use UGS to send it. I have played with Lightburn as the sender, but prefer using UGS. I am gradually moving to GSender.  
I don’t have any useful help for this issue because I just set $32 with a macro before running the toolpath.

---

<div class="post-metadata">

**Author:** ![gwilki](https://forum.sienci.com/user_avatar/forum.sienci.com/gwilki/32/366_2.png) [@gwilki](https://forum.sienci.com/u/gwilki)\
**Post date:** [December 17, 2021, 11:44pm UTC](https://forum.sienci.com/t/eeprom-settings-continued/4600/6 "2021-12-17T23:44:04Z")

</div>

@paullarson Tks, Paul. Interesting. It really never occurred to me to export the gcode, even when I was using UGS. When I was using UGS, I had macros to turn laser mode on and off and to change the speed setting from 1000 to 3000. I have the same thing in gSender now. Works well.

---

<div class="post-metadata">

**Author:** ![greg5](https://forum.sienci.com/letter_avatar_proxy/v4/letter/g/8797f3/32.png) [@greg5](https://forum.sienci.com/u/greg5)\
**Post date:** [December 18, 2021, 2:22am UTC](https://forum.sienci.com/t/eeprom-settings-continued/4600/7 "2021-12-18T02:22:23Z")

</div>

Lightburn doesn’t run on a raspberry Pi 🙂

Macros would work but I try to keep things as foolproof as possible. If I could add laser mode to the start of my lightburn files and regular mode to my cutting files, I’d never need to worry about forgetting to change modes.

---

<div class="post-metadata">

**Author:** ![gwilki](https://forum.sienci.com/user_avatar/forum.sienci.com/gwilki/32/366_2.png) [@gwilki](https://forum.sienci.com/u/gwilki)\
**Post date:** [December 18, 2021, 3:35pm UTC](https://forum.sienci.com/t/eeprom-settings-continued/4600/8 "2021-12-18T15:35:08Z")

</div>

@greg5 Oh sure, bring a Pi into the discussion. 😀 😀

I suspect that Paul knows much more about this than I do. I’ve never tried to add the laser on/laser off codes to the gcode file. I’m eager to learn how you solve this, though.

---

<div class="post-metadata">

**Author:** ![NeilFerreri](https://forum.sienci.com/user_avatar/forum.sienci.com/neilferreri/32/1959_2.png) [@NeilFerreri](https://forum.sienci.com/u/NeilFerreri)\
**Post date:** [December 19, 2021, 3:47am UTC](https://forum.sienci.com/t/eeprom-settings-continued/4600/9 "2021-12-19T03:47:49Z")

</div>

> [@greg5](#):
>
> However, the setting will not actually apply.

Hey Greg,

Is that always the case? As I mentioned elsewhere, those EEPROM writes create some interesting troubleshooting.  
Was your $32=1 the first line in your file?  
How long was the dwell?

---

<div class="post-metadata">

**Author:** ![greg5](https://forum.sienci.com/letter_avatar_proxy/v4/letter/g/8797f3/32.png) [@greg5](https://forum.sienci.com/u/greg5)\
**Post date:** [December 19, 2021, 1:39pm UTC](https://forum.sienci.com/t/eeprom-settings-continued/4600/10 "2021-12-19T13:39:37Z")

</div>

Yes, first line in file. The dwell was 2 seconds.

---

<div class="post-metadata">

**Author:** ![chrismakesstuff](https://forum.sienci.com/user_avatar/forum.sienci.com/chrismakesstuff/32/10759_2.png) [@chrismakesstuff](https://forum.sienci.com/u/chrismakesstuff)\
**Post date:** [April 26, 2022, 10:29pm UTC](https://forum.sienci.com/t/eeprom-settings-continued/4600/11 "2022-04-26T22:29:58Z")

</div>

@greg5 have you tried to implement the laser-mode command into a test file and run it in another g-code sender? It could be possible that the behaviour you’re seeing isn’t gSender specific rather it’s an issue with how GRBL processes the mode switch - requiring some time to change over similar to how we use dwell commends during probing procedures since sometimes the value won’t stick if not given some time to write first

---

<div class="post-metadata">

**Author:** ![greg5](https://forum.sienci.com/letter_avatar_proxy/v4/letter/g/8797f3/32.png) [@greg5](https://forum.sienci.com/u/greg5)\
**Post date:** [April 27, 2022, 12:17am UTC](https://forum.sienci.com/t/eeprom-settings-continued/4600/12 "2022-04-27T00:17:32Z")

</div>

I think it is GRBL related. The dwell was very inconsistent in terms of results.

---

<div class="post-metadata">

**Author:** ![chrismakesstuff](https://forum.sienci.com/user_avatar/forum.sienci.com/chrismakesstuff/32/10759_2.png) [@chrismakesstuff](https://forum.sienci.com/u/chrismakesstuff)\
**Post date:** [June 23, 2022, 6:06pm UTC](https://forum.sienci.com/t/eeprom-settings-continued/4600/13 "2022-06-23T18:06:02Z")

</div>

Closed on June 23, 2022, 6:06pm UTC


