Cancel.g doesn't do what I want :-)
-
Are you sure that the "insufficient axes homed" message was produced by cancel.g, or could it have been produced at the start of the print?
-
omg! I now found the problem!
In my homex.g I told the machine to travel 370 to reach the endstop. But as I pause the extruder at X0 Y0 and then move the extruder to X-20 I have to move at least 390...
-
@dc42 So cancel.g will only run if pause.g was executed before and never else? (Need to know so I could modify the G-Code a little)
greetings kuhni
-
@kuhnikuehnast said in Cancel.g doesn't do what I want :
@dc42 So cancel.g will only run if pause.g was executed before and never else? (Need to know so I could modify the G-Code a little)
greetings kuhni
What actually happens is that when the firmware receives the M0 command when an SD card file is being printed, it closes the file. Then it looks for cancel.g if the print was in the Paused state, and stop.g otherwise. If the file is not found then it takes default action, which is basically turning all the heaters off.