@phaedrux - CONFIG.G
; ############################
; Configuration file for Duet WiFi (firmware version 1.21)
; ############################;
; Executed by the firmware on start-up
; Changes dated 2/19/22
; New Orbiter 1.5 Extruder
; New 3rd Z Stepper
; ############################
; 0 - INDEX
; ############################
; 1 - GENERAL PREFERENCES
; 2 - NETWORK
; 3 - ENDSTOPS AND ZPROBE
; 4 - DRIVES
; 5 - SPEEDS
; 6 - HEATERS
; 7 - TOOLS
; 8 - FANS
; 9 - RETRACTION SETTINGS
; 10 - PRESSURE ADVANCE
; 11 - MISCELLANEOUS
; ############################
; 1 - GENERAL PREFERENCES
; ############################
M111 S0 ; Debugging off
G21 ; Work in millimetres
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves
M555 P2 ; Set firmware compatibility to look like Marlin
;M911 S21 R23 P"M913 X0 Y0 G91 M83 G1 Z3 E-1 F1000" ; Example Configure automatic saving on power loss
M912 P0 S-18.2 ; MCU temperature sensor calibration offset (M112 to view current temp. Should match room temp.)
M667 S1 ; Select CoreXY mode
M208 X0 Y0 Z0 S1 ; Set axis minima
M208 X300 Y187 Z300 S0 ; Set axis maxima
M404 N1.75 D0.4 ; Set nominal filament diameter to 1.75 and nozzle width to 0.4
; ############################
; 2 - NETWORK
; ############################
M550 D-BOT ; Set machine name
;M551 Preprap ; Set password. Use reprap for no password prompt.
M552 S1 ; Enable network
M552 P192.168.0.108 ; Set IP Address of Duet 2 Wifi to Static; 0 = DHCP
M587 S"*****" P"******" ; Wifi ssn & pw
;M588 S"" ; DELETE ALL WIFI TO RESET WIFI 5/23/20
;M587 S"" P"" ; Configure access point. You can delete this line once connected
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet
; ############################
; 3 - ENDSTOPS AND ZPROBE
; ############################
M574 X1 Y2 S1 ; Set active high endstops
M574 Z1 S2 ; Set endstops controlled by probe
M307 H7 A-1 C-1 D-1 ; Unbind heater 7 pins for BLTouch probe use. 2/16/22 www.betrue3d.dk - was M307 H3 A-1 C-1 D-1
M558 P9 X0 Y0 Z1 H5 F100 T6000 A3 R0.5 S0.03 ; EXAMPLE P9 for BLTouch, dive height 5mm, probe at 100 mm/s, travel 6000mm/s, up to 10 probes, pause 0.5s
G31 X-37 Y4 Z1.29 P25 , Was G31 X-37 Y4 Z0 P25 2/19/22
M557 X25:275 Y25:175 S40 ; Define mesh grid
M376 H3 ; Taper off compensation over 3mm of height
;M375 ; Load heightmap.csv - COMMENTED OUT UNTIL I GET A LEVEL BED 2/20/22
; ############################
; 4 - DRIVES
; ############################
; Drives (all stepper wires same direction - blue wire to right
M569 P3 R-1 ; Drive 3 Burnt Chip - this command disables it 2/1/22
M569 P0 S1 ; Drive 0 (x) goes forwards
M569 P1 S1 ; Drive 1 (y) goes forwards
M569 P2 S1 ; Drive 2 (z) goes forwards ; Z Stepper 1
M569 P4 S1 ; Drive 4 (e1) goes forwards ; Orbiter v1.5 12/22/21
M569 P5 S0 ; Drive 5 (z) Duex Board goes backwards ; Z Stepper 2
M569 P6 S0 ; Drive 6 (z) Duex Board goes backwards ; Z Stepper 3
M584 X0 Y1 Z2:5:6 E4 ; 2/17/22 - 3 steppers connected driver 2, 5 & 6
M671 X-45:170:342 Y35:250:35 S10 ; 2/16/22 - Lead screws at front left, rear middle, and front right
M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
M92 X99.90 Y99.87 Z398.72 E690 ; Set steps per mm
M906 X800.00 Y800.00 Z800 E500.00 I30 ; Set motor currents (mA) and motor idle factor in per cent - E was E750
M84 S30 ; Set idle timeout
; ############################
; 5 - SPEEDS
; ############################
M201 X1000.00 Y1000.00 Z100.00 E800.00 ; Set accelerations (mm/s^2)
M203 X5000.00 Y5000.00 Z300.00 E3600 ; Set maximum speeds (mm/min)
M204 P1000 T5000 ; Set printing and travel accelerations
M566 X500.00 Y500.00 Z25 E600 ; Set Jerk Speeds, maximum instantaneous speed changes (mm/min)
; FEEDRATE CONVERSIONS
; 20mm/s = F1200
; 70mm/s = F4200
; 120mm/s = F7200
; ############################
; 6 - HEATERS
; ############################
;M301 H0 S1.00 P10 I0.1 D200 T0.4 W180 B30 ; EXAMPLE Use PID on bed heater (Auto-tune settings are in config-override)
M305 P0 T100000 B3950 R4700 ; M305 P0 T100000 B4138 R4700 old values- Set thermistor + ADC parameters for heater 0 (Bed)
M143 H0 S160 ; Set temperature limit for heater 0 (Bed) to 160C
M305 P1 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 1 (extruder)
M143 H1 S280 ; Set temperature limit for heater 1 (extruder) to 280C
; ############################
; 7 - TOOLS
; ############################
M563 P0 S"Orbiter" D0 H1 ; Define tool 0 (Orbiter extruder)
G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C
; ############################
; 8 - FANS
; ############################
M106 P0 S0 H-1 ; Set fan 0 (Part cooling blower) G-code controlled. Thermostatic control is turned off
M106 P1 S1 H1 T45 ; Set fan 1 (Hotend fan) Thermostatic control. Turns on when hotend reaches 45c
;M106 P2 F100 L0.2 B0.5 T38:46 H100:101:102 ; EXAMPLE Set fan 2 Duet case fan. Turns on when the MCU temperature (virtual heater 100)
; reaches 45C and reaches full speed when the MCU temperature reaches 65C or if any TMC2660
; drivers (virtual heaters 101 and 102) report that they are over-temperature
; Minimum speed 80%, PWM frequency 12
; ############################
; 9 - RETRACTION SETTINGS
; ############################
M207 S1.5 F3600
; M207: Set retract length
; Parameters
; Snnn positive length to retract, in mm
; Rnnn positive or negative additional length to un-retract, in mm, default zero
; Fnnn retraction feedrate, in mm/min
; Tnnn feedrate for un-retraction if different from retraction, mm/min (RepRapFirmware 1.16 and later only)
; Znnn additional zlift/hop
; Example: M207 S4.0 F2400 Z0.075
; FEEDRATE CONVERSIONS
; 20mm/s = F1200
; 70mm/s = F4200
; 120mm/s = F7200
; ############################
; 10 - PRESSURE ADVANCE
; ############################
M572 D0 S0.02 ; set extruder 0 pressure advance. Default for PLA direct drive is 0.05 seconds
; ############################
; 11 - MISCELLANEOUS
; ############################
M501 ; Load saved parameters from non-volatile memory (config-override.g)
T0 ; Select first tool
M564 H0 ; Allow movement of axes before homing
G21 ; work in Millimeters
T0 ; select first tool
; ############################
; 12 - END CONFIG.G
; ############################