Notifications
Clear all

Correct GCodes for preloaded filament in MMU-SINGLE mode?  

  RSS
allabout3dblog
(@allabout3dblog)
Active Member
Correct GCodes for preloaded filament in MMU-SINGLE mode?

Can somebody help me to find the correct start/end GCode for Singe print with MMU2?

I want to preload the filament on the MMU2 (on T0).
Afterwards i want to start the gcode without and further activities (e.g. no unload or eject filament).
After the print i want the filament to be unloaded again so that the filament remains pre-loaded even after power off/on.

What are the correct GCodes for this?
MANY THANKS!

Posted : 16/11/2018 9:15 pm
allabout3dblog
(@allabout3dblog)
Active Member
Topic starter answered:
Re: Correct GCodes for preloaded filament in MMU-SINGLE mode?

Can anybody provide me link to MMU2 specific GCodes (or MCodes).
I have already searched on Github but could not find.

Posted : 18/11/2018 5:25 pm
robert.m28
(@robert-m28)
Eminent Member
Re: Correct GCodes for preloaded filament in MMU-SINGLE mode?

Hi Christian.g12,

Ask away as I have had some experience with setting this up myself. Bellow is what I run now although I have just been running the MMU profile and only having one extruder, wipe tower disappears and it prints like the single.

MK3 MMU Start GCode - Single
Start Gcode
##KEEP FROM DEFAULT
M107
M115 U3.4.0 ; tell printer latest fw version
##KEEP FROM DEFAUT
M900 K0 ; Reset LA factor
M140 S{(first_layer_bed_temperature[0]>=70 ? first_layer_bed_temperature[0] : 70)}
M104 S135 ; Set extruder temp to 135
M83 ; Extruder relative mode
G28 W ; Home all without mesh bed level
G90 ; use absolute coordinates
G1 X50 Y50 F7200 ; X/Y to 50mm
M860 S35; wait until PINDA is >= 35C
M140 S[first_layer_bed_temperature] ; set bed temp
G1 Z30 F1000.0 ; Raise and wait for bed if need be
M190 S[first_layer_bed_temperature] ; Wait for bed temp
M104 S[first_layer_temperature] ; Set extruder temp for temperature of the first layer
G80 ; Mesh bed levelling
M109 S[first_layer_temperature] ; wait for extruder temp
G21 ; set units to millimeters
; Send the filament type to the MMU2.0 unit.
; E stands for extruder number, F stands for filament type (0: default; 1:flex; 2: PVA)
M403 E0 F{"" + ((filament_type[0]=="FLEX") ? 1 : ((filament_type[0]=="PVA") ? 2 : 0))}
M403 E1 F{"" + ((filament_type[0]=="FLEX") ? 1 : ((filament_type[1]=="PVA") ? 2 : 0))}
M403 E2 F{"" + ((filament_type[0]=="FLEX") ? 1 : ((filament_type[2]=="PVA") ? 2 : 0))}
M403 E3 F{"" + ((filament_type[0]=="FLEX") ? 1 : ((filament_type[3]=="PVA") ? 2 : 0))}
M403 E4 F{"" + ((filament_type[0]=="FLEX") ? 1 : ((filament_type[4]=="PVA") ? 2 : 0))}
;go outside print area
G1 Y-3.0 F1000.0
G1 Z0.4 F1000.0
; select extruder
T?
; initial load
G1 X55.0 E32.0 F1073.0
G1 X5.0 E32.0 F1800.0
G1 X55.0 E8.0 F2000.0
G1 Z0.3 F1000.0
G92 E0.0
G1 X240.0 E25.0 F2200.0
G1 Y-2.0 F1000.0
G1 X55.0 E25 F1400.0
G1 Z0.20 F1000.0
G1 X5.0 E4.0 F1000.0
G92 E0.0
M221 S{if layer_height<0.075}100{else}95{endif}
G90 ; use absolute coordinates
M83 ; use relative distances for extrusion
G92 E0.0
MK3 MMU End GCode - Single
G1 X0 Y25 F7200
G1 E2 F5000
G1 E2 F5500
G1 E2 F6000
G1 E-15.0000 F5800
G1 E-20.0000 F5500
G1 E10.0000 F3000
G1 E-10.0000 F3100
G1 E10.0000 F3150
G1 E-10.0000 F3250
G1 E10.0000 F3300
M702 C
G4 ; wait
M104 S0 ; turn off temperature
M140 S0 ; turn off heatbed
M107 ; turn off fan
; Lift print head a bit
{if layer_z < max_print_height}G1 Z{z_offset+min(layer_z+30, max_print_height)}{endif} ; Move print head up
G1 X0 Y25; home X axis
M84 ; disable motors

Posted : 19/11/2018 1:49 am
allabout3dblog
(@allabout3dblog)
Active Member
Topic starter answered:
Re: Correct GCodes for preloaded filament in MMU-SINGLE mode?

Thanks Robert!

Two more questions.
1. What would be the right GCode (instead of T?) to start single printing without any further manual activity from preloaded T0?
2. What is the GCode to unload (not eject) the filament after the print has been finalized?

Usually i am using Octoprint with webcam and want to load and start the i3 from remote without any local activity.
😉

Posted : 19/11/2018 6:57 pm
TTGG
 TTGG
(@ttgg)
Eminent Member
Re: Correct GCodes for preloaded filament in MMU-SINGLE mode?


Thanks Robert!

Two more questions.
1. What would be the right GCode (instead of T?) to start single printing without any further manual activity from preloaded T0?
2. What is the GCode to unload (not eject) the filament after the print has been finalized?

Usually i am using Octoprint with webcam and want to load and start the i3 from remote without any local activity.
😉

I replace T? with T0 and this works very well to start remote without having to be in front of the printer. There have been issues with T? with octoprint that I believe are now fixed but while these problems were present I just always made sure I had the Single MMU2 filament in #1 and used T0 to start that tool.

Posted : 19/11/2018 7:28 pm
Share: