• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Prevent Multiple Retracts and Unretracts

Scheduled Pinned Locked Moved
General Discussion
3
4
559
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.
  • undefined
    Eddiie
    last edited by 14 Jan 2019, 06:44

    Is it possible, or does it already do this? To have the firmware ignore multiple G10 commands without a G11 and vice-versa ignore multiple G11's without a G10?

    Retract Example:
    G10 check for flag, if flag is high, ignore G10 command, otherwise set a flag to 1 and retract.
    G11 reset flag and unretract.

    this might get complicated with multiple tools.. ?

    I am noticing back to back G10's in my GCode

    undefined 1 Reply Last reply 14 Jan 2019, 08:53 Reply Quote 0
    • undefined
      fma
      last edited by 14 Jan 2019, 08:52

      The firmware already ignores multiples G10 and multiple G11...

      Frédéric

      1 Reply Last reply Reply Quote 0
      • undefined
        deckingman @Eddiie
        last edited by deckingman 14 Jan 2019, 08:53

        @eddiie said in Prevent Multiple Retracts and Unretracts:

        Is it possible, or does it already do this? To have the firmware ignore multiple G10 commands without a G11 and vice-versa ignore multiple G11's without a G10?

        Retract Example:
        G10 check for flag, if flag is high, ignore G10 command, otherwise set a flag to 1 and retract.
        G11 reset flag and unretract.

        this might get complicated with multiple tools.. ?

        I am noticing back to back G10's in my GCode

        Yes, the firmware will never do multiple retracts or un-retracts. So if your gcode file contains multiple G10 commands, only the first will be acted on. Subsequent G10 commands will be ignored until a G11 command is sent. Likewise only the first G11 unretract will be acted on and any others will be ignored until a G10 command is sent.

        Edit sorry @fma - looks like we were typing at the same time.

        Edit 2. This behaviour also applies if you try and send multiple G10 or G11 commands via the console.

        Ian
        https://somei3deas.wordpress.com/
        https://www.youtube.com/@deckingman

        1 Reply Last reply Reply Quote 0
        • undefined
          Eddiie
          last edited by 14 Jan 2019, 17:20

          That is great news! Thanks guys.

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