Only one Driver working
-
@fabian-du Are you connecting the Nema 34 directly to the duet board?
-
Can you send M122 and M98 P"config.g" in the gcode console and share the results here?
When and where did you purchase the Duet?It's hard to tell from your description whether the drivers working or not is configuration dependant. For instance, the Z axis won't work even on a driver that did work for the X axis?
I use Nema17 motors in X (2 parallel) and Y (4 parallel)
The motors are wired in parallel? Have you tested individual motors?
-
Hi,
thank you for the fast respond
Here is the M122:
M122
=== Diagnostics ===
RepRapFirmware for Duet 3 MB6HC version 3.4.0 (2022-03-15 18:57:24) running on Duet 3 MB6HC v1.01 or later (standalone mode)
Board ID: 08DJM-956BA-NA3TJ-6JKF0-3S86Q-1V9GT
Used output buffers: 1 of 40 (25 max)
=== RTOS ===
Static ram: 151000
Dynamic ram: 95932 of which 0 recycled
Never used RAM 103740, free system stack 206 words
Tasks: NETWORK(ready,26.6%,251) ETHERNET(notifyWait,0.2%,168) HEAT(notifyWait,0.0%,347) Move(notifyWait,0.0%,352) CanReceiv(notifyWait,0.0%,944) CanSender(notifyWait,0.0%,374) CanClock(delaying,0.0%,333) TMC(notifyWait,7.9%,92) MAIN(running,65.3%,1087) IDLE(ready,0.0%,30), total 100.0%
Owned mutexes:
=== Platform ===
Last reset 00:04:11 ago, cause: power up
Last software reset at 2022-05-02 13:15, reason: User, GCodes spinning, available RAM 103596, slot 1
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00400000 BFAR 0x00000000 SP 0x00000000 Task MAIN Freestk 0 n/a
Error status: 0x00
Step timer max interval 126
MCU temperature: min 42.6, current 42.9, max 43.0
Supply voltage: min 24.5, current 24.5, max 24.5, under voltage events: 0, over voltage events: 0, power good: yes
12V rail voltage: min 12.1, current 12.1, max 12.1, under voltage events: 0
Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
Events: 0 queued, 0 completed
Driver 0: standstill, SG min n/a, mspos 8, reads 19616, writes 0 timeouts 0
Driver 1: standstill, SG min n/a, mspos 8, reads 19616, writes 0 timeouts 0
Driver 2: standstill, SG min n/a, mspos 8, reads 19617, writes 0 timeouts 0
Driver 3: standstill, SG min n/a, mspos 8, reads 19617, writes 0 timeouts 0
Driver 4: standstill, SG min n/a, mspos 8, reads 19617, writes 0 timeouts 0
Driver 5: standstill, SG min n/a, mspos 8, reads 19616, writes 0 timeouts 0
Date/time: 2022-05-03 09:37:30
Slowest loop: 2.90ms; fastest: 0.05ms
=== Storage ===
Free file entries: 10
SD card 0 detected, interface speed: 25.0MBytes/sec
SD card longest read time 2.3ms, write time 0.0ms, max retries 0
=== Move ===
DMs created 125, segments created 0, maxWait 0ms, bed compensation in use: none, comp offset 0.000
=== MainDDARing ===
Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== AuxDDARing ===
Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== Heat ===
Bed heaters 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0
=== GCodes ===
Segments left: 0
Movement lock held by null
HTTP is idle in state(s) 0
Telnet is idle in state(s) 0
File is idle in state(s) 0
USB is idle in state(s) 0
Aux is idle in state(s) 0
Trigger is idle in state(s) 0
Queue is idle in state(s) 0
LCD is idle in state(s) 0
SBC is idle in state(s) 0
Daemon is idle in state(s) 0
Aux2 is idle in state(s) 0
Autopause is idle in state(s) 0
Code queue is empty
=== CAN ===
Messages queued 31, received 0, lost 0, boc 0
Longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 50 (min 50), ts 17/0/0
Tx timeouts 0,0,17,0,0,14 last cancelled message type 30 dest 127
=== Network ===
Slowest loop: 1.92ms; fastest: 0.02ms
Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions Telnet(0), 0 sessions
HTTP sessions: 1 of 8- Ethernet -
State: active
Error counts: 0 0 1 0 0
Socket states: 5 2 2 2 2 0 0 0
M98:
M98 P"config.g"
HTTP is enabled on port 80
FTP is disabled
TELNET is disabledYes I tried to use only one motor for the X Axis on the other drivers, still only working on driver 0.1.
I bought the duet some month ago from a german reseller CR3D. Use the duet since one week or so.
When I use the Z motors on the working Driver 0.1 i get this message:
Warning: Driver 0.1 warning: phase A short to Vin, phase B may be disconnected
3.5.2022, 09:48:57 Error: Driver 0.1 error: phase A short to VinChanged the steps, acceleration etc. to the suitable values for the Z axis.
Is it even possible to run the Nema 34 with the board or do I need a extension board or something?
Also thought about going back to the external drivers, so I will need the extension board anyway...Here are the pictures of the board:
- Ethernet -
-
what are the specs of your nema34?
-
Here is the data sheet of the steppers for the Z axis.
-
You'd have to put your details into the EMF calculator to see if your voltage/movement speed combo for that motor is going to work.
https://www.reprapfirmware.org/emf.html
Running the motors in parallel also complicate the matter. Have you tested them wired independently yet?
-
Hi,
i used my numbers in the tool. It should work with my specs.
When I use one motor its still the same problem.
Also tried it with a NEMA 23 motor, still not working:Warning: Driver 0.2 warning: phase A short to ground, phase B short to ground, phase B may be disconnected
Its so strange that only Driver 0.1 is working, also with the X/Y axis.
When I use the NEMA 23 with this driver, its working.You think the board could be damaged or something?
Still its unlikely that 5 drivers are broken, no? -
@fabian-du This may sound silly, but check that you are connecting the motor to the correct driver on the board. The order of the drivers on the board is not intuitive:
You may have assumed driver 0 is next to driver 3, eg:top of PCB edge of PCB Driver 0 Driver 3 Driver 1 Driver 4 Driver 2 Driver 5 But actually driver 2 is. This would explain why driver 1 (it's in the middle) and the extruder (driver 3) works (I think you said this works?), but driver 0 and 2 don't (they are swapped).
Ian
-
Hi,
yes the swapped drivers would´ve made sense.
But I understood the positioning right, as shown in the first picture.My Z Axis with the Nema 34 motors now also works in parallel with the driver 0.1 (middle, outside of the board) with the same settings I use for X and Y.
So i set the same numbers for all drivers:; Drives
M569 P0.0 S1 ; physical drive 0.0 goes forwards
M569 P0.1 S1 ; physical drive 0.1 goes forwards
M569 P0.2 S1 ; physical drive 0.2 goes forwards
M569 P0.3 S1 ; physical drive 0.3 goes forwards
M584 X0.0 Y0.1 Z0.2 E0.3 ; set drive mapping
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X160.00 Y160.00 Z160.00 E420.00 ; set steps per mm
M566 X900.00 Y900.00 Z900.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
M203 X6000.00 Y6000.00 Z6000.00 E1200.00 ; set maximum speeds (mm/min)
M201 X500.00 Y500.00 Z500.00 E250.00 ; set accelerations (mm/s^2)
M906 X1600 Y1600 Z1600 E800 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S60 ; Set idle timeoutIts still only the driver 0.1 which is working.
Tried to use the Z and Y Axis in driver 0.0 and 0.2 and vice versa.
Still the same error.Since the motors are working with driver 0.1, my wiring should be right.
The config for all axes are also the same, so I´m pretty clueless what else I could try out. -
Please send an email to warranty@duet3d.com and CC your reseller. Include a link to this forum thread and the details of your original purchase. You'll receive a reply with a form to fill out.
-