; Configuration file for Duet WiFi (firmware version 1.21)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v2 on Thu Mar 07 2019 22:44:24 GMT+0100 (közép-európai téli idő)
; General preferences
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves
; Network
M552 S2
M589 S"DUET3D_2G" P"87654321" I192.168.4.1
;--------------------------
;M552 S1
;M587 S”yyyyyyyyy” P”xxxxxxxxx”
M550 P"DUET3D" ; Set machine name
M551 P"" ; Set password
;M552 S1 ; Enable network
M552 P192.168.1.60
M554 P192.168.1.1
M553 P255.255.255.0
;*** Access point is configured manually via M587
M586 P0 S1 ; Enable HTTP
M586 P1 S1 ; Enable FTP
M586 P2 S1 ; Disable Telnet
;M588 S "*" ;clear wifi setting eeprom!
;-----------------------------
;AP mode config M589
;M552 S2
;M589 S"DUET3D_2" P"12345678" I192.168.4.1
;-----------------------------
; Drives
M569 P0 S1 ; Drive 0 goes forwards
M569 P1 S1 ; Drive 1 goes forwards (Y1)
M569 P2 S1 ; Drive 2 goes forwards
M569 P3 S1 ; Drive 3 goes forwards
M569 P4 S1 ; Drive 4 goes forwards (Y2)
M584 X0 Y1:4 Z2 E3
M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
M92 X80.00 Y80.00 Z800.00 E145.75 ; Set steps per mm
M566 X600.00 Y600.00 Z12.00 E120.00 ; Set maximum instantaneous speed changes (mm/min)
M203 X18000.00 Y18000.00 Z180.00 E300.00 ; Set maximum speeds (mm/min)
M201 X3000.00 Y3000.00 Z20.00 E10000.00 ; Set accelerations (mm/s^2)
M906 X1300.00 Y1300.00 Z800.00 E800.00 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 Z300 S0 ; Set axis maxima
; Endstops
M574 X1 Y1 Z1 S1 ; Set active high endstops
; Z-Probe
M558 P0 H5 F120 T6000 ; Disable Z probe but set dive height, probe speed and travel speed
M557 X15:200 Y15:200 S20 ; Define mesh grid
; Heaters
M305 P0 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 0
M143 H0 S120 ; Set temperature limit for heater 0 to 120C
M307 H0 A90.0 C700.0 D10.0 S1.00 V0.0 B1 ;pid
M305 P1 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 1
M143 H1 S280 ; Set temperature limit for heater 1 to 280C
M307 H1 A650.5 C209.5 D8.4 S1.00 V11.7 B0 ;pid
; Fans
M106 P0 S0 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
M106 P2 S0 I0 F500 H-1
; 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 power saving
M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss
; Custom settings are not configured
;M307 H2 A-1 C-1 D-1 ; Disable Heater E1 for use with the Berd-Air cooling
;M106 P0 A2 S0 F30000 ; Fan 0 (Part Cooler) using Heater E1 Mosfet; Custom settings are not configured
;M307 H2 A-1 C-1 D-1 ; disable heater 2 to make it available as a general purpose output pin
;M452 P2 R255 F200
M307 H2 A-1 C-1 D-1
M42 P2 S70 ;LED LIGHT RIBBON
[c];Emergency Stop
M581 T0 E0 S1 C0[/c] ; E1 input https://forum.duet3d.com/topic/4611/emergency-stop-configuration/2
;M581 T2 E1 S2 C0 ; T1 PAUSE, T0 EM-STOP https://forum.duet3d.com/topic/8793/emergency-stop-external-reset/6
;M574 E0 S0
M582 T2
M581 T2 E0 S1 C0