Welcome! Log In Create A New Profile

Advanced

TMC2130 Only Moves 1 step, Sensorless Homing

Posted by ear0wax 
TMC2130 Only Moves 1 step, Sensorless Homing
August 28, 2019 10:35PM
I have setup a MPCNC with 4 independent tmc2130's for X, X2, Y, Y2 with a DVR8825 for Z. With a MKS Gen board.

The TMC2130's are wired via SPI and communication works, M122 shows my motors connected correctly but for some reason, I cannot get any motor in the system to move If I send G1 moves for X or Y the motor just Jolt a tiny bit (like one step) and only for the first move command issued after connection, I cannot get the motors to respond again untill a reset is done. G28 does nothing and just reports back busy: Processing. For some reason I cannot get Z to move at all, current is set correctly and is wired correctly. I have attached my Configuration and Configuration_adv files, I am running Marlin bugfix-2.0.x. Any and all help is appreciated. Also Im trying to use sensorless homing.

Log File

start
echo:Marlin bugfix-2.0.x

echo: Last Updated: 2019-07-05 | Author: (none, default config)
echo:Compiled: Aug 25 2019
echo: Free Memory: 5185  PlannerBufferBytes: 1216
echo:V67 stored settings retrieved (622 bytes; crc 25960)
echo:  G21    ; Units in mm (mm)

echo: Filament settings: Disabled
echo:  M200 D3.00
echo:  M200 D0
echo: Steps per unit:
echo: M92 X80.00 Y80.00 Z5120.00 E500.00
echo: Maximum feedrates (units/s):
echo:  M203 X300.00 Y300.00 Z30.00 E25.00
echo: Maximum Acceleration (units/s2):
echo:  M201 X3000.00 Y3000.00 Z100.00 E10000.00
echo: Acceleration (units/s2): P R T
echo:  M204 P3000.00 R3000.00 T3000.00
echo: Advanced: B S T X Y Z E
echo:  M205 B20000.00 S0.00 T0.00 X10.00 Y10.00 Z0.30 E5.00
echo: Home offset:
echo:  M206 X0.00 Y0.00 Z0.00
echo: Endstop adjustment:
echo:  M666 X0.00 Y0.00
echo: PID settings:
echo:  M301 P22.20 I1.08 D114.00
echo: Stepper driver current:
echo:  M906 X800 Y800
echo:  M906 I1 X800 Y800

echo: StallGuard threshold:
echo:  M914 X8 Y8
  M914 I1 X8 Y8
echo: Driver stepping mode:
echo: Testing X connection... OK
Testing X2 connection... OK
Testing Y connection... OK
Testing Y2 connection... OK

M122
		X	X2	Y	Y2
Enabled		false	false	false	false
Set current	800	800	800	800
RMS current	795	795	795	795
MAX current	1121	1121	1121	1121
Run current	25/31	25/31	25/31	25/31
Hold current	12/31	12/31	12/31	12/31
CS actual	12/31	12/31	12/31	12/31
PWM scale	0	0	0	0
vsense		1=.18	1=.18	1=.18	1=.18
stealthChop	false	false	false	false
msteps		16	16	16	16
tstep		max	max	max	max
pwm
threshold					
[mm/s]					
OT prewarn	false	false	false	false
OT prewarn has
been triggered	false	false	false	false
off time		4	4	4	4
blank time	24	24	24	24
hysteresis
-end		2	2	2	2
-start		1	1	1	1
Stallguard thrs	8	8	8	8
DRVSTATUS	X	X2	Y	Y2
stallguard					
sg_result		0	0	0	0
fsactive					
stst		*	*	*	*
olb		*	*	*	*
ola		*	*	*	*
s2gb					
s2ga					
otpw					
ot					
Driver registers:
		X	0xE0:0C:00:00
		X2	0xE0:0C:00:00
		Y	0xE0:0C:00:00
		Y2	0xE0:0C:00:00


Testing X connection... OK
Testing X2 connection... OK
Testing Y connection... OK
Testing Y2 connection... OK
ok

G28

echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing
echo:busy: processing

Edited 2 time(s). Last edit at 08/28/2019 10:48PM by ear0wax.
Attachments:
open | download - Marlin.zip (57 KB)
VDX
Re: TMC2130 Only Moves 1 step, Sensorless Homing
August 29, 2019 04:15AM
... check for triggered switches (send "M114") or moving directions or travelling ranges ...


Viktor
--------
Aufruf zum Projekt "Müll-freie Meere" - [reprap.org] -- Deutsche Facebook-Gruppe - [www.facebook.com]

Call for the project "garbage-free seas" - [reprap.org]
Re: TMC2130 Only Moves 1 step, Sensorless Homing
August 29, 2019 10:55AM
Thank you for the reply. I should have mentioned in op that I double checked my end stop status also, all five say open.
VDX
Re: TMC2130 Only Moves 1 step, Sensorless Homing
August 29, 2019 11:38AM
... try to set the actual position to 0,0,0 with "G92 X0 Y0 Z0" - so you can avoid homing, if this is the problem ...


Viktor
--------
Aufruf zum Projekt "Müll-freie Meere" - [reprap.org] -- Deutsche Facebook-Gruppe - [www.facebook.com]

Call for the project "garbage-free seas" - [reprap.org]
Sorry, only registered users may post in this forum.

Click here to login