Hello,
I started printing/building my MPCNC a few weeks ago, while waiting for the parts to arrive. Yesterday I started wiring my control box. I also use a Duet WiFi as control board and this thread has been very helpful for configuring my board.
I managed to get the z and x axes working fine, but the y axis is causing trouble. Whenever I try to move the axis, the steppers start to vibrate and stall, cuasing the Duet to reset.
My config is as follows:
; General preferences
M584 X2 Y0:1 Z3 ; set drive mapping
G90 ; send absolute coordinates…
M83 ; …but relative extruder moves
M550 P"MPCNC" ; set printer name
; Network
M552 S1 ; enable network
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet
;CNC Mode
M453
; Drives
M569 P0 S1 ; physical drive 0 goes forwards
M569 P1 S0 ; physical drive 1 goes backwards
M569 P2 S1 ; physical drive 2 goes forwards
M569 P3 S1 ; physical drive 3 goes backwards
M350 X256 Y256 Z256 I0 ; configure microstepping without interpolation
M92 X1600.00 Y1600.00 Z6400.00 ; set steps per mm
M566 X900.00 Y900.00 Z12.00 ; set maximum instantaneous speed changes (mm/min)
M203 X6000.00 Y6000.00 Z180.00 ; set maximum speeds (mm/min)
M201 X100.00 Y100.00 Z20.00 ; set accelerations (mm/s^2)
M906 X1500 Y1500 I30 Z1500 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout
; Axis Limits
M208 X0 Y0 Z0 S1 ; set axis minima
M208 X500 Y500 Z70 S0 ; set axis maxima
; Endstops
M574 X0 Y0 Z0 S0 ; set active low and disabled endstops
; Z-Probe
M558 P0 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed
M557 X15:215 Y15:195 S20 ; define mesh grid
; Heaters
M140 H-1 ; disable heated bed
; Fans
; Custom settings
M587 S"xxxxxx" P"xxxxx"
M552 S1
I use the following steppers:
I have already checked the wiring to rule out any issues there and it seems to be fine. I also tried reconfiguring the y axis to different drivers, but that did not help. The interessting thing is that one of the y steppers is working fine, but the other one just vibrates an stalls causing the Duet to reset. I swapped the cables for x and y, which causes one of the x steppers to stall. This also happens without any load/belts attached.
Any hints would be apprechiated
-chrzr
Edit: I did some more googling and found a few posts on how to map drives for a single axis. I adjusted the config accordingly, but still nothing
; General preferences
M584 X2 Y1:3 Z4 U1 E5:6 P4 ; set drive mapping
G90 ; send absolute coordinates…
M83 ; …but relative extruder moves
M550 P"MPCNC" ; set printer name
; Network
M552 S1 ; enable network
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet
;CNC Mode
M453
; Drives
M569 P0 S1 ; physical drive 0 goes forwards
M569 P1 S0 ; physical drive 1 goes backwards
M569 P2 S1 ; physical drive 2 goes forwards
M569 P3 S0 ; physical drive 3 goes forwards
M350 X256 Y256:256 U256 Z256 E256 I0 ; configure microstepping without interpolation
M92 X1600.00 Y1600.00:1600.0 U1600.0 Z6400.00 ; set steps per mm
M566 X400.00 Y400.0:400.0 U400.0 Z12.00 ; set maximum instantaneous speed changes (mm/min)
M203 X6000.00 Y6000.00:6000.00 U6000.0 Z180.00 ; set maximum speeds (mm/min)
M201 X100.00 Y100.00:100.00 U100.0 Z20.00 ; set accelerations (mm/s^2)
M906 X1500 Y750:750 U1500 Z1500 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout
; Axis Limits
M208 X0 Y0:0 U0 Z0 S1 ; set axis minima
M208 X500 Y500:0 U500 Z70 S0 ; set axis maxima
; Endstops
M574 X0 Y0:0 U0 Z0 S0 ; set active low and disabled endstops