Welcome! Log In Create A New Profile

Advanced

Marlin 1.9 Printer Halted when G28

Posted by Apocallur 
Marlin 1.9 Printer Halted when G28
September 06, 2019 01:01AM
I was upgrading my MK2 Clone to use TMC2130 on all drivers X, Y, Z and E0. Got a virgin marlin 1.9 copy and set it up to the point I was kinda secure about it. Trying to set up SPI mode, stealthchop and sensorless homing.
Currently, all the axis move (I'm not sure about the E0 because I'm waiting for another hotend to arrive, but it should work). The axis are moving only upward (+) from the starting position that the motors are when the printer was turned on. When I call for a G28 on any/all axis I can hear/feel the motors energizing for a few seconds then the printer halts (they do not move)
As far as I know, I've connected the 2130's upper wires correctly. (followed tom's guide)
I do have endstops plugged on X and Y (from the previous build), and have a probe on Z. My goal is to set sensorless homing on X and Y.

If anyone can help me with this, here's the M122 Log File, and the configs of my marlin

N20 M122*16
echo:N20 M122*16
X	Y	Z	E0
Enabled		false	false	false	false
Set current	760	760	760	800
RMS current	734	734	734	795
MAX current	1035	1035	1035	1121
Run current	23/31	23/31	23/31	25/31
Hold current	11/31	11/31	11/31	12/31
CS actual		11/31	11/31	11/31	12/31
PWM scale		35	4	26	3
vsense		1=.18	1=.18	1=.18	1=.18
stealthChop	true	true	true	true
msteps		16	16	16	16
tstep		1048575	1048575	1048575	1048575
pwm
threshold		0	0	0	0
[mm/s]		-	-	-	-
OT prewarn	false	false	false	false
OT prewarn has
been triggered	false	false	false	false
off time		5	5	5	5
blank time	24	24	24	24
hysteresis
-end		2	2	2	2
-start		3	3	3	3
Stallguard thrs	10	10	0	0
DRVSTATUS	X	Y	Z	E0
stallguard		X
sg_result		0	0	0	0
fsactive
stst		X	X	X	X
olb
ola
s2gb
s2ga
otpw
ot
Driver registers:
X = 0x81:0B:00:00
Y = 0x80:0B:00:00
 Z = 0x80:0B:00:00
 E0 = 0x80:0C:00:00

Attachments:
open | download - Configuration.h (72.6 KB)
open | download - Configuration_adv.h (71.4 KB)
VDX
Re: Marlin 1.9 Printer Halted when G28
September 06, 2019 02:32AM
... what's shown with "M114"?


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: Marlin 1.9 Printer Halted when G28
September 06, 2019 11:56AM
Showing results for M114
First thing after turning the printer on

X:0.00 Y:0.00 Z:0.00 E:0.00 Count X:0 Y:0 Z:0


After moving some axis a bit
X:100.00 Y:50.00 Z:0.00 E:0.00 Count X:8000 Y:4000 Z:0

Edited 1 time(s). Last edit at 09/06/2019 11:56AM by Apocallur.
VDX
Re: Marlin 1.9 Printer Halted when G28
September 06, 2019 02:06PM
... oh, sorry! - I've meant "M119" for the endstop status ...


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: Marlin 1.9 Printer Halted when G28
September 06, 2019 02:09PM
No problem!!

Results from M119 after turning on
None triggered at the moment

N14 M119*31
Reporting endstop status
x_min: open
y_min: open
z_min: open
VDX
Re: Marlin 1.9 Printer Halted when G28
September 06, 2019 04:50PM
... OK, with constantly "triggered" switches it won't move in the negative and homing wouldn't work -- but your's seem to be set correct.

Can you check for homing speeds or the difference between moving with G0, G1 and G28/homing?


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: Marlin 1.9 Printer Halted when G28
September 06, 2019 07:18PM
I dont know exactly how to test this, What I've tried is a visual comparison between G0 and G1 moves
They seem to be the same speed/torque
The G28 is the problem, since the motors doesn't move after the command (they just still locked into place) and the printer halt in sequence.

There's any command or check that I could do to determine this?

Edit: Weirdly, when send G0 X-130, the carriage moves -130mm (Hit the end on -120 aprox, and try to keep going more 10mm) same for Y

Made a confusing mistake on the initial post, I do NOT have mechanical endstops plugged, I do have the VREF on the 2130's connected on the signal endstop slots. (confused because my mechanical endstops are still fixed on the frame w/o wiring)

Thankyou for your patience winking smiley

Edited 3 time(s). Last edit at 09/06/2019 07:40PM by Apocallur.
Sorry, only registered users may post in this forum.

Click here to login