; Configuration file for Duet WiFi ; executed by the firmware on start-up ; ; General preferences G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves ; Network M550 P"test printer1" ; Set machine name M552 S1 ; Enable network ;*** Access point is configured manually via M587 M586 P0 S1 ; Enable HTTP M586 P1 S0 ; Disable FTP M586 P2 S0 ; Disable Telnet ; Type M669 K0 ; Drives M584 X0 Y1 Z2 U5 E3:4 ; create the U axis and assign stepper driver 5 to it (duex E2) M569 P0 S1 ; Physical drive 0 goes forwards X M569 P1 S1 ; Physical drive 1 goes forwards Y M569 P2 S0 ; Physical drive 2 goes backwards Z M569 P5 S0 ; Physical drive 5 goes Backwards U M569 P3 S0 ; Physical drive 3 goes backwards E0 M569 P4 S1 ; Physical drive x goes forwards E1 M350 X16 Y16 Z16 U16 E16:16 I1 ; Configure microstepping with interpolation M92 X100.00 Y96.00 Z1280.00 U100.00 E415.00:415.00 ; Set steps per mm M566 X1000.00 Y1000.00 Z500.00 U1000.00 E36000.00:36000.00 ; Set maximum instantaneous speed changes (mm/min) - the extruder jerk settings are a mistake... but I also haven't seen any downsides to them. M566 P1 M203 X18000.00 Y18000.00 Z1320.00 U18000.00 E3000.00:3000.00 ; Set maximum speeds (mm/min M201 X4000.00 Y4000.00 Z450.00 U4000.00 E3000.00:3000.00 ; Set accelerations (mm/s^2) M906 X1800.00 Y2400.00 Z2400.00 U1800.00 E1960.00:1960.00 I30 ; Set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Axis Limits M208 X-260 Y-237.5 Z-4.65 U-150 S1 ; Set axis minima M208 X156 Y237.5 Z210.35 U267 S0 ; Set axis maxima ; Endstops M574 X1 S1 P"xstop" M574 Y2 S1 P"ystop" M574 U2 S1 P"e0stop" ; Z-Probe M574 Z1 S2 ;probe M558 P9 C"^zprobe.in" H5 F1000:200 A8 R0.75 T6000 S.02 ; set Z probe type to bltouch and the dive height + speeds M950 S0 C"duex.pwm1" G31 P25 X36.5 Y16.26 Z1.70 ; set Z probe trigger value, offset and trigger height M557 X-220:160 Y-200:200 S20:25 ; define mesh grid M376 H1.3 ;taper 1.3mm - selected this as I often use a raft at about this height, but lately I've been running without mesh leveling at all. ; Heaters M140 H0 ;heated bed H0 M308 S0 P"bed_temp" Y"thermistor" T100000 B3950 R4700 ; set thermistor + ADC parameters for heater 0 M950 H0 C"bed_heat" T0 ;heater 0 uses the bed_heat pin, sensor 0 M143 H0 S170 ; set temperature limit for heater 0 to 170C M308 S1 P"e0_temp" Y"thermistor" T500000 B4723 C1.196220e-7 ; Set thermistor + ADC parameters for heater 1 M950 H1 C"e0_heat" T1 M143 H1 S450 ; Set temperature limit for heater 1 to 450C M308 S2 P"e1_temp" Y"thermistor" T500000 B4723 C1.196220e-7 ; Set thermistor + ADC parameters for heater 2 M950 H2 C"e1_heat" T2 M143 H2 S450 ; Set temperature limit for heater 2 to 450C M308 S3 P"e2_temp" Y"thermistor" T100000 B4725 C7.060000e-8 R4700 A"Chamber1" ; Chamber M308 S4 P"e3_temp" Y"thermistor" T100000 B4725 C7.060000e-8 R4700 A"Y-Stepper" ; Y-Stepper ; Fans M950 F3 C"duex.fan3" M950 F4 C"duex.fan4" M950 F5 C"fan0" M950 F6 C"duex.fan5" M106 P3 S255 ;12v E0 fan always on M106 P4 S255 ;12v E1 fan always on M106 P5 S128 H3 T68 ;24v fan thermostat - chamber ; Tools M563 P0 D0 H1 F6 ; Define tool 0, extruder 0, heater 1, fan 6 G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C M563 P1 D1 H2 X3 ; Define tool 1, extruder 1, heater 2, maps X to U ;G10 P1 Y.22 U-.95 Z.3 ; Set tool 1 axis offsets - old offsets G10 P1 X0 Y.0 U0 Z.2 ; Set tool 1 axis offsets G10 P1 R0 S0 ; Set initial tool 1 active and standby temperatures to 0C M563 P2 D0:1 H1:2 X0:3 F6 ; tool 2 uses both extruders and hot end heaters, maps X to both X and U, both fans G10 P2 X0 Y0 U-263.5 S0 R0 ; set tool offsets and temperatures for tool 2 ;;;;G10 P2 X131.75 Y0 U-131.75 S0 R0 ; set tool offsets and temperatures for tool 2 - a different mechanism for IDEX duplication printing. I much prefer how I have it above. M567 P2 E1:1 ; set mix ratio 100% on both extruders ;Other ;M593 F25 ;Dynamic acceleration adjustment ;M572 D0 S0.020 ; set extruder 0 pressure advance to 0.02 seconds ;M572 D1 S0.020 ; set extruder 1 pressure advance to 0.02 seconds M575 P1 S1 B57600 ;paneldue M955 P0 I52 C"spi.cs3+spi.cs4" ; T0 accelerometer ;M955 P0 I65 C"spi.cs3+spi.cs4" ; bed ; Automatic saving after power loss is not enabled ; Custom settings are not configured M501