Can't figure out why it takes my printer about 2min to "cancel/stop" when I press cancel or cancel and object

What is the problem?

Can anyone help me with why when I press "cancel" the printer loves to keep running for a while before finally canceling? Is it something to do with this end Gcode? -
G91
G1 E-1
G0 X0 Y200
M104 S0
G90
G92 E0
M140 S0
M84
M104 S0
M140 S0
M84

What did you already try to solve it?

Searched through G-code here Gcode | Marlin Firmware but I am kinda worried about doing something wrong as it all seems necessary honestly. From my understanding with searching, in order to cancel the printer needs to finish going down the Gcode and something is preventing it from moving on. I just can't figure out what could be bad in it that also wouldn't cause problems to the printer

Additional information about your setup

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

Latest OctoPrint, latest OctoPi, Raspberry Pi 3B+, Geeetech A30T. Google Chrome, Windows 10 fully updated.

Enable serial.log in the settings, reproduce the issue and then upload the systeminfo bundle so we can see all the communication with the printer to see what's up.

Cancel isn't an emergency stop. It is still printing the Gcode that is in the printer control boards buffer. Once the lines that were queued before you pressed cancel complete the cancel command is acted on

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