; Think3DPrint3D configuration file for Mini Kossel for testing Duet WiFi ; Communication and general M111 S0 ; Debug off M550 PKosselXL ; Machine name and Netbios name (can be anything you like) M551 Preprap ; 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. Disabled for setup and testing. Enable once set up on your network. 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 ; Axis and motor configuration M584 X0 Y1 Z2 E3 ;explicitly assign drives M569 P0 S0 ; Drive 0 goes backwards - changed to backwards for robodigg clamps M569 P1 S0 ; Drive 1 goes backwards - " M569 P2 S0 ; Drive 2 goes backwards - " M569 P3 S1 ; Drive 3 goes forwards M569 P4 S1 ; Drive 4 goes forwards ;M574 X2 Y2 Z2 S1 ; set endstop configuration (all endstops at high end, active high) M574 X2 S1 P"xstop" M574 Y2 S1 P"ystop" M574 Z2 S1 P"zstop" ;*** The homed height is deliberately set too high in the following - you will adjust it during calibration M665 L360.25 R173.990 H297.084 B120.0 X0.538 Y0.525 Z0.000 M666 X1.493 Y-1.213 Z-0.280 A-1.03 B-0.66 ; put your endstop adjustments here, or let auto calibration find them M579 X1.00 Y1.00 Z1.00 ;correct x y z scaling M350 X16 Y16 Z16 I1 ; Set 16x microstepping with interpolation M350 E16 I1 ; Set exruder to 16x with interpolation M92 X200 Y200 Z200 ; Set axis steps/mm M906 X1100 Y1100 Z1100 E1200 I60 ; Set motor currents (mA) and increase idle current to 60% M201 X6000 Y6000 Z6000 E3000 ; Accelerations (mm/s^2) M203 X15000 Y15000 Z15000 E6000 ; Maximum speeds (mm/min) M566 X600 Y600 Z600 E500 P1 ; Maximum instant speed changes mm/minute, switch on 2.03 jerk policy ; Thermistors and heaters M308 S0 P"bedtemp" A"Bed temp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0 M307 H0 B0 S1.00 ; disable bang-bang mode for the nozzle heater and set PWM limit M140 H0 ;bed heater is heater 0 M143 H0 S125 M308 S1 P"spi.cs1" Y"rtdmax31865" A"Extruder temp" ; configure sensor 1 as thermocouple via CS pin spi.cs1 ;M308 S2 P"spi.cs2" Y"rtdmax31865" A"Test temp" ; configure sensor 2 M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1 M307 H1 B0 S1.00 ; disable bang-bang mode for the nozzle heater and set PWM limit M143 H1 S300 ; set temperature limit for heater 1 to 295C ; ****Fans M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on M950 F2 C"!Fan2+^exp.pb6" Q25000 M106 P2 S0 H-1 C"Extra cool" ; Tools M563 P0 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 ; Tool definitions ;M563 P0 D0 H1 F0:2 ; Define tool 0 with fan 0, fan 2 linked ;M563 P0 D0 H1 F0 ; tool 0 with fan 0 only G10 P0 S0 R0 ; Set tool 0 operating and standby temperatures ;*** If you have a single-nozzle build, comment the next 2 lines ;M563 P1 D1 H2 ; Define tool 1 ;G10 P1 S0 R0 ; Set tool 1 operating and standby temperatures M92 E458 ; Set extruder steps per mm M572 D0 S0.80 ; pressure advance tool 0 M207 S1.6 R0.0 F2500 T2500 Z0.4 ; firmware retraction setting ; Z probe and compensation definition M558 P8 C"zprobe.in+zprobe.mod" R0.4 F1000 H15 A10 S0.03 ;Z probe smart effector ;G31 P100 X0 Y0 Z-0.10 ;probe offset for old smart effector G31 P100 X0 Y0 Z-0.05 ;probe offset for new smart effector ;laser filament monitor settings M591 D0 P5 C"connlcd.encb" R30:400 E10 L0.401 S1 A1 ;version for reprap3 M955 P0 C"spi.cs3+spi.cs4" I64 S5000 R10 ;accelerometer configuration ;*** If you are using axis compensation, put the figures in the following command M556 S100 X0.05 Y0 Z0 ; Axis compensation here ;M593 P"daa" F52.1 ; Damp ringing at 52.1Hz M501 ;use override-config.g parameters M208 S1 Z-0.2 ; set minimum Z M912 P0 S-2 ;calibration mcu temperature reading G28 ;Home axes ;G29 S1 ;load height map and activate mesh compensation ;M290 S-0.1 ;current baby steps ; T0 ; select first hot end