Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; Configuration file for testing Duet Ethernet and Wifi
- ; Communication and general
- M111 S0 ; Debug off
- M550 PCoreXY ; Machine name and Netbios name (can be anything you like)
- M551 Pcleverarchimedes ; 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
- ;*** Networking - Enable for both WiFi and Ethernet boards.
- M552 S1 ; Turn network on
- ;*** Ethernet networking: Adjust the IP address and gateway in the following 2 lines to suit your network
- M552 P0 ; (0 = DHCP)
- ;M554 P192.168.1.255 ; Gateway
- ;M553 P255.255.255.0 ; Netmask
- M555 P2 ; Set output to look like Marlin
- ; Enable Fan 1 thermostatic mode
- M106 P1 H1 T45 ; heater 1, 45c
- ; Axis and motor configuration
- M569 P0 S0 ; Drive 0 goes forwards (change to S0 to reverse it)
- M569 P1 S1 ; Drive 1 goes backwards
- M569 P2 S0 ; Drive 2 goes forwards
- M569 P3 S1 ; Drive 3 goes forwards
- M569 P4 S1 ; Drive 4 goes forwards
- M350 X16 Y16 Z4 E8 I1 ; set 16x microstepping with interpolation
- M574 X1 Y2 Z0 S1 ; set homing switch configuration (Y homing switch only, at low end, active high)
- M906 X1600 Y1600 Z1600 E1000 ; Set motor currents (mA)
- M201 X2000 Y2000 Z250 E700 ; Accelerations (mm/s^2)
- M203 X25000 Y25000 Z2000 E440 ; Maximum speeds (mm/min)
- M566 X600 Y600 Z30 E20 ; Maximum jerk speeds mm/minute
- M208 X300 Y325 Z340 ; set axis maxima and high homing switch positions (adjust to suit your machine)
- 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)
- M92 X100 Y100 Z800 ; set axis steps/mm
- M667 S1 ; corexy mode
- M92 E209 ; set extruder 0 and 1 steps/mm
- G21 ; Work in millimetres
- G90 ; Send absolute coordinates...
- M83 ; ...but relative extruder moves
- ; Thermistors
- M305 P0 T100000 B3950 R4700 H30 L0 ; Put your own H and/or L values here to set the bed thermistor ADC correction
- M305 P1 X200 ;pt100 for extruder 1
- M305 P2 T100000 B3974 R4700 H30 L0 ; Chamber heater
- M141 H2 ; chamber heater.
- M301 H2 P-1 ; bang bang for chamber heater
- M570 S180 ; Hot end may be a little slow to heat up so allow it 180 seconds
- M143 S360 ; set the maximum temperature of the hot-end to 360°C
- M143 H0 S125 ; set the maximum bed temperature to 125C
- ; Tool definitions
- M563 P0 D0 H1 ; Define tool 0
- G10 P0 S0 R0 ; Set tool 0 operating and standby temperatures
- ;*** If you have a single-nozzle build, comment the next 2 lines
- ;M563 P1 D1 H2 ; Define tool 1
- ;G10 P1 S0 R0 ; Set tool 1 operating and standby temperatures
- ; Z probe and compensation definition
- ;*** If you have a switch instead of an IR probe, change P1 to P4 in the following M558 command
- M307 H3 A-1 C-1 D-1 ; disable heater 3 for use in the servo
- M558 P5 X0 Y0 Z1 F500 ; Z probe is an IR probe and is not used for homing Z axis
- G31 X-3 Y-25 Z1.45 P50 ; Set the zprobe height and threshold (put your own values here)
- ;*** If you are using axis compensation, put the figures in the following command
- M556 S78 X0 Y0 Z0 ; Axis compensation here
- M208 S1 Z-1 ; set minimum Z
- T0 ; select first hot end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement