; Configuration file for Duet Wifi V1.03 ; Firmware version 1.21 ; Edited by Guyaros 15.04.2018 ; Communication and general M111 S0 ; Debug off M550 PDuetTest ; Machine name and Netbios name (can be anything you like) M551 Preprap ; Machine password (used for FTP) ; Network configurations M552 S0; M552 S1; M587 S"shafir_guest" P"44100441" M584 X0 Z2 Y1 E3 U4 ; General preferences G21; Work in millimetres G90; Set absolute coordinate M83; Set Relative Extruder moves M555 P2; Set firmware compatibility to look like RepRapFirmare ; Disable Fan 1 thermostatic mode M106 P1 H-1 ; Axis and motor configuration M569 P0 S0 ; Drive 0 goes forwards M569 P1 S1 ; Drive 1 goes forwards M569 P2 S1 ; Drive 2 goes forwards M569 P3 S1 ; Drive 3 goes forwards M569 P4 S1 ; Drive 4 goes forwards M350 X16 Y16 Z16 E16 U16 I1 ; Set 16x microstepping with interpolation M92 X71.11 Y71.11 U71.11 Z640 E1600 ; Set axis steps/mm M92 X71.11 Y71.11 Z640 E1600 M906 X1000 Y1000 U1000 Z1000 E800 I60 ; Set motor currents (mA) and increase idle current to 60% ; Kinematics configurations M201 X2000 Y2000 U2000 Z600 E1600 ; Set accelerations (mm/s^2) M204 P1000 T1000; Set printing and travel accelerations (mm/s^2) M566 X720 Y720 U720 Z240 E1080; Set maximum instantaneous speed changes (mm/min) M203 X9000 Y9000 U7200 Z2400 E1200; Set maximum speeds (mm/min) ; Travel configuration M208 X400 Y300 U400 Z305 S0; Set axis maximal coordinate (S0) M208 X0 Y0 U0 Z-5 S1; Set axis minimal coordinate (S1) ; Endstops configurations ;M574 X2 S1; Set endstop configuration, X endstop at HIGH end (X2), endstop type active HIGH (S1) ;M574 U2 S1; Set endstop configuration, X endstop at HIGH end (X2), endstop type active HIGH (S1) ;M574 Y1 S1; Set endstop configuration, Y endstop at LOW end (Y1), endstop type active HIGH (S1) ;M574 Z1 S1; Set endstop configuration, Z endstop at LOW end (Z1), endstop type active HIGH (S1) M574 X2 S1 P"xstop" ; X min active high endstop switch M574 Y1 S1 P"ystop" ; Y min active high endstop switch M574 Z1 S1 P"zstop" ; Z min active high endstop switch M574 U2 S1 P"e0stop" ; U max active high endstop switch ; Thermistors M308 S0 P"bed_temp" Y"thermistor" T100000 B3950 ; define bed temperature sensor M308 S1 P"e0temp" Y"thermistor" T100000 B4725 C7.06e-8 ; define E0 temperature sensor M950 H0 C"bed_heat" T0 ; heater 0 uses the bed_heat pin, sensor 0 M950 H1 C"e0heat" T1 ; heater 1 uses the e0heat pin and sensor 1 ; Fans M106 P1 S-1 ; disable thermostatic mode for fan 1 ; Tool definitions M563 P0 D0 H1 ; Define tool 0 G10 P0 S0 R0 ; Set tool 0 operating and standby temperatures M208 S1 Z-0.2 ; set minimum Z T0 ; select first hot end M302 P"e0temp"; Allow cold extrusion M143 H0 S250 ; SET MAXIMUM TEMP M143 H1 S250 ; SET MAXIMUM TEMP T1 ; select first hot end M302 P"e0temp"; Allow cold extrusion M143 H0 S250 ; SET MAXIMUM TEMP M143 H1 S250 ; SET MAXIMUM TEMP M307 H0 A97.00 C277.1 D27.8 V12.3 B0