Welcome! Log In Create A New Profile

Advanced

M122 returns wrong driver information

Posted by gorischek 
M122 returns wrong driver information
December 04, 2018 01:03AM
Hi,

I´m using Marlin 1.1.9 on a ramps 1.4 with 5 TMC2208 drivers (connected with serial Y cable). E1 is used as Z1 for the second Z stepper. Basically everything works fine, but it seems that M122 returns the wrong stepper information (Z2 instead Z1):

06:44:32.146 : X Y Z Z2 E0
06:44:32.182 : Enabled false false false false true
06:44:32.187 : Set current 350 350 200 100 350
06:44:32.219 : RMS current 607 607 331 165 607
06:44:32.252 : MAX current 856 856 467 233 856
06:44:32.252 : Run current 10/31 10/31 5/31 2/31 10/31
06:44:32.256 : Hold current 5/31 5/31 2/31 1/31 5/31
06:44:32.289 : CS actual 31/31 31/31 31/31 0/31 0/31
06:44:32.316 : PWM scale 146 148 136 0 36
06:44:32.350 : vsense 0=.325 0=.325 0=.325 0=.325 0=.325
06:44:32.383 : stealthChop true true true false false
06:44:32.412 : msteps 16 16 16 256 16

Is this really a bug or do I miss something?

Best regards

Edited 1 time(s). Last edit at 12/04/2018 03:18AM by gorischek.
Attachments:
open | download - Configuration_adv.h (67.1 KB)
Re: M122 returns wrong driver information
December 04, 2018 01:21AM
Hi,

just found the reason for "Z2" instead "Z1". It is called Z2 in Marlin code (strange, for the extruder is is counted E0, E1, E2, E3...).
But there is still unclear why he says 256 msteps for Z2 if 16 is set in Marlin...

Best regards

Edited 1 time(s). Last edit at 12/04/2018 03:19AM by gorischek.
Sorry, only registered users may post in this forum.

Click here to login