Duet3D Logo

    Duet3D

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

    pre.g/post.g on standby

    General Discussion
    2
    3
    253
    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.
    • Anidal
      Anidal last edited by

      Good day!
      I started using post.g macro for tools, because Cura 4 does not generate the correct code when choosing a tool (I hope this will be corrected).
      During printing, macros work correctly and as expected.
      But I found that macros work out and when the printer does not print. It was very unexpected, and it is good that nothing broke and the hand did not fall under the head moving with great speed into the place of cleaning.
      Do macros pre.g and post.g really need to work at rest?
      Is it possible to disable it somehow?

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

        The macros will be run whenever you send a T command, unless either the command does not results in a change of tool, or you use the P parameter to specify that you don't want some or all of the tool change macros to be run. They will also be run if you send a M109 command that causes an implicit tool change.

        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
        • Anidal
          Anidal last edited by

          Ok, thank you!

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