r; Ormerod 2 config file for dc42 Duet firmware M111 S0 ; Debug off M550 PMy Ormerod ; Machine name (can be anything you like) M551 Preprap ; Machine password (currently not used) M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED ; MAC Address ;*** Adjust the IP address and gateway in the following 2 lines to suit your network M552 P192.168.178.240 ; IP address M554 P192.168.178.1 ; Gateway M553 P255.255.255.0 ; Netmask M555 P2 ; Set output to look like Marlin G21 ; Work in millimetres G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves M574 X0 Y1 Z0 S1 ; set endstop configuration (Y endstop only, at low end, active high) M906 X1100 Y1100 Z800 E1100 ; Set motor currents (mA) M563 P0 D0 H1 ; Define tool 0 G10 P0 S0 R0 ; Set tool 0 operating and standby temperatures M92 E420 ; Set extruder steps per mm (single nozzle) ;*** If you have a dual-nozzle build, remove or comment out the previous line, and un-comment the following 3 lines ;M563 P1 D1 H2 ; Define tool 1 ;G10 P1 S0 R0 ; Set tool 1 operating and standby temperatures ;M92 E420:420 ; Set extruder steps/mm (dual nozzle) ;*** If you have a modulated IR probe with on-board microcontroller, change P2 to P1 in the following M558 P1 H2 ; Use a simple modulated Z probe (change to P1 for an intelligent Z probe) G31 Z2 P500 ; Set the probe height and threshold (put your own values here) ;*** If you have a Duet board with 4.7K thermistor series resistors, change R1000 to R4700 to the following M305 commands M305 P0 R4700 H0 L0 ; Put your own H and/or L values here to set the bed thermistor ADC correction M305 P1 R4700 H0 L0 ; Put your own H and/or L values here to set the first nozzle thermistor ADC correction M305 P2 R4700 H0 L0 ; Put your own H and/or L values here to set the second nozzle thermistor ADC correction ;*** Adjust the XY coordinates in the following M557 commands to suit your build and the position of the IR sensor M557 P0 X50 Y25 ; Four... M557 P1 X50 Y195 ; ...probe points... M557 P2 X200 Y195 ; ...for bed... M557 P3 X200 Y25 ; ...levelling M557 P4 X120 Y104 ; 5th probe point for levelling (un-comment this if you are using a dc42 differential IR probe) ;*** if you are using axis compensation, put the figures in the following command M556 S74 X0.0 Y0.3 Z0.5 ; Axis compensation here M201 X800 Y800 Z15 E1000 ; Accelerations (mm/s^2) M203 X15000 Y15000 Z100 E3600 ; Maximum speeds (mm/min) M566 X600 Y600 Z30 E20 ; Minimum speeds mm/minute M208 X200 Y209 Z180 ; set axis maxima (adjust to suit your machine) M208 X0 Y0 S1 ; set axis minimum (adjust to make X=0 the edge of the bed) ;M92 X87.49 Y87.49 M572 D0 S0.2