; CoreXY sample config file for dc42 Duet firmware M111 S0 ; Debug off ; Network M550 PJ.A.R.V.I.S._Powered_by_DUET3D ; Machine name (can be anything you like) M551 PKw6790547 ; Machine password (used for FTP connections) M552 S1 ; Enable network M587 S"FiOS-206L5" P"knot9314yam698tent" ; Configure access point. You can delete this line once connected M586 P0 S1 ; Enable HTTP M586 P1 S0 ; Disable FTP M586 P2 S0 ; Disable Telnet ;M555 P2 ; Set output to look like Marlin ;M575 P1 B57600 S1 ; Comms parameters for PanelDue ; Machine configuration ;M140 S0 ; no heated bed M569 P0 S0 ; X Motor - Drive 0 goes forwards (change to S0 to reverse it) M569 P1 S1 ; Y Motor - Drive 1 goes forwards M569 P2 S1 ; Z Motor - Drive 2 goes forwards M569 P3 S1 ; Ext 1 - Drive 3 goes forwards M569 P4 S1 ; Ext 1 - 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 Y1 Z0 S1 ; set endstop configuration (X and Y and endstops only, at low end, active high) M574 X1 S0 ; Endstop configuration: X is min, NO, active LOW M574 Y1 S0 ; Endstop configuration: Y are min, NO, active LOW M574 Z1 S0 ; Endstop configuration: Y are min, NO, active LOW M667 S1 ; set CoreXY mode M350 X16 Y16 E16 I1 ; Set 16x microstepping with interpolation M92 X80 Y80 Z400.8 ; Set axis steps/mm M92 E102 ; Set extruder steps/mm M906 X1300 Y1300 Z1300 E1000 I60 ; Set motor currents (mA) and increase idle current to 60% M201 X800 Y800 Z100 E1000 ; Accelerations (mm/s^2) M203 X30000 Y30000 Z600 E3600 ; Maximum speeds (mm/min) M566 X600 Y600 Z40 E1200 ; Maximum jerk speeds mm/minute M208 X300 Y300 Z400 ; set axis maxima (adjust to suit your machine) M208 X0 Y0 Z0 S1 ; 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 ; Z probe - http://reprap.org/wiki/G-code#M558:_Set_Z_probe_type ; !! DO M558 P1 I0 R0.4 F1300 X0 Y0 Z0 ; Analog Z probe, also used for homing the Z axis G31 X0 Y0 Z-0.1 P600 ; Set the probe height and threshold (put your own values here) ; 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 X10:290 Y10:290 S50 ; probe from X=10 to 190, Y=10 to 190mm with a mesh spacing of 20mm ; 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 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 M570 S120 ; Increase to allow extra heating time if needed ; Tool definition M563 P0 D0 H1 ; Define tool 1 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 ; FANS M106 P1 F200 ; Set PWM frequency to reduce high pitch whine. M106 P1 F200 H1 T60 ; Enable the auto hotend cooling fan to kick on at 60c. ;*** 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