Extruder motor current not set at power up [solved]
-
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.
-
@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.
-
Perfect! I love a simple fix. Thanks for the help!
-
-