Basic Information:
Printer Model: Custom device
MCU / Printerboard: SKR Pico
Host / SBC RPi 4b
klippy.log
klippy(8).log (86.5 KB)
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:
I’m building a custom device based on klipper, as an alternative to a different opensource board. Recently, the project implemented jogging, so my solution needs to do that too to achieve feature parity. I have read around and I know that Klipper doesn’t do realtime movement too well, but the alternative is to scrap the entire project, which isn’t acceptable at this point yet.
I’m trying to interrupt a jog using a drip move, and then triggering an endstop. I’m using klipper virtual pins to simulate the endstop for now. I setup a manual stepper with the virtual pin as the endstop. This seems to work fine:
However, when I try to move it via console with the “stop on” included, the stepper refuses to move at all. I can hear it “buzzing” slightly as if it’s trying to do something? But ultimately, it doesn’t move. When I remove the “stop on” clause, the move happens as normal. It doesn’t matter that the endstop isn’t triggered.
Alternatively, is there a way I could do the same thing, without using manual steppers? There’s the “home” command, but that only goes towards one direction. I have a printer.cfg for all three axis using carthesian kinematics, but have no idea on how to setup a movement interrupt there, since “hardware” endstops aren’t a thing in klipper. I also tried not using “virtual pins”, tried an output pin instead, but it doesn’t work as an “input” pin at the same time, so the endstop gets ignored. Virtual pin seems to correctly trigger in the “query_endstops” command at least.
Changing “diag pin” to the virtual pin does the same thing. Doesn’t matter whether the jumper is on the board or not, there seems to be no movement.
Edit: I also updated everything through the web interface, klippy log might show an outdated version, but the problem still persists after an update


