; Configuration file for Duet 3 (firmware version 3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.1.3 on Wed Jul 08 2020 09:39:49 GMT+0200 (Centraleuropæisk sommertid) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M564 H0 ; Allow axis movement without homing M550 P"BE3DCube" ; set printer name M669 K1 ; select CoreXY mode ; Drives M569 P0.0 S0 ; Y-Left - physical drive 0.0 goes backwards. Rated 2.5a M569 P0.1 S0 ; X-Right - physical drive 0.1 goes backwards. Rated 2.5a M569 P0.3 S1 ; Z-Front Left - physical drive 0.3 goes forwards. Rated 1.2a M569 P0.4 S0 ; Z-Rear Center - physical drive 0.4 goes backwards. Rated 1.2a M569 P0.5 S1 ; Z-Front Right - physical drive 0.5 goes backwards. Rated 1.2a M569 P121.0 S0 ; Extruder - Toolboard. Bckwards. Rated 1.33a ; Define Axes M584 X0.1 Y0.0 Z0.3:0.4:0.5 U0.3:0.4:0.5 E121.0 ; M584 Set drive Mapping M350 X16 Y16 Z16 U16 E16 I1 ; configure microstepping with interpolation M92 X100.00 Y100.00 Z400.00 U400 ; set steps per mm M92 E390 ; set steps per mm for Extruder M566 X800.00 Y800.00 Z200.00 U200.00 E7500.00 ; set maximum instantaneous speed changes (mm/min) M203 X18000.00 Y18000.00 Z3000.00 U3000.00 E5000 ; set maximum speeds (mm/min) M201 X1000.00 Y1000.00 Z200.00 U200.00 E6000.00 ; set accelerations (mm/s^2) M906 X1900 Y1900 Z800 U800 E1000 I20 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Axis Limits M208 X0 Y0 Z0 U0 S1 ; set axis minima M208 X340 Y310 Z448.80 U448.80 S0 ; set axis maxima ; Endstops M574 X1 S1 P"^121.io2.in" ; configure active-high endstop for low end on X via pin !^1.io1.in M574 Y2 S1 P"^io0.in" ; configure active-high endstop for high end on Y via pin ^io0.in M574 U2 S1 P"^io7.in+^io5.in+^io2.in" ; U-Max via pin io7.in io5.in io2.in ; Z-Probe BLTouch Toolboard M950 S1 C"121.io0.out" ; Set Toolboard 121 pin0 out as servo out 0 M558 P9 C"^121.io0.in" H5 F1000 T18000 ; Set Z probe type to BL touch and the dive height + speeds. Z probe pin io0.in on Toolboard 121 G31 P500 X-38 Y-5 Z1.25 ; Set Z probe trigger value, offset and trigger height. Higer Z=Closer to bed ; Mesh compensation M557 X00:300 Y5:305 S50 ; Define mesh grid ; Autolevel - Leadscrew positions ; https://duet3d.dozuki.com/Wiki/Gcode#Section_M671_Define_positions_of_Z_leadscrews_or_bed_levelling_screws M671 X-27.74:187:401.74 Y34.5:347.24:34.5 S5 ; Front left, Rear Center, Front Right - S=max compensation ; Z-Probe BLTouch on Duet3 ;M950 S0 C"!io5.out" ; create servo pin 0 for BLTouch ;M558 P9 C"^io5.in" H5 F120 T18000 ; set Z probe type to bltouch and the dive height + speeds ;G31 P500 X0 Y0 Z0 ; set Z probe trigger value, offset and trigger height ;M557 X50:300 Y50:300 S50 ; define mesh grid ; Heaters ; BED - 750W AC heater M308 S0 P"temp0" Y"thermistor" T100000 B3950 ; configure sensor 0 as thermistor on pin temp0 M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0 M307 H0 A90.6 C120.6 D1.5 S1 B1 F10 ; PID (B1) on Bed heater. Frequency 10 for SSR M140 H0 ; map heated bed to heater 0 M143 H0 S150 ; set temperature limit for heater 0 to 150C ; Hotend ; M308 S1 P"121.temp0" Y"thermistor" T100000 B4725 C7.06e-8 ; Sensor 1 as thermistor on pin 121.temp0 M308 S1 P"121.temp0" Y"pt1000" ; Sensor 1 as PT1000 on pin 121.temp0 M950 H1 C"121.out0" T1 ; Heater1 output on out0 (Toolboard) and map it to sensor 1 ; M950 H1 C"out1" T1 ; Heater1 output on out1 (Duet3) and map it to sensor 1 M143 H1 S350 ; set temperature limit for heater 1 to 350C ; M303 H1 S220 ; PID tune to 220c M307 H1 A641.1 C198.5 D4.9 S1 B0 ; Select PID (B0) mode for heater and set PWM limit (S1) and frequency (F10) ; Fans ; https://duet3d.dozuki.com/Wiki/Gcode#Section_M106_Fan_On ; https://duet3d.dozuki.com/Wiki/Gcode#Section_M950_Create_heater_fan_or_GPIO_servo_pin ; Object Fan M950 F0 C"121.out1" Q500 ; create fan 0 on pin 1.out1 and set its frequency M106 P0 C"OBJ-Fan" S0 H-1 ; set fan 0 name and value. Thermostatic control is turned off ; Heatsink Fan M950 F1 C"121.out2" Q500 ; create fan 1 on pin 1.out2 and set its frequency M106 P1 C"HS-Fan" S1 B0.5 H1 T50 ; set fan 1 name and value. Thermostatic control is turned on ; Tools M563 P0 S"Hemera" D0 H1 F0 ; 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 ; Custom settings are not defined ; Miscellaneous M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss T0 ; select first tool