; CoreXY sample config file for dc42 Duet firmware M111 S0 ; Debug off M550 PMyCoreXY ; Machine name (can be anything you like) M551 Preprap ; Machine password (used for FTP connections) ;*** 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 M555 P2 ; Set output to look like Marlin M575 P1 B57600 S1 ; Comms parameters for PanelDue ; Machine configuration 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 S1 ; Drive 3 goes forwards M569 P4 S1 ; Drive 4 goes forwards ; If you use an endstop switch for Z homing, change Z0 to Z1 in the following line, and see also M558 command later in this file M574 X1 Y2 Z0 S0 ; set endstop configuration M667 S1 ; set CoreXY mode M350 X16 Y16 Z16 E16 I1 ; Set 16x microstepping with interpolation M92 X100 Y100 Z400 ; Set axis steps/mm M92 E837 ; extruder steps/mm E3D Titan with 0.9 degree stepper M906 X1428 Y1428 Z1428 E1000 ; Set motor currents (mA) - X/Y are 1.68A motors at 85% - Z is 1.2A motor at 85% M201 X1200 Y1200 Z8 E1200 ; Accelerations (mm/s^2) (E originally 1000) M203 X26000 Y20000 Z400 E4000 ; Maximum speeds (mm/min) (E sspeed originally 3600) M566 X400 Y400 Z14 E300 ; Maximum jerk speeds mm/minute (E speed originally 10) M208 X0 Y0 Z0 S1 ; Set axis minima M208 X300 Y200 Z310 S0 ; Set axis maxima G21 ; Work in millimetres G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves ; Z probe M558 P1 X0 Y0 Z1 ; Analog Z probe, also used for homing the Z axis G31 Z1.52 P500 ; Set the probe height and threshold (put your own values here) ; Thermistors and heaters ;*** You can use S and B parameters to define the parameters of the thermistors you are using ;M140 H-1 ; Disable heated bed ;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.10 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 M143 S260 ; Set maximum heater temperature to 260C M570 S240 ; Increase to allow extra heating time if needed M307 H1 A534.1 C222.0 D6.1 B0 ;autotune results M307 H1 A490 C222.0 D6.3 B0 ;autotune results ; Tool definition M563 P0 D0 H1 ; Define tool 0 G10 P0 S0 R0 ; Set tool 0 operating and standby temperatures ;*** If you have a dual-nozzle build, un-comment the following 3 lines ;M563 P1 D1 H2 ; Define tool 1 ;G10 P1 S0 R0 ; Set tool 1 operating and standby temperatures ;*** 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