Start & End G-code for my Multi extruder printer
Hey guys,
My printer is Raise3D Pro2!
I have this Start code (and Tool Change G-code) that heats up both nozzles in the beginning in order for them to do the switch if needed.
But, when the print start or the switch has finished I need the other to cool down.
How do I achieve that?
Start G-code:
G90; use absolute coordinates
M83; extruder relative mode
M104 S[first_layer_temperature] ; set extruder temp
M140 S[first_layer_bed_temperature] ; set bed temp
M190 S[first_layer_bed_temperature]; wait for bed temp
M109 S[first_layer_temperature]; wait for extruder temp
T[initial_extruder] P0 ; select tool
M116 P[initial_extruder] ; wait for temperature
G21
M82
M107; fan off
G28 X0 Y0
G28 Z0
G92 E0; reset extruder position to 0
G1 Y5 X5 F3000 ;Move to position
G1 X60 E9.0 F1000 ;Start purge line
G1 X100 E12.5 F1000 ;Finish purge line
G92 E0; reset extruder position to 0
M117 Printing...
Tool Change G-code:
; Custom tool change G-code
T[next_extruder] P0 ; select tool
M116 P[next_extruder] ; wait for temperature
Thanks.
RE: Start & End G-code for my Multi extruder printer
I haven't worked with a multi-extruder setup, but I'd think the T parameter in the M104/M109 commands would do what you want. As you activate one, lower the other.
It is probably worth taking a look at gcode generated by ideaMaker and comparing the layer change gcode they use.
RE: Start & End G-code for my Multi extruder printer
@bobstro
I have attached a G-code from Ideamaker, if you can understand how they do it, it will be great because I don't 🤔Ideamaker_20mm_calibration_cube
RE: Start & End G-code for my Multi extruder printer
I just looked through the gcode. Temperatures are set for both extruders in lines 17-20 and the printer waits for each to come up to full temperature (205C). After that switch, I only see filament being retracted on tool changes. I don't see any temperature adjustments on tool change. Are you certain the temperature of the unused hotend is reduced after switching when slicing with ideaMaker?
Two thoughts:
- Does the Raise 3D printer implement any sort of on-board temp changes on tool change? Might there be a custom gcode command to set this? (I didn't notice anything.)
- I've looked through PrusaSlicer's settings and don't see anything to adjust temps on tool change.
Again though, I don't use a multi-extruder setup, so may be missing something obvious.
RE: Start & End G-code for my Multi extruder printer
@bobstro
You could be right, there might be something in the printer that adjust temps on tool change.
I know it will not be easy!