Closed sn4k3 closed 5 years ago
Have you verified you have successful communication with the drivers?
Paste the M906
output after sending a command.
Send: M906 Recv: X driver current: 600 Recv: Y driver current: 600 Recv: Z driver current: 800 Recv: ok
Send: M906 Z10 Recv: ok Send: M906 Recv: X driver current: 600 Recv: Y driver current: 600 Recv: Z driver current: 10 Recv: ok
Send: M122 Recv: X Y Z Recv: Enabled false false false Recv: Set current 600 600 10 Recv: RMS current 1049 1049 55 Recv: MAX current 1479 1479 78 Recv: Run current 18/31 18/31 0/31 Recv: Hold current 9/31 9/31 0/31 Recv: CS actual 0/31 0/31 0/31 Recv: PWM scale 0 0 0 Recv: vsense 0=.325 0=.325 0=.325 Recv: stealthChop false false false Recv: msteps 256 256 256 Recv: tstep 0 0 0 Recv: pwm Recv: threshold 0 0 0 Recv: [mm/s] - - - Recv: OT prewarn false false false Recv: OT prewarn has Recv: been triggered false false false Recv: off time 0 0 0 Recv: blank time 16 16 16 Recv: hysteresis Recv: -end -3 -3 -3 Recv: -start 1 1 1 Recv: Stallguard thrs Recv: DRVSTATUS X Y Z Recv: stst Recv: olb Recv: ola Recv: s2gb Recv: s2ga Recv: otpw Recv: ot Recv: 157C Recv: 150C Recv: 143C Recv: 120C Recv: s2vsa Recv: s2vsb Recv: Driver registers: X = 0x00:00:00:00 Recv: Y = 0x00:00:00:00 Recv: Z = 0x00:00:00:00
Should Z2 show on that debug?
You have a connection issue that likely prevents your settings from applying. See the TMC troubleshooting section http://marlinfw.org/docs/hardware/tmc_drivers.html#troubleshooting
You have a connection issue that likely prevents your settings from applying. See the TMC troubleshooting section http://marlinfw.org/docs/hardware/tmc_drivers.html#troubleshooting
Settings apply to all axis, except Z2. I will take a look at the link
Have you enabled Z_DUAL_STEPPER_DRIVERS
?
Have you enabled
Z_DUAL_STEPPER_DRIVERS
?
Yes, i have attached my config files if anyone want take a look. As i said second Z motor works, but current not set equal like primary z
Yes, i have attached my config files if anyone want take a look.
I'm checking now.
As i said second Z motor works, but current not set equal like primary z
TMC2208 has build in defaults that allow it to "work" even if you can't connect to it.
I assume you're using 1.1.9? Try either one of the bugfix branches.
I tried now to exchange cable, I move the jumpers 42/65 from Z1 to 44/66 pins, send M906 Z10, it still apply in debug but motor current not set, so not a cable problem nor driver, it look likes it's ignoring something... As i understand when you use Dual Motor and send X, Y or Z current marlin apply to both Z1 and Z2 motor without the need set current for 1 and 2 individual right?
I assume you're using 1.1.9? Try either one of the bugfix branches.
Yes' im using lastest release. I will look at branches and search for bugfixes or related notes
@teemuatlut if it helps, I can repro this issue with TMC5160s connected over SPI. I'm using bugfix-2.0.x that I downloaded and built yesterday. M122 output shows a connection to all Trinamic drivers with no unexpected register values.
M906 Z2500 Z22500 results in only Z being set to 2.5A.
M906 Z2500 results in only Z being set to 2.5A.
The printer prints fine and both Z motors work correctly, just can't set the current on Z2 from the console.
See the syntax for controlling secondary drivers on an axis. http://marlinfw.org/docs/gcode/M906.html
@teemuatlut if it helps, I can repro this issue with TMC5160s connected over SPI. I'm using bugfix-2.0.x that I downloaded and built yesterday. M122 output shows a connection to all Trinamic drivers with no unexpected register values.
M906 Z2500 Z22500 results in only Z being set to 2.5A.
M906 Z2500 results in only Z being set to 2.5A.
The printer prints fine and both Z motors work correctly, just can't set the current on Z2 from the console.
Can you try with M906 I1 Z10 ? Mine doesn't work either Also does Z2 shows on console?
After use bugfix2.0 it start work as expected
Please always remember to close the issue when a successful solution has been found =)
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Description
After install second Z on E1 with TMC2208 UART, it works, but current is independent from Z1. My test is:
M906 I1 Z10
but nothing change. And i tried multiple configurationsMy connections are like image below, except UART for E on that picture goes to Z2 driver:
Board: MKS GEN L Drivers:
Pins:
What i'm doing wrong?