masintxi / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. | Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
http://marlinfw.org
GNU General Public License v3.0
1 stars 1 forks source link

START/END/CANCEL gcodes #23

Open jnazabal opened 2 years ago

jnazabal commented 2 years ago

Optimizar las secuencias de comandos que se ejecutan antes de empezar a imprimir, al terminar de imprimir y al cancelar la impresion.

Lo ideal es que en los softawares de laminacion no haya que poner nada y asi tener el control de los procesos.

jnazabal commented 2 years ago

start_gcode: G28R10\nG90\nG1X0Y200F10000\nM107\nM83\nM109FS190B200\nG1E40F300\nG1E-3F600\nG92E0\nG90\nG1Y150F6000\n

G28 R10································Home de los tres ejes bajando el Z 10mm antes de empezar G90·········································Movimientos absolutos G1 X0 Y200 F10000··········Mover el extrusor a la esquina frontal derecha de la maquina M107······································Parar los ventiladores M83········································Movimientos relativos en el extrusor M109 F S190 B200···········Esperar a calentar a un rango entre 190ºC y 200ºC (no es mas rápido que mandarlo a una T fija) G1 E40 F300·······················Extruir 40mm de material (en teoría el PLA esta a 30mm del nozzle por la impresión anterior) G1 E-3 F600························Retraer 3mm de PLA para hacer vacío (no funciona, sigue babeando) G92 E0··································Marcar la posición actual como cero del extrusor G90········································Movimientos absolutos G1 Y150 F6000··················Mover el cabezal 50mm en Y hacia atrás para limpiar el nozzle (no funciona bien)

end_gcode: G91\nG1E-5F600\nG28XYR10\nG1E-25F600\nM104S0\nG90\nG1Z200F2000\nM84\n

G91········································Movimientos relativos G1 E-5 F2000·····················Retracción rápida al terminar la impresión para eliminar el típico hilillo G28 XY R10························Home XY bajando el 10mm G1 E-25 F600·····················Retraer el filamento otros 25mm (se queda por encima de los aletines del hotend, a 30mm del nozzle) M104 S0······························Enfriar hotend (T=0ºC) G90·······································Movimientos absolutos G1 Z200 F2000·················Bajar la cama M84······································Deshabilitar motores

cancel_gcode: G28XYR20\nG90\nG1Z200F2000\nG91\nG1E5F300\nG1E-30F500\nM104S0\nM84\n

G28 XY R20························Home XY bajando la cama 20mm G90·······································Movimientos absolutos G1 Z200 F2000·················Bajar la cama G91·······································Movimientos relativos G1 E5 F300·························Extruir 5mm (para purgar un poco por si la cancelación ha sido por un mini atasco) G1 E-30 F500·····················Retraer PLA 30mm M104 S0······························Enfriar hotend (T=0ºC) M84······································Deshabilitar motores