Hi, I don´t know if it helpfull. But here the interesting config part.
; Mapping of Driver for X,Y, Z1-3, E1-3
M584 X0 Y1 Z5:6:7 E3:4:8 ; three Z motors connected to driver outputs 5, 6 and 7 (U,V,W), driver 8 for E2
M667 S1
; BLTouch - Heater 7
M307 H7 A-1 C-1 D-1 ; Disable heater 7 to free up PWM channel 5 on the Duex board.
; BLTouch - FAN2 Ch 22
;M106 P2 I-1 ; Disable Fan2 Duet to free up PWM channel 22 on the Duet board.
; Define the X and Y coordinates of the leadscrews.
M671 X8:360:162 Y370:370:5 S3
; Drives
M569 P0 S0 ; Drive 0 goes backwards X
M569 P1 S0 ; Drive 1 goes backwards Y
M569 P3 S0 ; Drive 3 goes backwards E0 (E1)
M569 P4 S0 ; Drive 4 goes backwards E1 (E2)
M569 P5 S0 ; Drive 5 goes backwards Z1/U
M569 P6 S0 ; Drive 6 goes backwards Z2 V
M569 P7 S0 ; Drive 7 goes backwards Z3 W
M569 P8 S0 ; Drive 8 goes backwards E2
M350 X16 Y16 Z16:16:16 E16:16:16 I1 ; Configure microstepping with interpolation
M92 X80 Y80 Z800:800:800 E97.24:97.24:97.24 ; Set steps per mm
M566 X900 Y900 Z20:20:20 E990:990:990 ; Set maximum instantaneous speed changes (mm/min)
M203 X12000 Y12000 Z800:800:800 E1600:1600:1600 ; Set maximum speeds (mm/min)
M201 X500 Y500 Z400:400:400 E900:900:900 ; Set accelerations (mm/s^2)
M906 X950 Y950 Z1200:1200:1200 E990:990:990 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30
; Axis Limits
M208 X0 Y0 Z0 S1 ; Set axis minima
M208 X370 Y370 Z430 S0 ; Set axis maxima
; Endstops
M574 X1 Y2 S1 ; Set X=low end Y= high end active high endstops
; Z-Probe
M574 Z1 S2 ; Define Z1 to use Probe at low End. Home to Min. S2 = Z probe
; Depending on wich connection for BL-Touch is used
M558 P9 H7 F500 T9000 X0 Y0 Z1 ; Set Z probe type 5 to bltouch (P5 as Betrue3D) and the heater (7) height + speeds (+ B1)
G31 P25 X+25.7 Y+3 Z 1.471 ; <- <- <- Set Z probe trigger value (1-25, not 500), offset and trigger height (3fach-PH noMixing)
M557 X45:325 Y25:325 S30 ; Define mesh grid