Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
advancedmotordriver [2018/06/15 09:20]
143.159.81.0 [M code settings]
advancedmotordriver [2018/06/15 09:27] (current)
143.159.81.0 [M code settings]
Line 97: Line 97:
 Many settings can be made on the fly with M codes, many if these are specific to certain chips: ​           Many settings can be made on the fly with M codes, many if these are specific to certain chips: ​          
  
 +* M906 Xnnn change current to nnn in milliamps for motor designator X
 +* M909 Ynn set microstepping for motor designator Y tp 1/nn
 +* M909.1 Xnnn set microstepping and also change steps/mm accordingly
 * M911 will dump all the registers and status of all the motors * M911 will dump all the registers and status of all the motors
 * M911.1 Pn (or X0) will dump the registers and status of the selected motor. R0 will request format in processing machine readable format * M911.1 Pn (or X0) will dump the registers and status of the selected motor. R0 will request format in processing machine readable format
Line 123: Line 126:
   * M911.3 S16 Un Vn Wn Xn set Diag0options U=error, V=otpw, W=stall, X=pushpull   * M911.3 S16 Un Vn Wn Xn set Diag0options U=error, V=otpw, W=stall, X=pushpull
   * M911.3 S17 Un Vn Wn Xn set setDiag1options U=stall, V=index, W=onstate, X=pushpull   * M911.3 S17 Un Vn Wn Xn set setDiag1options U=stall, V=index, W=onstate, X=pushpull
- +* DRV8711: has none at the moment, just set the raw register.
- * DRV8711: has none at the moment, just set the raw register. +
- +
-* M906 Xnnn change current to nnn in milliamps for motor designator X +
-* M909 Ynn set microstepping for motor designator Y tp 1/nn +
-* M909.1 Xnnn set microstepping and also change steps/mm accordingly+
  
 These are saved with M500 and override anything set in config. These are saved with M500 and override anything set in config.