; Configuration file for Duet WiFi (firmware version 1.20 or newer) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool on Sun Apr 15 2018 00:19:01 GMT+0100 (GMT Daylight Time) ; General preferences G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves M555 P1 ; Set firmware compatibility to look like RepRapFirmare ; Network M550 PCR10S ; Set machine name M551 Preijartepp ; Set password M552 S1 ; Enable network M587 S"CableBox-89DE" P"dtgjzwgtyj" ; Configure access point. You can delete this line once connected M586 P0 S1 ; Enable HTTP M586 P1 S0 ; Disable FTP M586 P2 S0 ; Disable Telnet ;Map Extruder E1 to 2nd Z Stepper motor M584 X0 Y1 Z2:4 E3 M671 X-35:335 Y120:120 ; Drives M569 P0 S0 ; Drive 0 (x) goes backwards M569 P1 S1 ; Drive 1 (y) goes forwards M569 P2 S1 ; Drive 2 (z) goes forwards M569 P3 S0 ; Drive 3 (e) goes backwards M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation M92 X80 Y80 Z400 E87 ; Set steps per mm M566 X900 Y900 Z12 E120 ; Set maximum instantaneous speed changes (mm/min) M203 X150000 Y150000 Z5000 E1500 ; Set maximum speeds (mm/min) M201 X3000 Y3000 Z90 E10000 ; Set accelerations (mm/s^2) M906 X525 Y600 Z700 E600 I30 ; Set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Axis Limits M208 X0 Y0 Z0 S1 ; Set axis minima M208 X300 Y300 Z400 S0 ; Set axis maxima ; Endstops M574 X1 Y1 Z0 S1 ; Set active high endstops M574 Z1 S2 ; Set z probe endstop ; Z-Probe M307 H3 A-1 C-1 D-1 ; Disable heater on PWN Pin 3 so it can be used for BL Touch M558 P9 H10 F500 T4000 ; Set Z probe type/mode. H=Dive Height. F=Speed the bed moves ;G31 X-40 Y-10 Z0 P25 I1 ; Set Probe Offset and Z height to 0 ready for calibration ;G31 X-40 Y-10 Z1.458 P25 I1 ; 0mm (1.458) G31 X-40 Y-10 Z1.278 P25 I1 ; Set Probe Offset and height for z = nozzle gap (0.18mm) for a layer height of 0.2mm ;G31 X-40 Y-10 Z1.338 P25 I1 ; Set Probe Offset and height for z = nozzle gap (0.12mm) for a layer height of 0.15mm ;G31 X-40 Y-10 Z1.378 P25 I1 ; Set Probe Offset and height for z = nozzle gap (0.08mm) for a layer height of 0.1mm M557 X10:270 Y30:290 S40 ; Define mesh grid ; Heaters ; H=0 Bed ;M301 H0 S1.00 P10 I0.1 D200 T0.4 W180 B30 ; Use PID on bed heater (may require further tuning) M301 H0 S1.00 B1 ; Use Big Bang bed heater M143 H0 S150 ; Set temperature limit for heater 0 to 150C M305 P0 T100000 B3950 C0 R4700 ; Set thermistor + ADC parameters for heater 0 ; H=1 Hot End 1 M143 H1 S300 ; Set temperature limit for heater 1 to 300C M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1 ; H=2 Hot End 2 / Chamber Heater M141 H2 ; Assign chamber heater to heater 2 M305 P2 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 2 M301 H2 B1 ; Set heater 2 to bang-bang mode M143 H2 S100 ; Set temperature limit for heater 2 to 50C ; Fans M106 P0 S1 I0 F500 H-1 T45 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned on M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on M106 P2 S1 I0 F500 H1:2 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on ; Tools M563 P0 D0 H1 ; Define tool 0 G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C ; Automatic saving after power loss is not enabled ; Custom settings are not configured ; Miscellaneous M501 ; Load saved parameters from non-volatile memory T0 ; Select first tool