# Console codes showing invalid on Smoothieware K40

**URL:** <https://forum.lightburnsoftware.com/t/console-codes-showing-invalid-on-smoothieware-k40/98502>\
**Category:** Smoothieware\
**Created:** [April 25, 2023, 9:12pm UTC](https://forum.lightburnsoftware.com/t/console-codes-showing-invalid-on-smoothieware-k40/98502 "2023-04-25T21:12:50Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![falconplumb](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/falconplumb/32/60112_2.png) [@falconplumb](https://forum.lightburnsoftware.com/u/falconplumb)\
**Post date:** [April 25, 2023, 9:12pm UTC](https://forum.lightburnsoftware.com/t/console-codes-showing-invalid-on-smoothieware-k40/98502/1 "2023-04-25T21:12:50Z")

</div>

I am having lockout alarm issues with my K40 with smoothieware. All the solutions I seem to find require console comands. Do these work on a Smoothieware board? If I type the $$ command it pops up invalid.  
Thanks

---

<div class="post-metadata">

**Author:** ![JMartin](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/jmartin/32/60476_2.png) [@JMartin](https://forum.lightburnsoftware.com/u/JMartin)\
**Post date:** [April 25, 2023, 9:26pm UTC](https://forum.lightburnsoftware.com/t/console-codes-showing-invalid-on-smoothieware-k40/98502/2 "2023-04-25T21:26:10Z")

</div>

> [@falconplumb](#):
>
> Do these

I had this too with my Smoothie K40.  
Never looked for an answer, but I’m watching this thread.

Jim

---

<div class="post-metadata">

**Author:** ![JohnJohn](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/johnjohn/32/37027_2.png) [@JohnJohn](https://forum.lightburnsoftware.com/u/JohnJohn)\
**Post date:** [April 25, 2023, 10:30pm UTC](https://forum.lightburnsoftware.com/t/console-codes-showing-invalid-on-smoothieware-k40/98502/3 "2023-04-25T22:30:08Z")

</div>

$$ is a GRBL gnea feature. Most of the laser engravers used this open source project but the ceiling is the speed and storage for the 8 bit processors.

$$ and other GRBL settings are mostly present in Grbl HAL ( as in $$ only reveals the original GRBL settings as a backward-compatible feature. It doesn’t offer all of the advanced machine settings that are now available to users ) Grbl HAL was written for 32 bit controllers and runs much faster and offers more features. Ortur shows attribution to Grbl HAL in some of their start messages. Other manufacturers may be using this (or parts of it) without attribution.

I believe $$ is fully gone in FluidCNC and some other recent 32 bit controllers.

Some Config files are available through the USB connection on some modern controllers. I can’t recall whether it was LinuxCNC or FluidCNC or where I saw it.

For Smoothieware all the settings are in the Config file on the SD card.

Because of the way that Smoothie is built, it’s not accessible (for reading, editing or replacement) over the USB serial port. I’d really like team at smoothie to consider adding access somehow.

I’ll go find out what the dump-the-settings commands are in the other controllers and post them here. If something comes up about accessing the Smoothie config file I’ll share.

---

<div class="post-metadata">

**Author:** ![JohnJohn](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/johnjohn/32/37027_2.png) [@JohnJohn](https://forum.lightburnsoftware.com/u/JohnJohn)\
**Post date:** [April 25, 2023, 11:14pm UTC](https://forum.lightburnsoftware.com/t/console-codes-showing-invalid-on-smoothieware-k40/98502/4 "2023-04-25T23:14:53Z")

</div>

> [@falconplumb](#):
>
> I am having lockout alarm issues with my K40 with smoothieware.

I might split this into it’s own smoothieware setup into another thread.

Please Copy and Paste the error message and a few surrounding lines from the Console window in LightBurn.

A screen capture of LightBurn, zoomed out showing the whole work area and where the origin, or origins, are set is incredibly helpful.

Here’s a handy tool…

> **[How to take a screenshot](https://www.take-a-screenshot.org/)**
>
> How to take a screenshot on your smartphone, tablet, notebook or desktop computer

An additional screen shot of the Device Settings window and the Laser window should round out the rest of the information that needs to be known.

 ![2023-04-25_16-43-10 smoothie setup](https://forum.lightburnsoftware.com/uploads/default/original/3X/5/6/56e97e705d3912966ec1763f477b450e0eade942.gif)

You’re welcome to attach the config.txt file for review.

Most often the Error you’re describing is related to the selected location(s) of the Origin(s) and the directions that the K40 ‘should’ travel in.

- In the Laser window, selecting Absolute Coordinates is the least confusing option for Start From:

- The other key point is that the limit switches on a K40 are most often Back Left and the origin is Front Left.

> **[The origin really is the front left. I know the homing switches are in the...](https://web.archive.org/web/20230207050610/https://cohesion3d.com/knowledgebase/the-origin-really-is-the-front-left-i-know-the-homing-switches-are-in-the-rear-left-youre-not-special/)**
>
> The origin really is the front left. I know the homing switches are in the rear left. You’re not special You are here: KB Home Common Issues The origin really is the front left. I know the homing switches are in the rear left. You're not special A...

When the K40 starts up the engrave head should run toward the back left corner, trigger the two switches and then pull away from them slightly to bring them back to not-triggered. If the engrave head runs toward a different corner we’ll have to check if a motor controller is set to run backwards or if the homing was set to run off elsewhere.

The first diagnostic test (after you’re connected ) is related to the jog buttons in the Move window in LightBurn. Please set the Distance to 10mm or 0.5 inch and set the speed slow enough to easily watch.

With Homing behaving as expected:

- Do all Four jog arrows move the engrave head in the correct direction? If a pair of these (or both pairs) are reversed we likely adjust the origin position in LightBurn.

That should be enough for now.

---

<div class="post-metadata">

**Author:** ![falconplumb](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/falconplumb/32/60112_2.png) [@falconplumb](https://forum.lightburnsoftware.com/u/falconplumb)\
**Post date:** [April 26, 2023, 12:32am UTC](https://forum.lightburnsoftware.com/t/console-codes-showing-invalid-on-smoothieware-k40/98502/5 "2023-04-26T00:32:48Z")

</div>

I’ll post that when I get home from work tomorrow, thanks for the help.

---

<div class="post-metadata">

**Author:** ![JMartin](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/jmartin/32/60476_2.png) [@JMartin](https://forum.lightburnsoftware.com/u/JMartin)\
**Post date:** [April 26, 2023, 2:46am UTC](https://forum.lightburnsoftware.com/t/console-codes-showing-invalid-on-smoothieware-k40/98502/6 "2023-04-26T02:46:21Z")

</div>

> [@JohnJohn](#):
>
> For Smoothieware all the settings are in the Config file on the SD card.

This makes sense… I believe I read that somewhere.  
Thank you.

---

<div class="post-metadata">

**Author:** ![falconplumb](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/falconplumb/32/60112_2.png) [@falconplumb](https://forum.lightburnsoftware.com/u/falconplumb)\
**Post date:** [April 30, 2023, 3:01pm UTC](https://forum.lightburnsoftware.com/t/console-codes-showing-invalid-on-smoothieware-k40/98502/7 "2023-04-30T15:01:28Z")

</div>

Reset origin to bottom left. I believe the issue is the up down is reversed, left/right is good up/down is reversed.

---

<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:** [May 30, 2023, 3:02pm UTC](https://forum.lightburnsoftware.com/t/console-codes-showing-invalid-on-smoothieware-k40/98502/8 "2023-05-30T15:02:10Z")

</div>

Closed on May 30, 2023, 3:02pm UTC

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