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

    M code parameters sanity check

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    2
    2
    694
    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.
    • deckingmanundefined
      deckingman
      last edited by

      I'm 99.9% sure of this but have a 0.1% doubt. When entering a command but only referencing some parameters, I assume that those parameters which are not referenced will retain their values. For example, I want to reduce the motor currents when homing, for damage limitation in the unlikely even that an end stop switch fails. So at the start of the homing file I have M906 X400 Y400 Z1200. Then at the end I have M906 X1800 Y1800 Z1800. I just want to conform that the E motor currents and the Idle current as set in config.g will be unaffected by doing this.

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

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

        Missing parameters are given default values, and these are always the existing values where that makes sense.

        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