# Print jobs paused mid-print even there was lots of filament remaining

**URL:** <https://klipper.discourse.group/t/print-jobs-paused-mid-print-even-there-was-lots-of-filament-remaining/23237>\
**Category:** General Discussion\
**Created:** [May 1, 2025, 6:06pm UTC](https://klipper.discourse.group/t/print-jobs-paused-mid-print-even-there-was-lots-of-filament-remaining/23237 "2025-05-01T18:06:36Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![printeruser](https://avatars.discourse-cdn.com/v4/letter/p/ac8455/32.png) [@printeruser](https://klipper.discourse.group/u/printeruser)\
**Post date:** [May 1, 2025, 6:06pm UTC](https://klipper.discourse.group/t/print-jobs-paused-mid-print-even-there-was-lots-of-filament-remaining/23237/1 "2025-05-01T18:06:37Z")

</div>

### Basic Information:

Printer Model: Prusa i3MK3S+  
 MCU / Printerboard: Einsy  
 Host / SBC: RPi 5  
 klippy.log

_Fill out above information and_ **_in all cases attach your_ `klippy.log` _file_** (use zip to compress it, if too big). _Pasting your_ `printer.cfg` _is **not** needed_  
_ **Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there** _

### Describe your issue:

The filament sensor was fine on my MK3S+. After switching to Klipper, I got several successful small prints (each about 30-45 minutes) but all of a sudden, most of the time the print jobs were paused in the middle of the print. Either the Console showed “Print already paused” or “Print already paused” and “Filament Runout Detected”.

As a test, without filament, I typed: `query_filament_sensor` on the Console and it returned “Error on ‘query\_filament\_sensor’ : missing SENSOR”. I then inserted a filament into the extruder. The Console returned 'Filament Load Detected". Then it automatically sucked in the filament and extruded it from the nozzle. When I tried to insert a filament, I could not so I suspected there was some filament inside the extruder. I pressed the “UNLOAD FILAMENT” button on the GUI and a filament of about 3-4 cm came out. Then, I re-inserted it into the extruder. This time, Console did not show 'Filament Load Detected". When I typed: `query_filament_sensor` while I could see the filament partly outside and partly inside the extruder, the Console gave me “Error on ‘query\_filament\_sensor’: missing SENSOR”.

It is suspected that it might be due to software/configuration issue. I installed Klipper using this method:

[dz0ny/klipper-prusa-mk3s: Structured Klipper config for Prusa MK3s 3D printer](https://github.com/dz0ny/klipper-prusa-mk3s)

Enclosed is the log file. Could you please check if there is something wrong? Thank you.

[klippy.log](https://klipper.discourse.group/uploads/short-url/cNsB3DQJAa60dGD7BssYXnGEW1i.log) (2.0 MB)

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [May 1, 2025, 6:20pm UTC](https://klipper.discourse.group/t/print-jobs-paused-mid-print-even-there-was-lots-of-filament-remaining/23237/2 "2025-05-01T18:20:20Z")

</div>

You will need to prepend `^` as a pull-up before the pin, or better yet, choose one that has a hardware pull-up already.

---

<div class="post-metadata">

**Author:** ![printeruser](https://avatars.discourse-cdn.com/v4/letter/p/ac8455/32.png) [@printeruser](https://klipper.discourse.group/u/printeruser)\
**Post date:** [May 1, 2025, 6:46pm UTC](https://klipper.discourse.group/t/print-jobs-paused-mid-print-even-there-was-lots-of-filament-remaining/23237/3 "2025-05-01T18:46:38Z")

</div>

Thanks for your reply. Do you mean in klipper-prusa-mk3s/mk3s/einsy-rambo.cfg,  
change the

> switch\_pin: !PK0

to

> switch\_pin: ^!PK0

like the following?

```auto
[filament_switch_sensor fsensor]
pause_on_runout: True
runout_gcode:
    M118 Filament Runout Detected
    M600
insert_gcode:
    M118 Filament Load Detected
    LOAD_FILAMENT
event_delay: 3.0
pause_delay: 0.01
switch_pin: ^!PK0

```

Why it is better to choose one that has a hardware pull-up already? Any good recommendation for the Prusa i3MK3S+?

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [May 2, 2025, 6:24am UTC](https://klipper.discourse.group/t/print-jobs-paused-mid-print-even-there-was-lots-of-filament-remaining/23237/4 "2025-05-02T06:24:47Z")

</div>

> [@printeruser](#):
>
> like the following?

Exactly, whereas I cannot comment on the negation `!`. This depends on your hardware.

> [@printeruser](#):
>
> Why it is better to choose one that has a hardware pull-up already?

A hardware pull-up is more stable than the pull-ups that can be activated in the MCU via `^`. But the “soft pull-ups” usually work fine as well.

I’m not sure how your board exactly looks or what its schematic is. From a cursory look at the schematics of the original Einsy Rambo v1.1 board, there are no suitable pins left, as the board is quite Spartan.

---

<div class="post-metadata">

**Author:** ![printeruser](https://avatars.discourse-cdn.com/v4/letter/p/ac8455/32.png) [@printeruser](https://klipper.discourse.group/u/printeruser)\
**Post date:** [May 2, 2025, 1:22pm UTC](https://klipper.discourse.group/t/print-jobs-paused-mid-print-even-there-was-lots-of-filament-remaining/23237/5 "2025-05-02T13:22:48Z")

</div>

Thanks. First print was successful. I will keep an eye on it and report back if there is any problem.

How come the following command sometimes returned the status immediately but sometimes it took, say 7-10 seconds, to do that? At one point, I issued that query multiple times since the status was not shown. It was like Klipper thought about it for 7-10 seconds. Then, returned a bunch of status all at the same time.

> QUERY\_FILAMENT\_SENSOR SENSOR=fsensor

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [May 2, 2025, 5:06pm UTC](https://klipper.discourse.group/t/print-jobs-paused-mid-print-even-there-was-lots-of-filament-remaining/23237/6 "2025-05-02T17:06:26Z")

</div>

> [@printeruser](#):
>
> How come the following command sometimes returned the status immediately but sometimes it took, say 7-10 seconds, to do that?

It seems strange. In any case, it’s impossible to tell without a log. Whenever you make any changes and have questions about them, post a `klippy.log` file showing the issue.

---

<div class="post-metadata">

**Author:** ![printeruser](https://avatars.discourse-cdn.com/v4/letter/p/ac8455/32.png) [@printeruser](https://klipper.discourse.group/u/printeruser)\
**Post date:** [May 2, 2025, 5:08pm UTC](https://klipper.discourse.group/t/print-jobs-paused-mid-print-even-there-was-lots-of-filament-remaining/23237/7 "2025-05-02T17:08:24Z")

</div>

Same log as the one I originally posted. Just changed that

> switch\_pin: ^!PK0

Do you think the Einsy Rambo board is a bit tardy for Klipper? Perhaps better to change to another board?

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [May 2, 2025, 5:09pm UTC](https://klipper.discourse.group/t/print-jobs-paused-mid-print-even-there-was-lots-of-filament-remaining/23237/8 "2025-05-02T17:09:30Z")

</div>

> [@printeruser](#):
>
> Same log as the one I originally posted.

It’s hardly possible since your previous configuration rendered the filament sensor basically inoperative.

---

<div class="post-metadata">

**Author:** ![printeruser](https://avatars.discourse-cdn.com/v4/letter/p/ac8455/32.png) [@printeruser](https://klipper.discourse.group/u/printeruser)\
**Post date:** [May 2, 2025, 5:15pm UTC](https://klipper.discourse.group/t/print-jobs-paused-mid-print-even-there-was-lots-of-filament-remaining/23237/9 "2025-05-02T17:15:00Z")

</div>

Sorry. I just updated the log file.

---

<div class="post-metadata">

**Author:** ![EddyMI3D](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/eddymi3d/32/1981_2.png) [@EddyMI3D](https://klipper.discourse.group/u/EddyMI3D)\
**Post date:** [May 2, 2025, 5:33pm UTC](https://klipper.discourse.group/t/print-jobs-paused-mid-print-even-there-was-lots-of-filament-remaining/23237/10 "2025-05-02T17:33:32Z")

</div>

> [@printeruser](#):
>
> I just updated the log file.

New information always to a new post - and **never** to the first post.

---

<div class="post-metadata">

**Author:** ![printeruser](https://avatars.discourse-cdn.com/v4/letter/p/ac8455/32.png) [@printeruser](https://klipper.discourse.group/u/printeruser)\
**Post date:** [May 2, 2025, 5:38pm UTC](https://klipper.discourse.group/t/print-jobs-paused-mid-print-even-there-was-lots-of-filament-remaining/23237/11 "2025-05-02T17:38:29Z")

</div>

OK. I will keep that in mind. Thanks

---

<div class="post-metadata">

**Author:** ![printeruser](https://avatars.discourse-cdn.com/v4/letter/p/ac8455/32.png) [@printeruser](https://klipper.discourse.group/u/printeruser)\
**Post date:** [May 4, 2025, 4:45pm UTC](https://klipper.discourse.group/t/print-jobs-paused-mid-print-even-there-was-lots-of-filament-remaining/23237/12 "2025-05-04T16:45:24Z")

</div>

@ [Sineos](https://klipper.discourse.group/u/Sineos) I tried several print jobs the past two days and all completed without being paused in the middle of the jobs. Thank you.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/klipper/original/1X/64419bf2aac6639e6ef5cef200dcd456b0a01ac3.png) [@system](https://klipper.discourse.group/u/system)\
**Post date:** [June 4, 2025, 2:45am UTC](https://klipper.discourse.group/t/print-jobs-paused-mid-print-even-there-was-lots-of-filament-remaining/23237/13 "2025-06-04T02:45:52Z")

</div>

Closed on June 4, 2025, 2:45am UTC

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