Best wishes Adrian
; Configuration file for DuetWiFi & RepRap Ormerod 2
; Adrian Bowyer
; RepRap Ltd
M111 S0 ; Debug off
M550 PNewDuet ; Machine name (can be anything you like)
M551 Preprap ; Machine password
M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0x07 ; MAC Address
M552 S1 ; Enable WiFi
M555 P2 ; Set output to look like Marlin
G21 ; Work in millimetres
G90 ; Send absolute corrdinates...
M83 ; ...but relative extruder moves
M906 X900 Y900 Z900 E900 ; Set motor currents (mA)
M305 P0 R4700 T10000 B3988 ; Set bed thermistor params
M305 P0 R4700 ; Set the heated bed thermistor series resistor to 4K7
M305 P1 R4700 ; Set the hot end thermistor series resistor to 4K7
M301 H1 P15 ; Set the PID P term
M301 H2 P15 ; Set the PID P term
M569 P0 S0 ; Reverse the X motor
M569 P4 S0 ; And the second E motor
M92 E420:656:60.752:420:420 ; Set extruder steps per mm
M558 P2 ; Use a modulated Z probe
G31 Z1.1 P300 ; Set the probe height and threshold
M556 S78 X0 Y0 Z0 ; Put your axis compensation here
M201 X500 Y500 Z15 E500 ; Accelerations (mm/s^2)
M203 X15000 Y15000 Z100 E3600 ; Maximum speeds (mm/min)
M566 X300 Y300 Z30 E20 ; Minimum speeds mm/minute
M563 P0 D0 H1 ; Define tool 0
G10 P0 S-273 R-273 ; Set tool 0 operating and standby temperatures
;M563 P1 D1 H2 ; Define tool 1 Uncomment if you have a dual colour upgrade
;G10 P1 X19 S-273 R-273 ; Set tool 1 operating and standby temp
;M563 P1 ; Paste extruder
;G10 P1 X19