Navigation

    Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    bug: M486 C does not cancel current part

    Firmware developers
    2
    6
    99
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • c310
      c310 last edited by c310

      Introduction of M486 was very useful but
      on my setup (DuetWiFi + 3.1.1 issuing M486 C does nothing (at least visible), machine continues to print.

      however M486 Px works. result is on the picture below

      M409 does not list objects either.

      M409
      {"key":"","flags":"","result":{"boards":[{}],"directories":{},"fans":[{},{},{}],"heat":{},"inputs":[{},{},{},{},{},{},{},null,null,{},null,{}],"job":{},"limits":{},"move":{},"network":{},"scanner":{},"sensors":{},"seqs":{},"spindles":[{},{},{},{}],"state":{},"tools":[{}],"volumes":[{},{}]}}
      

      c1f30747-99b3-48eb-a970-330958adee04-изображение.png

      dc42 1 Reply Last reply Reply Quote 0
      • dc42
        dc42 administrators @c310 last edited by dc42

        @c310 said in bug: M486 C does not cancel current part:

        on my setup (DuetWiFi + 3.1.1 issuing M486 C does nothing (at least visible), machine continues to print.

        M409 C will cancel the object whose GCodes are being processed at the time. Because moves are executed from a queue of processed GCodes, the remainder of the queue will continue to be executed. It's even possible that the object cancelled will not be the one whose moves are currently being executed from the queue, because a change to a different object will take place later in the queue. Hence the "use with care" warning.

        M409 does not list objects either.

        From the documentation:

        An empty key string selects the entire object model. Note, the entire object model may be very large. RepRapFirmware 3.0beta2 and later set a default maximum depth of 1 if the key string is empty or not present, to avoid generating a response that may be too long to send.

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        1 Reply Last reply Reply Quote 0
        • c310
          c310 last edited by

          @dc42 thanks... .so, how do i cancel the object being printed ? or that will be in 3.1.2 ?

          i guess firmware knows what is being printed now and can cancel. but it does not happen (niter current object, nor potentially next one)
          in my situation - i have canceled current, but printer finished full plate, even with objects i wanted to cancel.

          If the queue is very big, it might be good to "reload" it after cancel received...

          1 Reply Last reply Reply Quote 0
          • dc42
            dc42 administrators last edited by

            M486 C should work already, except that as noted above, and provided there is a current object at the time (there won't be if a prime tower or other non-object is being printed, or if the objects were not labelled). In 3.1.2 I will add a confirmatory message reporting which object has been cancelled (or none).

            Duet WiFi hardware designer and firmware engineer
            Please do not ask me for Duet support via PM or email, use the forum
            http://www.escher3d.com, https://miscsolutions.wordpress.com

            1 Reply Last reply Reply Quote 0
            • dc42
              dc42 administrators last edited by

              I have added a message to confirm when an object is cancelled (if it wasn't cancelled already) or resumed (if it was previously cancelled).

              Duet WiFi hardware designer and firmware engineer
              Please do not ask me for Duet support via PM or email, use the forum
              http://www.escher3d.com, https://miscsolutions.wordpress.com

              c310 1 Reply Last reply Reply Quote 0
              • c310
                c310 @dc42 last edited by

                @dc42 thanks!

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Unless otherwise noted, all forum content is licensed under CC-BY-SA