Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
advancedmotordriver [2018/06/15 09:20]
143.159.81.0 [M code settings]
advancedmotordriver [2019/02/05 07:06]
205.175.106.13 [Config settings] removing out-of-date param (axis) and replacing with current param
Line 59: Line 59:
 <​code>​ <​code>​
 motor_driver_control.alpha.enable ​          ​true ​             # alpha (X) is a TMC26X motor_driver_control.alpha.enable ​          ​true ​             # alpha (X) is a TMC26X
-motor_driver_control.alpha.axis             X                 # A to set the settings+motor_driver_control.alpha.designator ​      X                 # A to set the settings
 motor_driver_control.alpha.chip ​            ​TMC2660 ​          # chip name motor_driver_control.alpha.chip ​            ​TMC2660 ​          # chip name
 motor_driver_control.alpha.current ​         1500              # current in milliamps motor_driver_control.alpha.current ​         1500              # current in milliamps
Line 73: Line 73:
  
 motor_driver_control.beta.enable ​          ​true ​             # beta (Y) is a DRV8711 motor_driver_control.beta.enable ​          ​true ​             # beta (Y) is a DRV8711
-motor_driver_control.beta.axis             Y                 # Y to set the settings+motor_driver_control.beta.designator ​      Y                 # Y to set the settings
 motor_driver_control.beta.chip ​            ​DRV8711 ​          # chip name motor_driver_control.beta.chip ​            ​DRV8711 ​          # chip name
 motor_driver_control.beta.current ​         4000              # current in milliamps motor_driver_control.beta.current ​         4000              # current in milliamps
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.