95 lines
5.1 KiB
Text
95 lines
5.1 KiB
Text
; Configuration file for Duet WiFi (firmware version 3)
|
|
; executed by the firmware on start-up
|
|
;
|
|
; generated by RepRapFirmware Configuration Tool v3.1.4 on Thu Oct 01 2020 17:57:58 GMT+0400 (+04)
|
|
|
|
; General preferences
|
|
G90 ; send absolute coordinates...
|
|
M83 ; ...but relative extruder moves
|
|
M550 P"Climber7" ; set printer name
|
|
M669 K0 ; select cartesian! mode
|
|
|
|
; Network
|
|
M552 S1 ; enable network
|
|
M586 P0 S1 ; enable HTTP
|
|
M586 P1 S1 ; disable FTP
|
|
M586 P2 S0 ; disable Telnet
|
|
|
|
; Drives
|
|
M569 P0 S0 ; physical drive 0 (X1)
|
|
M569 P1 S1 ; physical drive 1 (Y)
|
|
M569 P2 S0 ; physical drive 2 (Z)
|
|
M569 P3 S0 ; physical drive 3 (E0)
|
|
M569 P4 S0 ; physical drive 4 (E1)
|
|
M569 P5 S1 ; physical drive 5 (X2)
|
|
M584 X0 Y1 Z2 U5 E3:4 ; set drive mapping
|
|
M350 X16 Y16 Z16 U16 E16:16 I1 ; configure microstepping with interpolation
|
|
M92 X80.00 Y80.00 U80.00 Z400.00 E95.00:95.00 ; set steps per mm
|
|
M566 X900.00 Y900.00 U900.00 Z24.00 E120.00:120.00 ; set maximum instantaneous speed changes (mm/min)
|
|
M203 X6000.00 Y6000.00 U6000.00 Z320.00 E1200.00:1200.00 ; set maximum speeds (mm/min)
|
|
M201 X500.00 Y500.00 U500.00 Z20.00 E250.00:250.00 ; set accelerations (mm/s^2)
|
|
M906 X800 Y800 U800 Z800 E800:800 I30 ; set motor currents (mA) and motor idle factor in per cent
|
|
M84 S30 ; Set idle timeout
|
|
|
|
; Axis Limits
|
|
M208 X-50 Y0 Z0 U0 S1 ; set axis minima
|
|
M208 X215 Y212 U261.8 Z235 S0 ; set axis maxima
|
|
|
|
; Endstops
|
|
M574 X1 S1 P"!xstop" ; configure active-high endstop for low end on X via pin xstop
|
|
M574 Y2 S1 P"!ystop" ; Y invert and high top
|
|
M574 Z1 S1 P"!zstop" ; z invert and at top
|
|
M574 U2 S1 P"!duex.e2stop" ; X2 invert and at right
|
|
|
|
; Z-Probe
|
|
M558 P0 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed
|
|
M557 X15:200 Y15:195 S20 ; define mesh grid
|
|
|
|
; Heaters
|
|
M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
|
|
M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
|
|
M307 H0 A130.7 C617.8 D1.7 S1.00 V24.0 B0
|
|
M140 H0 ; map heated bed to heater 0
|
|
M143 H0 S120 ; set temperature limit for heater 0 to 120C
|
|
|
|
M308 S1 P"e0temp" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin e0temp
|
|
M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
|
|
M307 H1 A494.2 C117.0 D5.8 S1.00 V24.1 B0
|
|
M308 S2 P"e1temp" Y"thermistor" T100000 B4138 ; configure sensor 2 as thermistor on pin e1temp
|
|
M950 H2 C"e1heat" T2 ; create nozzle heater output on e1heat and map it to sensor 2
|
|
M307 H2 A487.7 C112.3 D4.6 S1.00 V24.1 B0
|
|
|
|
|
|
; Fans
|
|
M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
|
|
M106 P0 C"HOT1" S1 H1 T45 ; set fan 0 name and value. Thermostatic control is turned on
|
|
M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
|
|
M106 P1 C"MOD1" S0 H-1 ; set fan 1 name and value. Thermostatic control is turned off
|
|
M950 F2 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency
|
|
M106 P2 C"HOT2" S1 H2 T45 ; set fan 2 name and value. Thermostatic control is turned on
|
|
M950 F3 C"duex.fan3" Q500 ; create fan 3 on pin duex.fan3 and set its frequency
|
|
M106 P3 C"MOD2" S0 H-1 ; set fan 3 name and value. Thermostatic control is turned off
|
|
|
|
; Tools
|
|
M563 P0 S"LEFTHEAD" D0 H1 F1 ; 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
|
|
M563 P1 S"RIGHTHEAD" D1 H2 X3 F3 ; define tool 1
|
|
G10 P1 U0 Y0 Z0 ; set tool 1 axis offsets
|
|
G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C
|
|
|
|
; tool for duplicate mode
|
|
M563 P2 S"DUPLICY" D0:1 H1:2 X0:3 F1:3
|
|
G10 P2 X50 Y0 U-100 S0 R0
|
|
M567 P2 E1:1 ; set mix ratio 100% on both extruders
|
|
M568 P2 S1 ; turn on mixing for tool 2
|
|
|
|
|
|
; Custom settings are not defined
|
|
|
|
; Miscellaneous
|
|
M575 P1 S1 B57600 ; enable support for PanelDue
|
|
|
|
; Load store settings
|
|
M501
|
|
|