Referencing (homing?) Octoprint/Klipper/RF-1000

What is the problem?

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 S0
34
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.

Have you tried running in safe mode?

Yes, same problem.

Did running in safe mode solve the problem?

no

Systeminfo Bundle

You can download this in OctoPrint's System Information dialog ... no bundle, no support!)
octoprint-systeminfo-20231103113356.zip (39.3 KB)

WRITE HERE

Additional information about your setup

OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible

WRITE HERE
Octoprint Version 1.9.3

Hello @Uncle_guido !

Using the Home X/Y button should not send a M91. That would not make any sense.

G91 is Set to Relative Positioning and should not cause a M112 in Klipper.

https://reprap.org/wiki/G-code#G91:_Set_to_Relative_Positioning

UNLESS:

Your Klipper installation is that quirky

The issue is this (line #9):

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:

1 Like

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.

1 Like

Ok, you are right, but the response of Klipper results on this:

| Recv: // Include file '/home/guido/klipper/config/printer-rf1000.cfg' does not exist   # <------------
1 Like

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