; Configuration file 2020 Basement Cube ;*** Communication and general M111 S0 ; Debug off M550 P"2020_Cube" ; Machine name and Netbios name (can be anything you like) ;*** Wifi Networking M552 S1 ; Enable WiFi 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 M669 K1 ; CoreXY mode M584 X0 Y1 Z5:6:7:8 E3:4:9 ; Map Z to drivers 5, 6, 7, 8. Define unused drivers 3,4 and 9 as extruders M569 P0 S0 ; Drive 0 goes forwards X Stepper Front Left M569 P1 S0 ; Drive 1 goes forwards Y Stepper Front Right M569 P2 S1 ; Drive 2 goes forwards Unused M569 P3 S1 ; Drive 3 goes forwards Extruder M569 P4 S1 ; Drive 4 goes forwards Extruder (unused) M569 P5 S0 ; Drive 5 goes backwards Back right Z M569 P6 S0 ; Drive 6 goes backwards Front right Z M569 P7 S0 ; Drive 7 goes forwards Wonky motor Back Left Z M569 P8 S0 ; Drive 8 goes backwards Front left Z ;* Leadscrew locations M671 X325:325:-25:-25 Y340:-40:340:-40 S7.5 ;Front left, Rear Left, Right S7.5 is the max correction - measure your own offsets, to the bolt for the yoke of each leadscrew ;* Micro stepping M350 X16 Y16 Z16 E16 I1 ; set 16x microstepping for axes& extruder, with interpolation ;* Endstop settings M574 X1 S3 M574 Y1 S3 ; Set X / Y endstop stall detection M574 Z1 S2 ; Set Z endstop probe ;* Motor Current M906 X850 Y850 Z700 E700 I60 ; Set motor currents (mA) ;*Machine limits M201 X800 Y800 Z100 E1500 ; Accelerations (mm/s^2) M203 X12000 Y12000 Z300 E3600 ; Maximum speeds (mm/min) M566 X1200 Y1200 Z100 E1500 ; Maximum jerk speeds mm/minute M208 S1 X0 Y0 Z0 ; Set axis minimums (S1) M208 S0 X292 Y285 Z400 ; set axis maximums (S0) ;* Step per mm M92 X100 Y100 Z1600 E403 ; steps/mm ;* Stall Detection M915 X Y S5 F0 H200 R0 ; X / Y Axes ;*** Thermistors ;* Bed M308 S0 P"bedtemp" Y"thermistor" T100000 R4700 B3950 M950 H0 C"bedheat" T0 ;M305 P0 T100000 B3950 R4700 H0 L0 ; Keenovo Thermistor M307 H0 A240.3 C608.7 D8.2 V24.1 B0 S1 ; ADC correction M140 H0 M143 H0 S120 M308 S1 P"e0temp" Y"thermistor" T100000 B4725 C7.060000e-8 ;M305 P1 B4725 C7.060000e-8 ; E3D Thermistor (Hemera) M950 H1 C"e0heat" T1 M307 H1 A270.7 C90.4 D6.7 V24.0 B0 S1 ; ADC correction M143 H1 S300 M570 S360 ; Heater fault detections allow 1 minute ;*** Fans M950 F0 C"fan0" Q500 M106 P0 S0 H-1 M950 F1 C"fan1" Q500 ; Part fan M106 P1 S1 H1 T70 ; Hotend fan ;*** Tool definitions M563 P0 D0 H1 ; Define tool 0 G10 P0 S0 R0 ; Set tool 0 operating and standby temperatures ;M593 F50 ; Dynamic Acceleration Adjustment 50hZ ;*** Z probe and compensation definition M558 P1 C"!zprobe.in" H5 F120 T6000 ; Z probe is an inductive probe G31 X-40 Y35 Z1.5 P500 ; Probe offset - to the left and front M557 X20:292 Y10:265 P5 ; Bed probe area ; T0