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

    Extruder motor current not set at power up [solved]

    Scheduled Pinned Locked Moved Solved
    Using Duet Controllers
    2
    3
    161
    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.
    • vockleyaundefined
      vockleya
      last edited by vockleya

      I'm in the process of building a custom 3d printer using a Duet 2 WIFI as the controller.
      I am having an issue where the extruder motor current is not set from a cold power-on.

      After power-on, running M906 give the following response:

      Motor current (mA) - X:1800, Y:1800, Z:1400, E:0, idle factor 30%
      

      If I then run the M906 line from config.g in the console, or go to the system file directory, open config.g, click "Save", and then click "Run Config File", the next time I run M906 shows the extruder current and idle factor have been set properly.

      Motor current (mA) - X:1800, Y:1800, Z:1400, E:1000, idle factor 40%
      

      If I click on "Restart Mainboard" instead of "Run Config File", it results in the same issue as from a cold power-on.

      I'm having a hard time tracking down the cause of this. If my memory is correct, it started at the same time as I changed from a single driver for the 2 Z motors to 2 separate drivers to allow for auto bed levelling. I've included my config.g below. I imagine there's something fairly straightforward that I've missed, but I've been staring at this config file for far too long. Any help would be greatly appreciated.

      config.g

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

        @vockleya the extruder doesn't exist until you create it in the M584 command, so the M906 command to set the motor currents must come after the M584 command.

        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

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

          Perfect! I love a simple fix. Thanks for the help!

          1 Reply Last reply Reply Quote 0
          • T3P3Tonyundefined T3P3Tony marked this topic as a question
          • T3P3Tonyundefined T3P3Tony has marked this topic as solved
          • First post
            Last post
          Unless otherwise noted, all forum content is licensed under CC-BY-SA