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

    M568 requires 'P' parameter. Bug?

    Scheduled Pinned Locked Moved
    General Discussion
    3
    3
    148
    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.
    • ajdtreydundefined
      ajdtreyd
      last edited by ajdtreyd

      Hi,

      This thread is for reporting incorrect behavior for the M568 command.

      I started a print this morning using wood-filled PLA. I setup a lot of z-height based temperature changes using M568 because it is now the preferred method for setting tool temps.

      The 1st temp change command in the gcode file was reached and the error, "M568: missing parameter 'P' in GCode file" appeared on the panel due. I did a quick check through the console and the command, 'M568 S225' returned the same "missing P parameter" error.

      When generating the gcode file I omitted the 'P' parameter because the wiki ( https://duet3d.dozuki.com/Wiki/Gcode#Section_M568_Set_Tool_Settings ) states, "Pnnn Tool number. If this parameter is ont provided, the current tool is used." and also "Remember that any parameter that you don't specify will automatically be set to the last value for that parameter."

      I stopped the print and regenerated the file with 'P' defined and all is working now. I just wanted to report that the behavior is not consistent with the documentation.

      • Trey

      Edit:
      HW: Duet 2 Wifi
      FW: RRF 3.3, DWC 3.3.0, WiFi Svr 1.26

      fcwiltundefined dc42undefined 2 Replies Last reply Reply Quote 0
      • fcwiltundefined
        fcwilt @ajdtreyd
        last edited by

        @ajdtreyd said in M568 requires 'P' parameter. Bug?:

        When generating the gcode file I omitted the 'P' parameter because the wiki ( https://duet3d.dozuki.com/Wiki/Gcode#Section_M568_Set_Tool_Settings ) states, "Pnnn Tool number. If this parameter is ont provided, the current tool is used." and also "Remember that any parameter that you don't specify will automatically be set to the last value for that parameter."

        Did you verify at the time you used the command there was a current tool?

        Frederick

        Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

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

          @ajdtreyd thanks for pointing this out. I confirm that the behaviour is not as intended. This will be fixed in the next 3.4 beta release.

          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
          • First post
            Last post
          Unless otherwise noted, all forum content is licensed under CC-BY-SA