SHARE
TWEET

Corexy config

digiex_chris May 14th, 2017 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; Configuration file for testing Duet Ethernet and Wifi
  2.  
  3. ; Communication and general
  4. M111 S0                                 ; Debug off
  5. M550 PCoreXY                    ; Machine name and Netbios name (can be anything you like)
  6. M551 Pcleverarchimedes                              ; Machine password (used for FTP)
  7. ;*** If you have more than one Duet on your network, they must all have different MAC addresses, so change the last digits
  8. M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED     ; MAC Address
  9.  
  10. ;*** Networking - Enable for both WiFi and Ethernet boards.
  11. M552 S1                     ; Turn network on
  12.  
  13. ;*** Ethernet networking: Adjust the IP address and gateway in the following 2 lines to suit your network
  14. M552 P0             ; (0 = DHCP)
  15. ;M554 P192.168.1.255                ; Gateway
  16. ;M553 P255.255.255.0                ; Netmask
  17.  
  18. M555 P2                     ; Set output to look like Marlin
  19.  
  20. ; Enable Fan 1 thermostatic mode
  21. M106 P1 H1 T45 ; heater 1, 45c
  22.  
  23. ; Axis and motor configuration
  24. M569 P0 S0                          ; Drive 0 goes forwards (change to S0 to reverse it)
  25. M569 P1 S1                          ; Drive 1 goes backwards
  26. M569 P2 S0                            ; Drive 2 goes forwards
  27. M569 P3 S1                        ; Drive 3 goes forwards
  28. M569 P4 S1                          ; Drive 4 goes forwards
  29. M350 X16 Y16 Z4 E8 I1             ; set 16x microstepping with interpolation
  30. M574 X1 Y2 Z0 S1            ; set homing switch configuration (Y homing switch only, at low end, active high)
  31. M906 X1600 Y1600 Z1600 E1000           ; Set motor currents (mA)
  32. M201 X2000 Y2000 Z250 E700            ; Accelerations (mm/s^2)
  33. M203 X25000 Y25000 Z2000 E440       ; Maximum speeds (mm/min)
  34. M566 X600 Y600 Z30 E20              ; Maximum jerk speeds mm/minute
  35. M208 X300 Y325 Z340                 ; set axis maxima and high homing switch positions (adjust to suit your machine)
  36. M208 X0 Y0 Z0 S1                ; set axis minima and low homing switch positions (adjust to make X=0 and Y=0 the edges of the bed)
  37. M92 X100 Y100 Z800                   ; set axis steps/mm
  38. M667 S1 ; corexy mode
  39. M92 E209                        ; set extruder 0 and 1 steps/mm
  40. G21                                 ; Work in millimetres
  41. G90                                 ; Send absolute coordinates...
  42. M83                                 ; ...but relative extruder moves
  43.  
  44. ; Thermistors
  45. M305 P0 T100000 B3950 R4700 H30 L0      ; Put your own H and/or L values here to set the bed thermistor ADC correction
  46. M305 P1 X200                    ;pt100 for extruder 1
  47. M305 P2 T100000 B3974 R4700 H30 L0      ; Chamber heater
  48.  
  49. M141 H2  ; chamber heater.
  50. M301 H2 P-1 ; bang bang for chamber heater
  51.  
  52.  
  53. M570 S180                   ; Hot end may be a little slow to heat up so allow it 180 seconds
  54. M143 S360 ; set the maximum temperature of the hot-end to 360°C
  55. M143 H0 S125 ; set the maximum bed temperature to 125C
  56.  
  57. ; Tool definitions
  58. M563 P0 D0 H1                   ; Define tool 0
  59. G10 P0 S0 R0                    ; Set tool 0 operating and standby temperatures
  60. ;*** If you have a single-nozzle build, comment the next 2 lines
  61. ;M563 P1 D1 H2                  ; Define tool 1
  62. ;G10 P1 S0 R0                   ; Set tool 1 operating and standby temperatures
  63.  
  64. ; Z probe and compensation definition
  65. ;*** If you have a switch instead of an IR probe, change P1 to P4 in the following M558 command
  66. M307 H3 A-1 C-1 D-1 ; disable heater 3 for use in the servo
  67. M558 P5 X0 Y0 Z1 F500               ; Z probe is an IR probe and is not used for homing Z axis
  68. G31 X-3 Y-25 Z1.45 P50              ; Set the zprobe height and threshold (put your own values here)
  69. ;*** If you are using axis compensation, put the figures in the following command
  70. M556 S78 X0 Y0 Z0               ; Axis compensation here
  71.  
  72. M208 S1 Z-1                 ; set minimum Z
  73.  
  74. T0                      ; select first hot end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top