Report motor current with Stall Detection?
-
Hi,
was wondering if possible to report a motor current while running a gcode file with use of stall detect?Cheers
-
@CJ-BRAVO said in Report motor current with Stall Detection?:
Hi,
was wondering if possible to report a motor current while running a gcode file with use of stall detect?Cheers
I'm not sure what you mean. The motor current is the value set in M906 scaled by the percentage set in M913.
-
-
M122 will report the minimum and maximum load recorded for each driver since M122 was last run (or since power up).
-
Driver 3: standstill, SG min/max 0/1023
what is "1023"?
-
1023 is the minimum possible load reported by the driver, and 0 is the maximum. 0/1023 is what is reported when the motor hasn't moved yet.
-
Driver 0: standstill, SG min/max 37/201
Driver 1: standstill, SG min/max 19/272sorry for the ignorance but what in what units is the measurement? watts? mAmps?
-
@CJ-BRAVO It's a decimal value from a register. You have to take the datasheet in order to do the conversion bits value/ real value.
-
@pipersw said in Report motor current with Stall Detection?:
@CJ-BRAVO It's a decimal value from a register. You have to take the datasheet in order to do the conversion bits value/ real value.
Specifically, section 4 of https://www.trinamic.com/fileadmin/assets/Products/ICs_Documents/TMC2660_datasheet.pdf. M122 reports the minimum and maximum recorded values of the SG register.