; Network M552 P0.0.0.0 S1 ; enable network and acquire dynamic address via DHCP M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M584 X40.0 Y41.0 Z1:2:4:5 E20.0 ; J- configuramos los motores X, Y, Z y E en cada posición de la placa principal o placas externas. M671 X1115:1115:-15:-15 Y1360:-260:-260:1360 S0.5 ; J- configuramos la posición de los husillos respecto el origen (0,0) de la cama (no de los finales de carrera) ;M584 X40.0 ; set X driver ;M584 Y41.0 ; set Y driver ;M584 Z1:2:4:5 ; set Z driver ;M584 E20.0 ; set E driver M569 P0 S0 ; physical drive 0.0 goes forwards M569 P1 S0 ; physical drive 0.1 goes forwards M569 P2 S0 ; physical drive 0.2 goes forwards M569 P3 S0 ; physical drive 0.3 goes forwards M569 P4 S0 ; physical drive 0.4 goes forwards M569 P5 S0 ; physical drive 0.5 goes forwards G4 S1 ;wait for expansion boards to start M569 P40.0 S1 R0 ;T2.7 EJE X ; change enable polarity, active = disable drive M569 P41.0 S1 R0 ;T2.7 EJE Y M569 P20.0 S1 ; set drive mapping M350 X16 Y16 Z32 E16 I1 ; configure microstepping with interpolation M92 X133.333 Y133.333 Z1280 E420.00 ; set steps per mm M566 X900.00 Y900.00 Z12 E120.00 ; set maximum instantaneous speed changes (mm/min) M203 X10000.00 Y10000.00 Z500 E1200.00 ; set maximum speeds (mm/min) M201 X500.00 Y500.00 Z100.00 E250.00 ; set accelerations (mm/s^2) M906 X1000 Y1000 Z2800 E800 I30 ; set motor currents (mA) and motor idle factor in per cent G21 ; TRABAJO EN MM G90 ; TRABAJO EN CORDENADAS ABSOLUTAS M84 S30 ; Set idle timeout ; Axis Limits M208 X-50 Y-24 Z0 S1 ; set axis minima M208 X1100 Y1100 Z1000 S0 ; set axis maxima ; Endstops M574 X1 S1 P"io0.in" ; configure active-high endstop for low end on X via pin io0.in M574 Y1 S1 P"io1.in" ; configure active-high endstop for low end on Y via pin io1.in M574 Z1 S1 P"io3.in+io4.in+io5.in+io6.in" ; configuramos finales de carrera eje Z según orden de motores ; Z-Probe M950 S0 C"20.io0.out" ; create servo pin 0 for BLTouch M558 P9 C"^20.io0.in" H10 F120 H200 T6000 ; set Z probe type to bltouch and the dive height + speeds G31 P500 X-20 Y40 Z0 ; set Z probe trigger value, offset and trigger height ;M557 X50:1040 Y40:1000 S500 ; define mesh grid ; Heaters M308 S1 P"temp3" Y"thermistor" T100000 B4725 C7.06e-8 R2200 ; configure sensor 1 as thermistor on pin temp0 M950 H0 C"out0" T1 ; create bed heater output on out0 and map it to sensor 1 M307 H0 A340 C2745.9 D25 S1.00 B0 ;M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 M143 H0 S120 ; set temperature limit for heater 0 to 120C M308 S0 P"20.temp0" Y"thermistor" B4725 C7.06e-8 ; configure sensor 0 as thermistor on pin temp1 M950 H1 C"20.out0" T0 ; create nozzle heater output on out1 and map it to sensor 0 M307 H0 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H0 S120 ; set temperature limit for heater 0 to 120C ; Fans M950 F0 C"20.out1" Q500 ; create fan 0 on pin out7 and set its frequency M950 F1 C"20.out2" Q500 M106 P0 S255 H0 T50 M106 P0 S0; Herramienta 2 PCF ; 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 M591 D0 P1 C"20.io1.in" S2 ; filament monitor connected to E0_stop ;M591 D0 ; Custom settings are not defined ;M556 S100 X0 Y0 Z0 ; Put your axis compensation here ;M912 P9 S0 ; Put your CPU temperature sensor correction here ;M501 ; Run config-override.g ;T0 ; Select the first head ; Miscellaneous M575 P1 S1 B57600 ; enable support for PanelDue M564 H0 M302 P1