|
|
|
@ -1601,21 +1601,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Monitor L6470 drivers for error conditions like over temperature and over current.
|
|
|
|
|
* In the case of over temperature Marlin can decrease the drive until the error condition clears.
|
|
|
|
|
* Other detected conditions can be used to stop the current print.
|
|
|
|
|
* Relevant g-codes:
|
|
|
|
|
* M906 - I1/2/3/4/5 Set or get motor drive level using axis codes X, Y, Z, E. Report values if no axis codes given.
|
|
|
|
|
* I not present or I0 or I1 - X, Y, Z or E0
|
|
|
|
|
* I2 - X2, Y2, Z2 or E1
|
|
|
|
|
* I3 - Z3 or E3
|
|
|
|
|
* I4 - E4
|
|
|
|
|
* I5 - E5
|
|
|
|
|
* M916 - Increase drive level until get thermal warning
|
|
|
|
|
* M917 - Find minimum current thresholds
|
|
|
|
|
* M918 - Increase speed until max or error
|
|
|
|
|
* M122 S0/1 - Report driver parameters
|
|
|
|
|
*/
|
|
|
|
|
* Monitor L6470 drivers for error conditions like over temperature and over current.
|
|
|
|
|
* In the case of over temperature Marlin can decrease the drive until the error condition clears.
|
|
|
|
|
* Other detected conditions can be used to stop the current print.
|
|
|
|
|
* Relevant g-codes:
|
|
|
|
|
* M906 - I1/2/3/4/5 Set or get motor drive level using axis codes X, Y, Z, E. Report values if no axis codes given.
|
|
|
|
|
* I not present or I0 or I1 - X, Y, Z or E0
|
|
|
|
|
* I2 - X2, Y2, Z2 or E1
|
|
|
|
|
* I3 - Z3 or E3
|
|
|
|
|
* I4 - E4
|
|
|
|
|
* I5 - E5
|
|
|
|
|
* M916 - Increase drive level until get thermal warning
|
|
|
|
|
* M917 - Find minimum current thresholds
|
|
|
|
|
* M918 - Increase speed until max or error
|
|
|
|
|
* M122 S0/1 - Report driver parameters
|
|
|
|
|
*/
|
|
|
|
|
//#define MONITOR_L6470_DRIVER_STATUS
|
|
|
|
|
|
|
|
|
|
#if ENABLED(MONITOR_L6470_DRIVER_STATUS)
|
|
|
|
|