M25 documentation
-
Hello. I was looking for a command to finish a print job. In msome places of the actual documentation, it talks about "if a print is being cancelled (M25)..:". But the M25 coimmand pauses a print, it doesn{t finishs it)
Is this an error on documentation or there is some parameter missing on it?One example it is on the M0 command description:
Either: if the axes are homed and if a print is being cancelled (M25), it executes the macro file cancel.g if present. Or: if M0 is sent at any other time, stop.g is run if present.
-
@Tinchus said in M25 documentation:
was looking for a command to finish a print job
What exactly do you want to do here?
-
@Tinchus Probably a documentation error. Can you post links to where it looks wrong?
M25 pauses, M0 cancels. This is what DWC sends when you press the pause and cancel buttons:
M37 P"0:/gcodes/x_carriage.gcode" Simulating print of file 0:/gcodes/x_carriage.gcode M25 Printing paused at X-8.6 Y0.3 Z0.4 M0 Cancelled simulating file 0:/gcodes/x_carriage.gcode after 0h 3m simulated time
Ian
-
@gloomyandy can cel a print. Im writing conditional gcode and want under certain circunstances to cancel the print. Looking at the doics there are mentionx to M25, and in my mind I alredy new M25 was a pause outside gcode, so I got confised and this is what Im pointing out
-
@droftarts https://docs.duet3d.com/en/User_manual/Reference/Gcodes in the description of M0 and M1 commands
-
@Tinchus said in M25 documentation:
@droftarts https://docs.duet3d.com/en/User_manual/Reference/Gcodes in the description of M0 and M1 commands
Thanks, I've fixed those. Let me know if you see any others.
Ian