M586 P2 S1 ; Enable Telnet M584 X0 Y1:3 U3 Z5 E4 P3 ; Apply custom drive mapping ; Drives M569 P0 S1 ; Physical drive 6 goes forwards (X AXIS) erachter eerst R1 T5:5:5:5 M569 P1 S0 ; Physical drive 1 goes forwards (Y AXIS 1) M569 P3 S1 ; Physical drive 0 goes backwards(Y AXIS 2) M569 P5 S1 R1 ; Physical drive 5 goes forwards (Z AXIS) M569 P4 S1 ; Physical drive 3 goes forwards - E1 (EXTRUDER) M350 X16 Y16 U16 E0 I0 ; Configure microstepping without interpolation M350 Z16 E16 I1 E0 I0 ; Configure microstepping with interpolation M92 X44.00 Y44.00 U44.00 Z200.00 E500.00 ; Set steps per mm M566 X400.00 Y100.00 U100.00 Z120.00 E400.00 ; Set maximum instantaneous speed changes (mm/min) M203 X20000.00 Y20000.00 U20000.00 Z400.00 E3600.00 ; Set maximum speeds (mm/min) M201 X2000.00 Y1000.00 U1000.00 Z20.00 E1000.00 ; Set accelerations (mm/s^2) M906 X2100.00 Y2100.00 U2100.00 Z800.00 E2800.00 I30 ; Set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Axis Limits M208 X0 Y0 Z0 S1 ; Set axis minima M208 X900 Y900 U900 Z1400 S0 ; Set axis maxima ; Endstops M574 X1 Y2 U2 S0 ; Set active low and disabled endstops M574 Z1 S2 ; Define Z to use Probe. Home to Min M558 P9 X0 Y0 Z1 H4 F6000 T6000 ; Set Z Probe to type Switch or Digital output where Z probe connector is used. Used for z only G31 P50 X0 Y23 Z0.8 ; Set Z probe trigger value, offset and trigger height ; Z-Probe M557 X50:900 Y50:900 S80 ; Define mesh grid ; CREATE TOOL M563 P1 S"PELLET EXTRUDER"'' D0 H0:1:2 ; 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 ; HEATER 1 TOP M305 S"TOP" P0 X500 M570 H0 S300 P240 T30 ; heater fault time out M301 H0 P21.9 I0.343 D268.4 ; HEATER 2 MIDDLE M305 S"MIDDLE" P2 X501 M570 H1 S300 P240 T30 ; heater fault time out M301 H1 P6.1 I0.059 D199.2 ; HEATER 3 BOTTOM M305 S"BOTTOM" P1 X502 M570 H2 S300 P240 T30 ; heater fault time out M301 H2 P6.1 I0.059 D199.2 ; INLET SENSOR ; Fans M106 P0 S250 I1 F25000 T45 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned on M106 P1 S250 I0 F2 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on ; Automatic saving after power loss is not enabled ; Custom settings are not configured ; BL Touch ports breakout board M307 H7 A-1 C-1 D-1 ; Disable heater to free op PWM channel