Skip to content

Instantly share code, notes, and snippets.

@BrianGilbert
Last active January 3, 2018 23:11
Show Gist options
  • Save BrianGilbert/449e3659d7580096fabf to your computer and use it in GitHub Desktop.
Save BrianGilbert/449e3659d7580096fabf to your computer and use it in GitHub Desktop.
Duet BI Config with Nimble with Chimera
; Configuration file for big Kossel from Think3DPrint3D V0.1 Date 20150708 with revisions for Duet V0.8.5 by Tony
; and addition of 3 more drives and second PWM fan for testing
; Communication and general
M111 S0 ; Debug off
M550 PZestyZero ; Machine name and Netbios name (can be anything you like)
M551 zesty ; 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
;*** Adjust the IP address and gateway in the following 2 lines to suit your network
;M552 P0.0.0.0 ; IP address. 0.0.0.0 to use DHCP
;M554 P0.0.0.0 ; Gateway
;M553 P255.255.255.0 ; Netmask
M555 P2 ; Set output to look like Marlin
M575 P1 B57600 S1 ; Comms parameters for PanelDue
G21 ; Work in millimetres
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves
;Turn off fans
M106 S0 ; Turn off Fan 0 (backward compatible with older firmware)
M106 P1 S0 ; Turn off Fan 1
; Axis and motor configuration
M569 P0 S1 ; X Drive 0 goes backwards
M569 P1 S1 ; Y Drive 1 goes backwards
M569 P2 S1 ; Z Drive 2 goes backwards
; Extruders
M569 P3 S1 ; E0 Drive 3 goes forwards
M569 P4 S1 ; E1 Drive 4 goes forwards
M574 X2 Y2 Z2 S1 ; set endstop configuration (all endstops at high end, active high)
;*** The homed height is deliberately set too high in the following - you will adjust it during calibration.
M665 L440.43 R262.03 H418.84 B140.00 X-1.42 Y-0.32 Z0.00 ; set diagonal rod length, delta radius, homed height and printable radius
M666 X-0.88 Y-0.84 Z2.20 ; put your endstop adjustments here, as given by auto calibration 22/05/15
;M350 X128 I100 ; Set 128x microstepping without interpolation
M350 X16 Y16 E16 I1 ; Set 16x microstepping with interpolation
M92 X200 Y200 Z200 ; Set axis steps/mm http://prusaprinters.org/calculator/#stepspermmbelt
M906 X950 Y950 Z950 E500:500 ; Set motor currents (mA); set each extruder explicitly
M906 I100 ; Set motor idle factor to 100% while testing so they don't idle at all
M201 X1000 Y1000 Z1000 E120 ; Accelerations (mm/s^2) Set all E-motors the same
M203 X5000 Y5000 Z5000 E1000 ; Maximum speeds (mm/min) Set all E-motors the same
M566 X500 Y500 Z500 E40 ; Maximum instant speed changes mm/minute. Set all E-motors the same
; Thermistors
M305 P0 T100000 B3950 R4700 H0 L0 ; Put your own H and/or L values here to set the bed thermistor ADC correction
; Duet0.8.5 uses 4.7K resistors
M305 P1 X201 ; Put your own H and/or L values here to set the 1st nozzle thermistor ADC correction
;M305 P2 X200 ; Put your own H and/or L values here to set the 2nd nozzle thermistor ADC correction
M143 H0 S160 ; set the maximum bed temperature to 160C
;M307 H0 A624.7 C768.3 D22.1 B0 ; Set Heater 0, bed, settings
M307 H1 A586.1 C214.9 D6.5 B0 ; Set Heater 0, bed, settings
M570 S60 ; Hot end may be a little slow to heat up so allow it 60 seconds
; Tool definitions FOR Cyclops+ HOT-END - Tools 0 and 1
M563 P0 D0:1 H1 ; Define tool 0
G10 P0 S0 R150 X0 Y0 ; Set tool 0 operating and standby temperatures and centre offset
; Enable mixing - https://duet3d.com/wiki/G-code#M568:_Turn_off.2Fon_tool_mix_ratios
M568 P0 S1
; Define mix ratio - https://duet3d.com/wiki/G-code#M567:_Set_tool_mix_ratios
M567 P0 E1:0 ; Extrude full left
;*** If you have a dual-nozzle build, un-comment the next 2 lines
;M563 P1 D1 H2 ; Define tool 1
;G10 P1 S0 R0 X-9.0 Y5.0 ; Set tool 1 operating and standby temperatures and centre offset
M92 E2400:2400 ; Set extruder steps per mm explicitly for all the extruders - 5 for Duet085+Dt4 test
// Z probe and compensation definition
;*** If you have an IR zprobe instead of a switch, change P4 to P1 in the following M558 command
M558 P1 X0 Y0 Z0 H5 ; Z probe is a DC42 Differential IR PCB and is not used for homing any axes
G31 X15 Y28 Z2.46 P500 ; Set the zprobe offset, height and threshold (put your own values here)
M208 S1 Z-0.2 ; set minimum Z
T0 ; select first hot end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment