; 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) 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.0.200 S1 ; IP address (0 = use DHCP) M554 P192.168.0.1 ; Gateway M553 P255.255.255.0 ; Netmask M555 P2 ; Set output to look like Marlin M575 P1 B57600 S1 ; Comms parameters for PanelDue ; Tres Z-Axis Motors en DUex5, Z1-Motor = Drive 5, Z2-Motor = Drive 6, Z3-Motor = Drive 7 ; Tres Z-Axis finales de carrera en Duex5. Z1-tope final = E2-Stop, Z2-tope final = E3-Stop, Z3-tope final = E4-Stop M400; esperar a que el movimiento para detener ; Machine configuration M569 P0 S0 ; X Drive 0 goes forwards (change to S0 to reverse it) M569 P1 S0 ; Y Drive 1 goes forwards ;M569 P2 S1 ; Z Drive 2 goes forwards M569 P3 S1 ; E0 Drive 3 goes forwards ;M569 P4 S1 ; E1 Drive 4 goes forwards M569 P5 S0 ; Z1 Drive 4 goes forwards M569 P6 S0 ; Z2 Drive 4 goes forwards M569 P7 S0 ; Z3 Drive 4 goes forwards M350 X16 Y16 U16 Z16 W16 A16 I1 ; Steps config M584 X0 Y1 U3 V4 Z5 W6 A7 P3 ; Axis definition ; 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 Y1 Z2 W2 A2 S0 ; set endstop configuration (X and Y and endstops only, at low end, active high) ;M667 S1 ; set CoreXY mode M669 K1 ; set CoreXY mode M92 X80 Y80 Z3315.2 W3315.2 A3315.2 ; Set axis steps/mm M92 U420 ; Set extruder steps/mm ;M906 X1470 Y1470 U240 Z1470 W1470 A1470 I60 ; Set motor currents (mA) M906 X1265 Y1265 U240 Z1265 W1265 A1265 I60 ; Set motor currents (mA) M201 X3000 Y3000 U1000 Z500 W500 A500 ; Accelerations (mm/s^2) M203 X15000 Y15000 U15000 Z350 W350 A350 ; Maximum speeds (mm/min) M566 X600 Y600 U30 V30 Z30 W30 A30 ; Maximum jerk speeds mm/minute M208 X619 Y498 Z430 W430 A430 ; set axis maxima (adjust to suit your machine) M208 X0 Y0 Z0 W0 A0 S0.5 ; set axis minima (adjust to make X=0 and Y=0 the edges of the bed) G21 ; Work in millimetres G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves ; Specify z axis location M671 X0:619:619 Y282:73:485 S2 ; leadscrews at rear left, front middle and rear right ; Z probe BLtouch M307 H7 A-1 C-1 D-1 ; M558 P9 H5 F500 T4000 A20 R0.50 S0.004 ; P9 for BLTouch, dive height 5mm, probe at 100mm/s, travel 4000mm/s, probe until 2 consecutive probe results are to within S up to 10 probes, pause 0.25s, Reprobe until 0.008 repeatability G31 X0 Y0 Z3.4 P25 ; The following M557 commands are not needed if you are using a bed.g file to perform bed compensation ;*** Adjust the XY coordinates in the following M557 commands to suit your build and the position of the Z probe ;M557 P0 X60 Y0 ; Four... ;M557 P1 X60 Y165 ; ...probe points... ;M557 P2 X222 Y165 ; ...for bed... ;M557 P3 X222 Y0 ; ...levelling ;M557 P4 X141 Y82.5 ; 5th probe point for levelling ; Thermistors and heaters ;*** If you have a Duet board with 1K thermistor series resistors, change R4700 to R1000 to the following M305 commands ; You can also use S and B parameters to define the parameters of the thermistors you are using M305 P0 T100000 B3950 C7.06e-8 R4700 H0 L0 ; Put your own H and/or L values here to set the bed thermistor ADC correction M305 P1 T100000 B4725 C7.06e-8 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 M570 S180 ; Increase to allow extra heating time if needed ; HotBed bang-bang ;M307 H0 A121.2 C861.6 D0.5 S1.00 V12.0 B1 M307 H0 A43.6 C86.1 D1.8 S1.00 V24.3 B0 ; HotEnd PID ;M307 H1 A446.4 C258.3 D5.5 S1.00 V12.1 B0 ; 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 ; CPU Temperature Compensation ;M912 P0 S-0 ; Associate Fan0 and Fan1 to an output ;M106 P0 H-1 ;M563 P0 D0 H1 F0:1 M501 ; Read parameters from EEPROM