FB-G6 / 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
65 stars 10 forks source link

M808 - Repeat Marker #16

Open Infusible opened 2 months ago

Infusible commented 2 months ago

Добавьте версию с возможностю использовать команду M808 - Repeat Marker. По умолчанию она выключена. Спасибо.

Start G-code

M220 S100 ;reset feedrate
M221 S100 ;reset flowrate
G90 ;use absolute coordinates
M82 ;absolute extrusion mode
G28 ;home
G1 Z2 F1500 ;raise z
G92 E0 ;reset extruder

;G1 X75 Y5 F5000 ;start position
;G1 Z0.28 F1500 ;lower z
;G1 E4 F500 ;prime the filament
;G1 X180 E10 F500 ;1st line
;G1 Y5.4 F5000
;G1 X75 E20 F500 ;2nd line
;G1 Z2 F1500 ;raise z
;G92 E0 ;reset extruder

M808 L10

End G-code

G28 X
G0 Y105
G0 X127
G90
G1 Z72
G1 Y0 F10000
;BEEPING
M117 Notifying ; Sound that we're done
M300 P100 ; beep for 100 milliseconds
G4 P500 ; wait 500 milliseconds
M300 P250 ; beep for 250 milliseconds

M808

G91 ;use relative coordinates
G1 E-4 F1500 ;retract the filament
G1 X5 Y5 Z0.2 F5000 ;wipe
G1 Z5 F1500 ;raise z
G90 ;use absolute coordinates
G1 X10 Y{machine_depth} F5000 ;park print head

M107 ;turn off fan
M104 S0 ;turn off hotend
M140 S0 ;turn off heatbed
M84 ;disable motors
Infusible commented 2 months ago

Или может инструкцию добавить, как самому скомпилировать версию прошивки с нужными параметрами, спасибо.

tarwirdur commented 2 months ago

Да, могу влючить и выложить сборку вечером. А зачем может понадобится 10 раз запускать один и тот же gcode целиком? Да ещё и без паузы между повторами. Не лучше ли использовать последовательную печать моделей в слайсере?

Infusible commented 2 months ago

Например, когда нужно запустить 100+ моделей с малой площадью контакта и настроить сбрасывание головой в коробку. Буду благодарен. Спасибо.

tarwirdur commented 2 months ago

Сборка выложена: https://github.com/FB-G6/Marlin/releases/tag/dev-20240517

Infusible commented 2 months ago

Спасибо, попробую - отпишу.