; Prusa i3 config file for dc42 Duet firmware ; Prologue and comms section M111 S0 ; Debug off M550 PLink_Printr ; Machine name (can be anything you like) M551 root ; Machine password ;*** If you have more than one Duet on your network, they must all have different MAC addresses, so change the last digits M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED ; MAC Address ;*** ;*** Wifi Networking M552 S1 ; Enable WiFi ;*** Adjust the IP address and gateway in the following 2 lines to suit your network M552 P0 ; IP address (0 = use DHCP) M555 P2 ; Set output to look like Marlin M575 P1 B57600 S1 ; Comms parameters for PanelDue M106 P1 T55 H1 M915 X Y S-4 ; ; Movement section M569 P0 S1 ; Drive 0 goes forwards (change to S0 to reverse it) M569 P1 S1 ; Drive 1 goes forwards M569 P2 S1 ; Drive 2 goes forwards M569 P3 S0 ; Drive 3 goes forwards M569 P4 S0 ; Drive 4 goes forwards M569 P5 S0 M574 X1 Y1 S3 ; Define active low and unused microswitches M574 Z1 S1; M591 D0 P1 C3 M906 X1000 Y1000 Z1000 E1000:1000:1000 ; Set motor currents (mA) M201 X600 Y600 Z15 E1000:1000:1000 ; Accelerations (mm/s^2) M203 X6000 Y6000 Z100 E3600:3600:3600 ; Maximum speeds (mm/min) M566 X600 Y600 Z120 E100:100:100 ; Minimum speeds mm/minute M208 X209 Y210 Z200 ; set axis maxima (adjust to suit your machine) M208 X0 Y0 Z-0.2 S1 ; set axis minimum (adjust to make X=0 and Y=0 the edge of the bed) M350 X16 Y16 Z16 E16:16:16 I1 ; Set 256x microstepping with interpolation M92 X80 Y80 Z4000 ; Set axis steps/mm M92 E140:140:140 ; Set extruder steps per mm G21 ; Work in millimetres G90 ; Send absolute coordinates... M83 ; Z probe section M558 P1 X0 Y0 Z1 H3 F200 T5000 ; Smart IR Z probe, used for homing Z axis, dive height 3mm, probe speed 200mm/min, travel speed 5000mm/min G31 X-20 Y5 Z1.5 P500 ; Set the probe height and threshold (put your own values here) ; Heater and thermistor section ;*** If you have a Duet board with 1K thermistor series resistors, change R4700 to R1000 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 M301 H1 P10 I0.59 D100 T0.50 S1.0 ; PID settings for extruder 0 M301 H2 P10 I0.10 D100 T0.50 S1.0 ; PID settings for extruder 1 M570 S120 ; Increase to allow extra heating time if needed ; Tool definition section M563 P0 D0 H1 ; Define tool 0 to use extruder drive 0 and heater 1 G10 P0 S0 R0 ; Set tool 0 operating and standby temperatures M563 P1 D1 H1 ; Define tool 0 to use extruder drive 0 and heater 1 G10 P1 S0 R0 ; Set tool 0 operating and standby temperatures M563 P2 D2 H1 ; Define tool 0 to use extruder drive 0 and heater 1 G10 P2 S0 R0 ; Set tool 0 operating and standby temperatures ; Bed probe section (not needed if you use a bed.g file) ;*** Adjust the XY coordinates in the following M557 commands to suit your build and the position of your Z probe M557 X20:180 Y15:185 S80 ; probe from X=30 to 210, Y=10 to 190mm with a mesh spacing of 50mm ; Epilogue ;*** If you are using axis compensation, put the figures in the following command M556 S78 X0 Y0 Z0 ; Axis compensation here T0 ; select first hot end