; Configuration file for Duet Ethernet (firmware version 1.19) ; executed by the firmware on start-up ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;; GENERAL INFORMATION ;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;This config file corresponds to the WorkBench 200 Series Machine with HFA Extruders ;Author S. Halbrader ;Date: 2/19/2018 ;Current Revision: 3 ;Revision 1: original release ;Revision 2: updated thermistor and base PID values for the HFAs ;Revision 3: added 2 microsecond minimum pulse width for y-axis ; updated maximum z-axis travel ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;; 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 M208 X0 Y0 Z0 S1 ; Set axis min travel M208 X1000 Y1000 Z710 S0 ; Set axis max travel ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;; ENDSTOPS ;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; M574 X1 Y1 Z1 S0 ; Define active low and unused microswitches M574 E0 S0 ; Define E0 endstop active low for filament sensor ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;; BLTouch Bed Probe ;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; M307 H6 A-1 C-1 D-1 ; Set Heater 7 as servo pin for BLTouch M558 P6 X0 Y0 Z1 H5 F120 T6000 ; Set Z probe type to unmodulated, the axes for which it is used and the probe + travel speeds G31 P100 X0 Y0 Z0.00 ; Set Z probe trigger value, offset and trigger height ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;; DRIVES ;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; M569 P0 S1 ; Drive 0 goes forwards M569 P1 S1 ; Drive 1 goes forwards M569 P2 S1 ; Drive 2 goes forwards M569 P3 S1 ; left extruder goes forwards M569 P4 S1 ; right extruder goes forwards M569 P6 T2 ; 2 microsecond minimum step pulse width on y-axis M584 X5 Y6 Z7 E3:4 ; Apply custom drive mapping (X=Drive5, Y=Drive6, Z=Drive7, E3=Extruder0, E4-Extruder1 ) M350 X16 Y16 Z16 E16:16 I1 ; Configure microstepping with interpolation M92 X120 Y120 Z2000 E450:450 ; Set steps per mm M566 X900 Y900 Z12 E120:120 ; Set maximum instantaneous speed changes (mm/min) M203 X12000 Y12000 Z180 E1200:1200 ; Set maximum speeds (mm/min) M201 X2000 Y2000 Z250 E250:250 ; Set accelerations (mm/s^2) M906 X800 Y800 Z800 E1680:1680 I30 ; Set motor currents (mA) and motor idle factor in percent M84 S30 ; Set idle timeout ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;; HEATERS ;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; M143 S300 ; Set maximum heater temperature to 300C M143 H0 S150 ; set max bed temp to 150C M301 H0 S1.00 P10 I0.1 D200 T0.4 W180 B30 ; Use PID on bed heater(may require further tuning) M301 H1 S1.0 P7 I0.25 D34.5 T0.4 W180 B30 ; Use PID on extruder1 (may require further tuning) M301 H2 S1.0 P7 I0.25 D34.5 T0.4 W180 B30 ; Use PID on extruder2 (may require further tuning) M305 P0 T47500 B3988 C0 R4700 ; Set thermistor + ADC parameters for heater 0 M305 P1 T119000 B4600 C0 R4700 ; Set thermistor + ADC parameters for heater 1 M305 P2 T119000 B4600 C0 R4700 ; Set thermistor + ADC parameters for heater 2 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;; TOOLS ;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; M563 P0 D0 H1 ; Define tool 0 G10 P0 X0 Y0 ; Set tool 0 axis offsets G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C M563 P1 D1 H2 ; Define tool 1 G10 P1 X69 Y0 ; Set tool 1 axis offsets G10 P1 R0 S0 ; Set initial tool 1 active and standby temperatures to 0C ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;; NETWORK ;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; M550 PWorkBench 300 Series - HFAs ; Set machine name M551 P3dp ; Set password M552 P0.0.0.0 S1 ; Enable network and acquire dynamic address via DHCP ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;; FANS ;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; M106 P0 S1 I0 F500 H-1 L0 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off M106 P1 S1 I0 F500 H-1 L0 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off M106 P2 S1 I0 F500 H0 T70 L0 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;; CUSTOM SETTINGS ;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; M106 P0 S0 ;Turn fan off on start up M280 P7 S60 I1 ;Clear Bed Probe Errors