Execute gcode mid print - without getting queued
-
Hi forum,
I wanted to know if there's a way to execute gcode commands in the middle of a print file without overwriting the ongoing printjob.
For example: babystepping to adjust printheight mid-print. Do these commands require a special prefix or can I just send any gcode command mid-print.
Similarly, is there a way to immeditely execute commands, as opposed to having them queued in the buffer for execution?
(e.g. how is the software emergency stop handled?)Best
-h -
@hauschka said in Execute gcode mid print - without getting queued:
Hi forum,
I wanted to know if there's a way to execute gcode commands in the middle of a print file without overwriting the ongoing printjob.
For example: babystepping to adjust printheight mid-print. Do these commands require a special prefix or can I just send any gcode command mid-print.
You can send almost any GCode command mid-print. A few will be ignored when printing from SD card unless they are in the print file, for example M0 will be ignored unless the print is paused.
Similarly, is there a way to immeditely execute commands, as opposed to having them queued in the buffer for execution?
(e.g. how is the software emergency stop handled?)Movement commands will be put in the movement queue for execution; except that babystepping attempts to bypass the movement queue. Emergency stop is also treated specially (it discards the movement queue). Commands that affect the motion system will wait for the movement queue to empty. Most commands that do not affect the motion system will be handled almost immediately.