Jump to content
UltiMaker Community of 3D Printing Experts

Stop printing via USB on UM2+


Recommended Posts

Posted · Stop printing via USB on UM2+



I woyld like to know if it's possible to stop or pause a printing job by sending a request on USB with following conditions :

- the job is starting with embedded control panel

- the gcode file is on usb card and obtain classicaly by using Cura or other slicer 

- the usb request is sending by custom board (esp32......) and not by software like cura or octoprint running on pc or other raspberry 



  • Link to post
    Share on other sites

    Posted · Stop printing via USB on UM2+

    I start my prints from a console on my PC by sending M23 and M24.  That allows me to use M25 to pause a print.

    Doing that leaves the nozzle in contact with the print and will always leave a scar.  So I necessarily send a script to Pause the current print, move the Z up, and park the print head.  The previous XYZE locations must be figured out so they can be passed along when the print is resumed so they are correct when the gcode starts flowing again.  


    You might be able to send "M0" or "M1" (they are both Emergency Stop) to force a pause.  Depending on your firmware there may be other commands that can be used. Most pauses will result in the nozzle simply stopping right where it happens to be.

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

    • Our picks

      • New here? Get ahead with a free onboarding course
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
          • Like
        • 14 replies
    • Create New...