When i press the X-Y Home button on Octoprints Control tab, the first Gcode sent is G91. Apparently Klipper doesn't like that and sends 112. End of story.
Send: M105
Recv: ok B:30.4 /0.0 T0:24.4 /0.0
Send: M105
Recv: ok B:30.4 /0.0 T0:24.4 /0.0
Send: M105
Recv: ok B:30.4 /0.0 T0:24.5 /0.0
press home x-y button
Send: G91
Recv: // Shutdown due to M112 command
Recv: // Once the underlying issue is corrected, use the
Recv: // "FIRMWARE_RESTART" command to reset the firmware, reload the
Recv: // config, and restart the host software.
Recv: // Printer is shutdown
Recv: !! Shutdown due to M112 command
Changing monitoring state from "Operational" to "Error"
Send: M112
Send: N2 M11235
Send: N3 M104 T0 S034
Send: N4 M140 S0*97
Changing monitoring state from "Error" to "Offline after error"
Connection closed, closing down monitor
What did you already try to solve it?
when i manually send G28 G91 X0....... it works normally.
2023-11-01 20:22:24,824 - octoprint.util.comm - WARNING - Received an error from the printer's firmware: Include file '/home/guido/klipper/config/printer-rf1000.cfg' does not exist
| Last lines in terminal:
| Changing monitoring state from "Offline" to "Detecting serial connection"
| Performing autodetection with 7 port/baudrate candidates: /tmp/printer@115200, /tmp/printer@250000, /tmp/printer@230400, /tmp/printer@57600, /tmp/printer@38400, /tmp/printer@19200, /tmp/printer@9600
| Trying port /tmp/printer, baudrate 115200
| Connecting to port /tmp/printer, baudrate 115200
| Handshake attempt #1 with timeout 2.0s
| Connected to: Serial<id=0x7f38b8177850, open=True>(port='/tmp/printer', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=2.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
| Recv: // Include file '/home/guido/klipper/config/printer-rf1000.cfg' does not exist # <------------
| Recv: //
| Recv: // Once the underlying issue is corrected, use the "RESTART"
| Recv: // command to reload the config and restart the host software.
| Send: N0 M110 N0*125
| Changing monitoring state from "Detecting serial connection" to "Operational"
| Recv: // Printer is halted
| Recv: !! Include file '/home/guido/klipper/config/printer-rf1000.cfg' does not exist
This is a Klipper issue and you should consult the Klipper forum:
I just checked on my system and the Home X/Y button does indeed send a G91 before it sends the G28 X0 Y0 (and a G90 after). OctoPi 1.0.0cam, OctoPrint 1.9.3.
We can argue over the why but I think Klipper's response to the G91 is wrong.