multiple M906 commands?
-
Our z-axis is belt driven and needs a higher idle current than the other motors. Are multiple M906 commands allowed? We've tested this as follows, and I think it's working, but not sure how to tell for sure. Is there a better way? Thanks in advance.
M906 Z1800 I80
M906 X1800 Y1800 E 800 I40 -
I don't think idle current applies per axis. But I'll confirm.
https://duet3d.dozuki.com/Wiki/Gcode#Section_M906_Set_motor_currents
-
The idle current is global.
-
Thanks for the confirmation. I guess it doesn't hurt anything to hold the other motors at the higher current - was just thinking it would be an overall benefit if I could lower them.
-
I'll add a note to the M906 entry to clarify.
-
@oozeBot said in multiple M906 commands?:
but not sure how to tell for sure
in general you can run the commands with no parameters or only parameter for selecting a drive/axis/heater etc to return the currently applied settings. in your case running just
M906
(but I think the output only include oneI
value so it may or may not be obvious it applies to all axes)