top of page

Duet Wifi: Dual X-Axis/Dual Z-Axis

Firmware Setup and Configuration

Duet3D Firmware

The Workhorse Firmware files are unique compared to other printer configurations due to dual x-axis and dual z-axis setups. 

Duet Wifi Firmware Files for the Workhorse Printer

​

Config.g File Download

HomeAll.g File Download

HomeX.g File Download

HomeY.g File Download

​

​

Config.g File Download

HomeAll.g File Download

HomeX.g File Download

HomeY.g File Download

​

ConfigG:

; Configuration file for Duet WiFi (firmware version 1.20 or newer)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool on Thu Nov 16 2017 18:16:14 GMT-0600 (Central Standard Time)

 

M111 S0 ; Debugging off
G21 ; Work in millimetres
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves
M555 P1 ; Set firmware compatibility to look like RepRapFirmare

; Motor remapping for dual X
;M584 X0:3 Y1 Z2 U3 E4 P3 ; Driver X0:3, 1 for Y, Z=2 U=3, Extruder 4; General preferences
;Motor remapping with U axis visible
M584 X0:3 Y1 Z2:9 U3 E4 ; Driver X0:3, 1 for Y, Z2:9 , , U=3, Extruder 4; General preferences

; LEADSCREW POSTIONS
M671 X-115:650 Y150:150 S5.0;

;oldfirmwareM911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000"'
M911 S22 R25.0 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000"
M208 X0 Y0 Z0 U0 V0 S1 ; Set axis minima
M208 X600 Y300 Z235 U600 V210 S0 ; Set axis maxima

; Endstops
M574 X1 Y2 Z2 U1 S1 ; Set active high endstops
M558 P3 I1 H10 F600 T6000 ; Set Z probe type to switch and the dive height + speeds
G31 P500 X15 Y15 Z0.3 ; Set Z probe trigger value, offset and trigger height
M557 X20:480 Y20:300 S40 ; Define mesh grid

 

; Drives
M569 P0 S1 ; Drive 0 goes X1 forwards
M569 P1 S0 ; Drive 1 goes Y forwards
M569 P2 S0 ; Drive 2 goes Z forwards
M569 P3 S1 ; Drive 3 goes X2 forwards
M569 P4 S1 ; Drive 4 goes E fowards 
M569 P5 S1 ; 
M569 P6 S0 ; 
M569 P7 S1 ; 
M569 P8 S1 ;  
M569 P9 S0 ; Drive 9 goes Z2 forward

; Configure Drives
M350 X16 Y16 Z16 U16 V16 E16 I1 ; Configure microstepping with interpolation
M92 X64 Y64 Z1259.843 U64 V1259.843 E418.5 ; Set steps per mm
M566 X1200 Y1200 Z12 U1200 V12 E120 ; Set maximum instantaneous speed changes (mm/min)
M203 X7200 Y7200 Z180 U7200 V180 E1200 ; Set maximum speeds (mm/min)
M201 X500 Y500 Z250 U500 V250 E250 ; Set accelerations (mm/s^2)
M906 X2300 Y2300 Z1400 E1200 U2300 V1400 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout

; Heaters
M140 H-1 ; Disable heated bed
M305 P1 T100000 B4725 C7.060000e-8 R4700 ; Set thermistor + ADC parameters for heater 1
M143 H1 S280 ; Set temperature limit for heater 1 to 280C

; Tools
M563 P0 D0 H1 ; Define tool 0
G10 P0 X0 Y0 U0 V0 Z0 ; Set tool 0 axis offsets
G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C

; Network
M550 PWorkhorse ; Set machine name
M552 S1 ; Enable network S1 router s2 hotspot
; Access point is configured manually via M587 by the user
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet

; SetNetwork macro to set up access to dummy test Wifi network
;M552 S0;
;G4 S5;
;M589 S"PILOTONE" P"PILOTTWO" I192.168.43.181;
;G4 S5;
;M552 S2;


; Fans?
M106 P0 S1 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
M106 P1 S1 I0 F500 H-1 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off
M106 P2 S1 I0 F500 H-1 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off

; Custom settings are not configured

; Miscellaneous
M501 ; Load saved parameters from non-volatile memory
T0 ; Select first tool

 

bottom of page