# Björn FW and Runout Sensor

**URL:** <https://forum.sovol3d.com/t/bjorn-fw-and-runout-sensor/5123>\
**Category:** Sovol SV04 IDEX\
**Tags:** firmware, heat-fails\
**Created:** [June 8, 2024, 1:45am UTC](https://forum.sovol3d.com/t/bjorn-fw-and-runout-sensor/5123 "2024-06-08T01:45:43Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![dyse101](https://avatars.discourse-cdn.com/v4/letter/d/b77776/32.png) [@dyse101](https://forum.sovol3d.com/u/dyse101)\
**Post date:** [June 8, 2024, 1:45am UTC](https://forum.sovol3d.com/t/bjorn-fw-and-runout-sensor/5123/1 "2024-06-08T01:45:43Z")

</div>

I am running Björn’s latest FW, but am running into an issue with resuming after filament runs out. When the runout sensors are triggered, the printer follows the expected steps (park extruder, unload filament, start cool down of nozzle). However after I load the new filament through the sensor and click “Yes” to resume on the display, the nozzle does not warm back up, or go through any re-load filament steps. The display shows the correct commanded temp (235 in this case for PETG), but the nozzle continues to cool down.

Has anyone else run into this? Do we know if it’s a known bug in the FW, or is it something I’m doing wrong?

---

<div class="post-metadata">

**Author:** ![axxirT](https://avatars.discourse-cdn.com/v4/letter/a/ba9def/32.png) [@axxirT](https://forum.sovol3d.com/u/axxirT)\
**Post date:** [June 8, 2024, 5:40am UTC](https://forum.sovol3d.com/t/bjorn-fw-and-runout-sensor/5123/2 "2024-06-08T05:40:34Z")

</div>

Hello, i did not test it in this fw.  
As i run out in johncarlsons fw, the wrong extruder unloaded… so i think the sensors are switched. But in basic the change is working at johncarlsons…

Can you tap on pause. And resume ?

---

<div class="post-metadata">

**Author:** ![Bjoern](https://avatars.discourse-cdn.com/v4/letter/b/46a35a/32.png) [@Bjoern](https://forum.sovol3d.com/u/Bjoern)\
**Post date:** [June 8, 2024, 9:34am UTC](https://forum.sovol3d.com/t/bjorn-fw-and-runout-sensor/5123/3 "2024-06-08T09:34:15Z")

</div>

Hi [dyse101](https://forum.sovol3d.com/u/dyse101),  
I’ll check that issue & post my results here.

---

<div class="post-metadata">

**Author:** ![Bjoern](https://avatars.discourse-cdn.com/v4/letter/b/46a35a/32.png) [@Bjoern](https://forum.sovol3d.com/u/Bjoern)\
**Post date:** [June 8, 2024, 1:16pm UTC](https://forum.sovol3d.com/t/bjorn-fw-and-runout-sensor/5123/4 "2024-06-08T13:16:07Z")

</div>

Update #1:  
I was able to reproduce the problem & can confirm that resume after filament runout does not work as it should. I’ll try to fix that & post an update.

---

<div class="post-metadata">

**Author:** ![dyse101](https://avatars.discourse-cdn.com/v4/letter/d/b77776/32.png) [@dyse101](https://forum.sovol3d.com/u/dyse101)\
**Post date:** [June 8, 2024, 2:08pm UTC](https://forum.sovol3d.com/t/bjorn-fw-and-runout-sensor/5123/5 "2024-06-08T14:08:06Z")

</div>

Thanks Bjoern. If there is anything I can do to help, let me know. I have limited experience with FW and just haven’t had the time to poke around and find where everything is defined for the M600 script between Marlin and the screen.

---

<div class="post-metadata">

**Author:** ![Bjoern](https://avatars.discourse-cdn.com/v4/letter/b/46a35a/32.png) [@Bjoern](https://forum.sovol3d.com/u/Bjoern)\
**Post date:** [June 11, 2024, 4:14pm UTC](https://forum.sovol3d.com/t/bjorn-fw-and-runout-sensor/5123/6 "2024-06-11T16:14:43Z")

</div>

Update #2:  
The resume problem has been fixed. However, I’m currently working on the pause function that left much room for improvement. I’ll post an update when the bugfix version has been released.

---

<div class="post-metadata">

**Author:** ![Bjoern](https://avatars.discourse-cdn.com/v4/letter/b/46a35a/32.png) [@Bjoern](https://forum.sovol3d.com/u/Bjoern)\
**Post date:** [June 11, 2024, 11:25pm UTC](https://forum.sovol3d.com/t/bjorn-fw-and-runout-sensor/5123/7 "2024-06-11T23:25:27Z")

</div>

Update #3:  
Resume after filament runout & pause/resume are working now.  
[The new release is available on my GitHub page.](https://github.com/Bjoern70/SV04-IDEX-3D-Printer-Mainboard-Source-code/releases/tag/v1.14.2)

Thanks for your patience  
Björn

---

<div class="post-metadata">

**Author:** ![dyse101](https://avatars.discourse-cdn.com/v4/letter/d/b77776/32.png) [@dyse101](https://forum.sovol3d.com/u/dyse101)\
**Post date:** [June 12, 2024, 3:09pm UTC](https://forum.sovol3d.com/t/bjorn-fw-and-runout-sensor/5123/8 "2024-06-12T15:09:50Z")

</div>

Bjoern, you are amazing! I will test this one I get some time in the next couple of days.

Thanks for working on this!

-Dyse

---

<div class="post-metadata">

**Author:** ![dyse101](https://avatars.discourse-cdn.com/v4/letter/d/b77776/32.png) [@dyse101](https://forum.sovol3d.com/u/dyse101)\
**Post date:** [June 16, 2024, 8:19pm UTC](https://forum.sovol3d.com/t/bjorn-fw-and-runout-sensor/5123/9 "2024-06-16T20:19:05Z")

</div>

Aaaaaand, now I’m stumped… Downloaded the source files from GitHub (need to recompile for adjustments for the MicroSwiss NG hot ends) and get failures in VSCode using PlatformIO. Below is the output from Terminal stating it can’t find …/inc/MarlinConfigPre.h, however that file is present in the designated folder. I’m thinking a bug in PlatformIO. Thoughts?

…  
Compiling .pio\build\STM32F103RET6\_creality\src\src\gcode\temp\M141\_M191.cpp.o  
In file included from Marlin\src\gcode\temp../…/lcd/e3v2/creality/…/…/…/sd/…/inc/…/HAL/./STM32/MarlinSerial.h:27,  
from Marlin\src\gcode\temp../…/lcd/e3v2/creality/…/…/…/sd/…/inc/…/HAL/./STM32/HAL.h:34,  
from Marlin\src\gcode\temp../…/lcd/e3v2/creality/…/…/…/sd/…/inc/…/HAL/HAL.h:30,  
from Marlin\src\gcode\temp../…/lcd/e3v2/creality/…/…/…/sd/…/inc/MarlinConfig.h:31,  
from Marlin\src\gcode\temp../…/lcd/e3v2/creality/…/…/…/sd/cardreader.h:24,  
from Marlin\src\gcode\temp../…/lcd/e3v2/creality/LCD\_RTS.h:4,  
from Marlin\src\gcode\temp\M104\_M109.cpp:34:  
Marlin\src\gcode\temp../…/lcd/e3v2/creality/…/…/…/sd/…/inc/…/HAL/./STM32/…/…/feature/e\_parser.h:28:10: fatal error: …/inc/MarlinConfigPre.h: No such file or directory  
28 | #include “…/inc/MarlinConfigPre.h”  
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~  
compilation terminated.  
\*\*\* [.pio\build\STM32F103RET6\_creality\src\src\gcode\temp\M104\_M109.cpp.o] Error 1  
====================================================================================================================================== [FAILED] Took 192.17 seconds ======================================================================================================================================

---

<div class="post-metadata">

**Author:** ![dyse101](https://avatars.discourse-cdn.com/v4/letter/d/b77776/32.png) [@dyse101](https://forum.sovol3d.com/u/dyse101)\
**Post date:** [June 16, 2024, 8:22pm UTC](https://forum.sovol3d.com/t/bjorn-fw-and-runout-sensor/5123/10 "2024-06-16T20:22:37Z")

</div>

Ok, some googling led me down the path to change “MarlinConfigPre.h” to just “MarlinConfig.h” and build succeeded. I’ll give this a shot with my changes later (need to take the kids swimming).
