Hi All,
Having some Gcode issues.
What I'm trying to do is purge both extruders on my MakerGear M2... however before I keep wasting PLA, let me ask you guys/girls what I'm doing wrong.
Starting script:::
M108 S255 ; turn on M2 fans
G28 ; home all axes
G1 Y50 Z0.3 F9600 ; move forward to avoid binder clips
G1 X209 Z10 ; move off platform
G1 Z0.4 ; position nozzle
G92 E0 ; zero extruder
G1 E25 F225 ; purge E0 nozzle
T1 ; Change to Extruder E1 (T1)
G1 E25 F225 ; purge E1 nozzle
T0 ; Change to Extruder E0 (T0)
G92 E0 ; zero extruder
G1 X190 Z0.1 E1.0 F1200 ; slow wipe
G1 X180 Z0.25 ; lift
So what it's doing is only purging Extruder 1.. doesn't do much anything else, then starts the print.
Also, if anyone has a better script(s) that would help teach a man to fish...
Dual Ext & Simplify GCODe questions
Re: Dual Ext & Simplify GCODe questions
Make sure T0 is selected when you start.
Here is my startup gcode for dual. I just replicate the usual dance to do the purge in two parts. Some subtleties:
Do T1 first, then T0 (assuming you're going to start printing with T0). This leaves T1 primed and drooling all over the place for the first layer, because I haven't figured out how to retract/extrude on tool change for the first layer. Every layer after that, the Tool Change Retraction settings in the Advanced tab kick in, but not for the first layer. If T1 is your support extruder and you're laying down a raft, you may want to switch the purging order.
Don't do the second wipe directly over the first one. I move it slightly in Y for the second purge.
Here is my startup gcode for dual. I just replicate the usual dance to do the purge in two parts. Some subtleties:
Do T1 first, then T0 (assuming you're going to start printing with T0). This leaves T1 primed and drooling all over the place for the first layer, because I haven't figured out how to retract/extrude on tool change for the first layer. Every layer after that, the Tool Change Retraction settings in the Advanced tab kick in, but not for the first layer. If T1 is your support extruder and you're laying down a raft, you may want to switch the purging order.
Don't do the second wipe directly over the first one. I move it slightly in Y for the second purge.
Code: Select all
M201 X1000 Y1000 ; lower default accelerations
T0
G28 X Y
G1 X50 F9600
G28 Z
T1
G1 Y50 Z0.3 F9600 ; move forward to avoid binder clips
G1 X215 Z10 ; move off platform
G1 Z0.4 ; position nozzle
G92 E0 ; zero extruder
G1 E20 F225 ; purge nozzle
G92 E0 ; zero extruder
G1 X190 Z0.1 E1.0 F1200 ; slow wipe
G1 X180 Z0.25 ; lift
T0
G1 X215 Y45 Z10 F9600 ; move off platform
G1 Z0.4 ; position nozzle
G92 E0 ; zero extruder
G1 E20 F225 ; purge nozzle
G92 E0 ; zero extruder
G1 X190 Z0.1 E1.0 F1200 ; slow wipe
G1 X180 Z0.25 ; lift
Re: Dual Ext & Simplify GCODe questions
In S3d there is a section to add custom tool change gcode. Same area as custom startin / ending gcode under tool change tab. I have seen videos of on tool change the nozzle move off the build plate retract last used nozzle and prime unused and back to print each time a color change is needed.
Re: Dual Ext & Simplify GCODe questions
jsc wrote:Make sure T0 is selected when you start.
Here is my startup gcode for dual. I just replicate the usual dance to do the purge in two parts. Some subtleties:
Do T1 first, then T0 (assuming you're going to start printing with T0). This leaves T1 primed and drooling all over the place for the first layer, because I haven't figured out how to retract/extrude on tool change for the first layer. Every layer after that, the Tool Change Retraction settings in the Advanced tab kick in, but not for the first layer. If T1 is your support extruder and you're laying down a raft, you may want to switch the purging order.
Don't do the second wipe directly over the first one. I move it slightly in Y for the second purge.
Code: Select all
M201 X1000 Y1000 ; lower default accelerations T0 G28 X Y G1 X50 F9600 G28 Z T1 G1 Y50 Z0.3 F9600 ; move forward to avoid binder clips G1 X215 Z10 ; move off platform G1 Z0.4 ; position nozzle G92 E0 ; zero extruder G1 E20 F225 ; purge nozzle G92 E0 ; zero extruder G1 X190 Z0.1 E1.0 F1200 ; slow wipe G1 X180 Z0.25 ; lift T0 G1 X215 Y45 Z10 F9600 ; move off platform G1 Z0.4 ; position nozzle G92 E0 ; zero extruder G1 E20 F225 ; purge nozzle G92 E0 ; zero extruder G1 X190 Z0.1 E1.0 F1200 ; slow wipe G1 X180 Z0.25 ; lift
That worked excellent, thank you!
I have another question.
During my tool change I have the extruders going off the build plate to wipe however depending on the extruder currently the Y cord given is not absolute but seems to be relative to the extruder. So depending on the extruder it may or may not make it to the wiper.
Question, how to I make sure the nozzle last used gets to my desired X,Y?
Re: Dual Ext & Simplify GCODe questions
Did you build a wiper? How does it work?
If you are in absolute mode (G90), all coordinates should be absolute. G91 turns on relative mode. The slicer should never output G91 unless you put it in there yourself.
Sometimes it can get confusing with X coordinates if the right tool is not selected, you will be off by 31 mm (or whatever you have for the tool separation). If you are using Tool Change G-Code, you can select the proper tool by using T[new_tool]
If you are in absolute mode (G90), all coordinates should be absolute. G91 turns on relative mode. The slicer should never output G91 unless you put it in there yourself.
Sometimes it can get confusing with X coordinates if the right tool is not selected, you will be off by 31 mm (or whatever you have for the tool separation). If you are using Tool Change G-Code, you can select the proper tool by using T[new_tool]
Re: Dual Ext & Simplify GCODe questions
I did, what I'm doing is adding a silicone rubber wiper near the stepper on the right side so a quick jog to 215 will wipe an then return... actually getting some progress.
thanks for the tip!!
thanks for the tip!!
jsc wrote:Did you build a wiper? How does it work?
If you are in absolute mode (G90), all coordinates should be absolute. G91 turns on relative mode. The slicer should never output G91 unless you put it in there yourself.
Sometimes it can get confusing with X coordinates if the right tool is not selected, you will be off by 31 mm (or whatever you have for the tool separation). If you are using Tool Change G-Code, you can select the proper tool by using T[new_tool]