Advertisement
Guest User

Config

a guest
Dec 13th, 2019
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.43 KB | None | 0 0
  1. ; Configuration file for My Printer
  2. ; Communication and general
  3. M111 S0 ; Debug off
  4. M550 PRailCore ; Machine name and Netbios name (can be anything you like)
  5. ;M551 ; Machine password (used for FTP)
  6. ;*** If you have more than one Duet on your network, they must all have different MAC addresses, so change the last digits
  7. M540 ; MAC Address
  8. ;*** Wifi Networking
  9. M552 S1 ; Enable WiFi
  10. M555 P2 ; Set output to look like Marlin
  11. M575 P1 B57600 S1 ; Comms parameters for PanelDue
  12.  
  13. G21 ; Work in millimetres
  14. G90 ; Send absolute coordinates...
  15. M83 ; ...but relative extruder moves
  16.  
  17. ; Axis and motor configuration
  18. M667 S1 ; CoreXY mode
  19.  
  20. M584 X0 Y1 Z5:6:7 E3:4:8:9 ; Map Z to drivers 5, 6, 7. Define unused drivers 3,4,8 and 9 as extruders
  21. M569 P0 S1 ; Drive 0 goes forwards (change to S0 to reverse it) X stepper (Rear)
  22. M569 P1 S0 ; Drive 1 goes backwards Y Stepper (Front)
  23. M569 P2 S1 ; Drive 2 goes forwards Unused
  24. M569 P3 S0 ; Drive 3 goes forwards Extruder
  25. M569 P4 S1 ; Drive 4 goes forwards Extruder (unused)
  26. M569 P5 S1 ; Drive 5 goes backwards Front Left Z
  27. M569 P6 S1 ; Drive 6 goes backwards Rear Left Z
  28. M569 P7 S1 ; Drive 7 goes backwards Right Z
  29.  
  30. ;Leadscrew locations
  31. M671 X-10:-10:333 Y22.5:277.5:150 S7.5 ;Front left, Rear Left, Right S7.5 is the max correction - measure your own offsets, to the bolt for the yoke of each leadscrew
  32.  
  33. M350 X16 Y16 Z16 E16 I1 ; set 16x microstepping for axes& extruder, with interpolation
  34. M574 X1 Y1 Z0 S1 ; set homing switch configuration (x,y at min, z at max) IF YOU NEED TO REVERSE YOUR HOMING SWITCHES CHANGE S1 to S0
  35. M906 X1400 Y1400 Z1000 E800 I60 ; Set motor currents (mA)
  36. M201 X3000 Y3000 Z100 E1500 ; Accelerations (mm/s^2)
  37. M203 X24000 Y24000 Z900 E3600 ; Maximum speeds (mm/min)
  38. M566 X1000 Y1000 Z100 E1500 ; Maximum jerk speeds mm/minute
  39. M208 X290 Y290 Z280 ; set axis maxima and high homing switch positions (adjust to suit your machine)
  40. M208 X0 Y0 Z-0.5 S1 ; set axis minima and low homing switch positions (adjust to make X=0 and Y=0 the edges of the bed)
  41. M92 X200 Y200 Z1600 E837 ; steps/mm
  42.  
  43. ; Thermistors
  44. M305 P0 T100000 B3950 R4700 H0 L0 ; Put your own H and/or L values here to set the bed thermistor ADC correction
  45. ;If you have a Slice Engineering thermistor, comment out the next line
  46. M305 P1 T100000 B4725 R4700 H0 L0 C7.06e-8 ; Put your own H and/or L values here to set the first nozzle thermistor ADC correction
  47. ;If you have a Slice Engineering thermistor, uncomment the next lines
  48. ;M305 P1 T500000 B4723 C1.196220e-7 ; Set thermistor + ADC parameters for slice thermistor
  49.  
  50. M307 H0 A456.4 C1019.7 D8.5 S1.00 V24.2 B0 ; Bed Heaters
  51. M307 H1 A1189.8 C406.0 D4.8 S1.00 V24.2 B0 ;Heater 1 model
  52. M570 S360 ; Hot end may be a little slow to heat up so allow it 180 seconds
  53. M143 S285
  54.  
  55. ; Fans
  56. M106 P0 H-1 ; disable thermostatic mode for fan 0
  57. M106 P1 H-1 ; disable thermostatic mode for fan 1
  58. M106 P2 H-1
  59. M106 P0 S0 ; turn off fans
  60. M106 P1 S0
  61. M106 P2 S0
  62.  
  63. ; Tool definitions
  64. M563 P0 D0 H1 ; Define tool 0
  65. G10 P0 S0 R0 ; Set tool 0 operating and standby temperatures
  66. ;*** If you have a single-nozzle build, comment the next 2 lines
  67. ;M563 P1 D1 H2 ; Define tool 1
  68. ;G10 P1 S0 R0 X0 Y17 ; Set tool 1 operating and standby temperatures
  69.  
  70. ; Z probe and compensation definition
  71. ;*** If you have a switch instead of an IR probe, change P1 to P4 in the following M558 command
  72. ; IR PRobe - uncomment the following 2 lines if you have a and IR Probe, and comment out the BLTouch section below
  73. ;M558 P1 X0 Y0 Z1 ; Z probe is an IR probe and is not used for homing any axes
  74. ;G31 X0 Y30 Z2.00 P500 ; Set the zprobe height and threshold (put your own values here)
  75.  
  76. ;BLTouch - comment out the following 3 lines if using a IR Probe
  77. M307 H3 A-1 C-1 D-1
  78. M558 P9 X0 Y0 Z1 H5 F50 T6000 A5 S0.02
  79. G31 X2 Y42 Z2.65 P25 ; Customize your offsets appropriately - do a paper test, and put the probed value in the Z value here
  80.  
  81. M208 S1 Z-0.2 ; set minimum Z
  82. ;
  83. T0 ; select first hot end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement