Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; Communication and general
- M111 S0 ; Debug off
- M550 PDelta ; Machine name and Netbios name (can be anything you like)
- M551 Preprap ; Machine password (used for FTP)
- ;*** 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
- ; Axis and motor configuration
- G21 ; Work in millimetres
- G90 ; Send absolute coordinates...
- M83 ; ...but relative extruder moves
- M665 L288.110:288.110:288.120 R139.716 H232.014 B105.0 X-0.354 Y-0.132 Z0.000
- M666 X-0.807 Y0.119 Z0.688 A0.00 B0.00
- M586 P0 S1 ; Enable HTTP
- ; Drives
- M569 P0 S0 ; Drive 0 goes forwards X
- M569 P1 S0 ; Drive 1 goes forwards Y
- M569 P2 S0 ; Drive 2 goes forwards Z
- M569 P3 S1 ; Drive 3 goes backwards E
- M350 X16 Y16 Z16 I1 ; Configure microstepping with interpolation
- M350 E8 I0 ; Configure microstepping without interpolation
- M92 X160 Y160 Z160 E2230 ; Set steps per mm
- M566 X2000 Y2000 Z2000 E6 ; Set maximum instantaneous speed changes (mm/min)
- M203 X18000 Y18000 Z18000 E1800 ; Set maximum speeds (mm/min)
- M201 X2500 Y2500 Z2500 E120 ; Set accelerations (mm/s^2)
- M906 X1500 Y1500 Z1500 E400 I60 ; Set motor currents (mA) and motor idle factor in per cent
- M84 S30 ; Set idle timeout
- ; Axis Limits
- M208 Z0 S1 ; Set minimum Z
- ; Endstops
- M574 X2 Y2 Z2 S1 ; Set active high endstops
- ; Z-Probe
- M558 P8 R0.4 F1200 H10 ; Set Z probe type to switch and the dive height + speeds
- G31 P100 X0 Y0 Z-0.17 ; Set Z probe trigger value, offset and trigger height (increase value to lower printhead. Lower value to rise printhead)
- M557 R105 S20 ; Define mesh grid
- ; Heaters
- M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
- M143 H0 S120 ; Set temperature limit for heater 0 to 120C
- M305 P1 X501 R4700 ; heater 1 uses a PT1000 connected to thermistor channel 1 which has a 4.7K series resistor
- M143 H1 S280 ; Set temperature limit for heater 1 to 280C
- ; Fans
- M106 P0 S0 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
- M106 P1 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
- M106 P2 T35:40 F250 H100:101:102
- ; Tools
- M563 P0 D0 H1 ; Define tool 0
- G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
- G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C
- ; Automatic power saving
- M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss
- ; Custom settings are not configured
- ; Miscellaneous
- M501 ; Load saved parameters from non-volatile memory
- T0 ; Select first tool
- M572 D0 S0.02 ;pressure advance off
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement