; ======================================================================================================================= ; = Changes ; ======================================================================================================================= ; Date Vers. Description ; ---------- ----- ------------------------------------------------------------------------------------------------- ; 28/12/2017 1 Initial Setup using configurator ; 11/01/2018 2 Changes for 3 leadscrew upgrade - set Z steps/mm to 9600 ; 21/01/2018 3 Added Z belt idlers & removed front L & R wheel sets: ; Limited Z axis to 280mm (M208 Z280) ; Increased Z max speed from 120 to 180 mm/min (M203 Z180) ; 26/01/2018 4 Changed to 24V operation: ; Hotend Thermistor upgraded to E3D cartridge type. ; Increased z-axis speed and z probe speed from 180 to 360 mm/min ; 01/02/2018 5 Added M912 P0 S-10.8 to calibrate MCU temperature reading ; 03/02/2018 6 Enabled Fan 2 to control LED lights ; 09/02/2018 7 Adjusted Z acceleration & max speed to stop motor stalling ; 18/02/2018 8 Adjusted E0 direction, steps/mm and Max Current (switched stepper motor to 1.8deg, 1.68A model) ; 19/02/2018 9 Setup Sensorless Homing ; 13/03/2018 10 Change Z Endstop (M574) and Probe (M558) parameters for Multi-touch probing ; Increased Max X & Y speeds to 10800 mm/min (180mm/s) ; Reduced probing speed and height ; 25/03/2018 11 Changed Z steps/mm due to drive pulley change ; 26/03/2018 12 Increased Z max speed to 320mm/min ; 07/04/2018 13 Changes for Orion Piezo Probe ; 01/08/2018 14 Added names for Fans 0 & 2 in M106 commands ; Added F1 parameter to Tool0 definition (M563) ; Added M564 H0 to allow axes movement before homing ; 28/08/2018 15 Changed delay in M558 probe config from 0.4 to 0.5 following fitting of carriage mounted piezo. ; 03/09/2018 16 New PID values for E0 following upgrade of Titan Extruder to Aero. ; Adjusted Y & Z axis maxima following installation of Re-X Carriage. ; Maximum X & Y axis speeds increased from 10800mm/min to 15600mm/min (180 to 260 mm/s) ; Increased travel speed when doing bed probing. ; Hotend Fan default speed increased to 100% (Aero Fan is much quieter) ; 08/09/2018 17 Removed F1 parameter from Tool0 definition (M563) as it is incorrect. ; Removed M564 H0 command. Axes now cannot be moved until they have been homed. S2 params added to homing configs to allow normal homing. ; 11/09/2018 18 Removed M106 P0 definition for Fan0 - already used as Tool Fan by Tool0. This also removes superfluous slider for Fan0 in DWC. ; 15/09/2018 19 Added Fan3 on Duex2 to feed 12V Enclosure Fans. ; Moved LEDs from Fan2 on Duet WiFi to Fan4 on Duex2 to Use 12V. ; 16/09/2018 20 Changes for switch to 3 independent motors on Z axis ; - Added M569 commands for Drives 5 & 6 on Duex2 ; - Added M584 Drive Mappings to Map Z to Drives 2,5,6. ; - Added M671 command to define locations of 3 leadscrews. ; - Amended M350(uStepping), M92(Steps/mm), M566(Jerk), M203(Max Speeds), M201(Accel.) & M906(Motor Currents) commands to apply to all 3 z axis drives. ; 21/09/2018 21 Changed M106 command for Enclosure Fans to link them thermostatically with the MCU & TMC stepper driver temperatures. ; 23/09/2018 22 Changed M915 to drives 0:1 instead of axes X,Y (Motor Stall Detection) ; 27/09/2018 23 Added M307 command to use for 1.75mm Aero Front ; 01/10/2018 24 Increased z axis max speed to 600mm/min (10mm/s) following switch to plum couplers ; Increased probing speed from 5.16mm/s to 7mm/s ; 19/11/2018 25 Reinstated X & Y endstops using optical sensors ; 16/02/2019 26 Change G1 S parameter in homing macros to H as S now used for laser cutters. No changes in this file. ; ======================================================================================================================= ;------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ; Network & Machine Identity ;------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ M550 P"DBot V26" ; Set machine name M551 P---------- ; Set password M552 S1 ; Enable network M586 P0 S1 ; Enable HTTP M586 P1 S0 ; Disable FTP M586 P2 S0 ; Disable Telnet ;------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ;------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ; General preferences ;------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ M912 P0 S-10.8 ; Calibrate MCU Temperature 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 ; Automatic saving after power loss is not enabled ;------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ;------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ; Kinematics & Axes ;------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ M667 S1 ; Select CoreXY mode M208 X0 Y0 Z0 S1 ; Set axis minima M208 X300 Y290 Z300 S0 ; Set axis maxima (V16) ;------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ;------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ; Endstops ;------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ M574 X1 Y2 S1 ; Set active high endstops (V25) M574 Z1 S2 ; Z1 = Z-axis at zmin, S2 = uses Z-probe (defined via M558) (V10) ;------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ;------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ; Z Probe & Mesh Grid ;------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ M558 P8 I1 R0.5 H3 F420 T15600 A5 S0.03 ; P8 = Digital mode (unfiltered), I1 = Active Low, R0.5 = 500mS delay before probing (V24) ; F420 = 420mm/min probe speed (7mm/sec) ; T15600 = Travel between probe points at 15600mm/min (260mm/sec) ; A5 = Max No of touches, S0.03 = Tolerance for multi-touch (mm) ; H3 = Dive Height 3mm G31 X0 Y0 Z-0.2 P100 ; X, Y, Z offsets, debounce interval M557 X50:250 Y40:240 S200:200 ; Define mesh grid (2x2) (V7) ;M557 X20:280 Y20:270 S130:125 ; Define mesh grid (3x3) (V24) ;------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ;------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ; Drives, Drive Mappings & Mechanical Limits ;------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ M569 P0 S0 ; Drive 0 goes backwards - X axis M569 P1 S0 ; Drive 1 goes backwards - Y axis M569 P2 S0 ; Drive 2 goes backwards - Z axis Front-Left (U) M569 P3 S1 ; Drive 3 goes forwards - E0 (V8) M569 P5 S0 ; Drive 5 goes backwards - Z axis Front-Right (V) (V20) M569 P6 S0 ; Drive 6 goes backwards - Z axis Rear-Centre (W) (V20) M584 X0 Y1 Z2:5:6 ; Drive Mappings: setup 3 Z motors connected to driver outputs 2, 5 and 6 (V20) M671 X-37:337:148 Y50:48:354 S3.0 ; leadscrews at front-left, front-right and rear-centre (V20) M350 X16 Y16 Z16:16:16 E16 I1 ; Configure microstepping with interpolation (V20) M92 X100 Y100 Z3200:3200:3200 E419 ; Set steps per mm (V20) M566 X960 Y960 Z24:24:24 E300 ; Set maximum instantaneous speed changes (mm/min) (V20) M203 X15600 Y15600 Z600:600:600 E1500 ; Set maximum speeds (mm/min) (V24) M201 X1000 Y1000 Z60:60:60 E1000 ; Set accelerations (mm/s^2) (V20) M906 X800 Y800 Z1400:1400:1400 E1200 I60 ; Set motor currents (mA) and motor idle factor in per cent (V20) M84 S30 ; Set idle timeout ;------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ;------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ; Heaters ;------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ M307 H0 A283.4 C357.7 D1.1 S1.00 V12.2 B0 ; H0 (Bed) - from Running M303 H0 P1 S60 ;;;; Uncomment for 3mm Filament M307 H1 A1088.0 C239.8 D6.2 S1.00 V23.5 B0 ; H1 (E0) - from Running M303 H1 P1 S220 (V16) ;;;; Uncomment for 1.75mm Filament ;M307 H1 A570.2 C208.5 D4.9 S1.00 V23.7 B0 ; H1 (E0) - from Running M303 H1 P1 S220 (V23) ;------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ;------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ; Thermistors ;------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ M305 P0 T100000 B3950 C0 R4700 ; Set thermistor + ADC parameters for heater 0 M143 H0 S120 ; Set temperature limit for heater 0 to 120C M305 P1 T100000 R4700 B4725 C7.060000e-8 ; Set thermistor + ADC parameters for heater 1 (V4) M143 H1 S285 ; Set temperature limit for heater 1 to 285C (V4) ;------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ;------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ; Tools ;------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ M563 P0 D0 H1 S"E0" ; Define tool 0 - uses Drive 0 (E0), Heater 1. Tool Fan is Fan0 by default (part-cooling fan) (V17) G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C ;------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ;------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ; Fans ;------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ;---- 24V Fans on Duet WiFi --- M106 P1 S1.0 I0 F500 H1 T50 C"Hotend Fan" ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on - Hotend Fan at 100% when above 50C (V4) ;---- 12V Fans on Duex2 ------- M106 P3 L0.4 T27:65 H100:101:102 C"Enclosure Fans" ; Set fan 3 value, PWM signal inversion and frequency. Thermostatic control is turned on - MCU & Stepper Drivers, 50% to 100% between 27C & 65C (V21) M106 P4 S0.1 I0 F500 B0 H-1 C"Lights" ; Set fan 4 value, PWM signal inversion and frequency, No Blip. Thermostatic control is turned off - LED lights at 10% (V19) ;------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ; Custom settings are not configured ; Miscellaneous T0 ; Select first tool