Firmware Configuration - Duet

b3tuning
What is a BOM?
Posts: 2
Joined: Wed Jan 27, 2021 1:44 am
Has thanked: 1 time

Re: Firmware Configuration - Duet

Post by b3tuning »

In case anybody else doesn't read the GCode dictionary...

Motor configuration takes one parameter PER AXIS... (Each extruder can be considered it's own axis)
So for the Z configuration, M584 is the only line that should have a colon (:) seperated parameter for Z.

So for example, this fixed my issues

Code: Select all

; 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
M569 P0.4 S1                                       ; physical drive 0.4 goes forwards
M569 P0.5 S1                                       ; physical drive 0.5 goes forwards

M584 X0.0 Y0.1 Z0.3:0.4:0.5 E0.2                   ; set drive mapping
M350 X16 Y16 Z16 E16 I1                            ; configure microstepping with interpolation
M92 X160.00 Y160.00 Z1600.00 E400.00               ; set steps per mm
M566 X900.00 Y900.00 Z30.00 E120.00                ; set maximum instantaneous speed changes (mm/min)
M203 X18000.00 Y18000.00 Z1200.00 E1200.00         ; set maximum speeds (mm/min)
M201 X1600.00 Y1600.00 Z800.00 E250.00            ; set accelerations (mm/s^2)
M906 X1400 Y1400 Z1400 E800 I30                    ; set motor currents (mA) and motor idle factor in per cent
M84 S30                                            ; Set idle timeout

Beano
HevORT Builder&Operator
Posts: 182
Joined: Mon Apr 05, 2021 6:51 am
Been thanked: 10 times

Re: Firmware Configuration - Duet

Post by Beano »

Hi,
Mmm...I replied before I saw you had this fixed, anyway, below methodology works well:

M669 K1 ; select CoreXY mode

; Drives
M569 P0.0 S1 ; physical drive 0.0 goes forwards - X-Axis
M569 P0.1 S1 ; physical drive 0.1 goes forwards - Y-Axis
M569 P0.2 S1 ; physical drive 0.2 goes forwards - Extruder
M569 P0.3 S1 ; physical drive 0.3 goes forwards - Z

M584 X0.0 Y0.1 Z0.3:4:5 E0.2 ; set drive mapping
M350 X16 Y16 Z16:16:16 E16 I1 ; configure microstepping with interpolation

M92 X160.00 Y160.00 Z1600.00:1600.00:1600.00 E400.0 ; set E-Steps
M566 X1200.00 Y1200.00 Z105.00:105.00:105.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
M203 X25000.00 Y25000.00 Z1500.00:1500.00:1500.00 E7500.00 ; set maximum speeds (mm/min)
M201 X2000.00 Y2000.00 Z120.00:120.00:120.00 E2500.00 ; set accelerations (mm/s^2)
M906 X1400 Y1400 Z1400:1400:1400 E800 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout

M671 X-38.188:250.521:539.23 Y-20.717:532.493:-20.717 S50 ; HevORT spreadsheet (540x540 build plate)

; Axis Limits
M208 X0 Y0 Z0 S1 ; set axis minima
M208 X500 Y500 Z350 S0 ; set axis maxima
HevORT Buildlog - Project Nemesis -> viewtopic.php?f=17&t=585

martin
What is a BOM?
Posts: 3
Joined: Sat Jul 25, 2020 3:08 pm

Re: Firmware Configuration - Duet

Post by martin »

Can someone please attach me his whole duet2 Config.g as an example? Thanks, Martin (back on building Hercules)

Post Reply