Custom Extruder Switch Gcode
-
- Posts: 9
- Joined: Thu May 19, 2022 9:44 am
Custom Extruder Switch Gcode
Hi.
I need to create e custom Gcode on Extruder Switch routine and I would need to use the previous temperature and next temperature variablesto set it on extruder P0 and P1 (my printer uses T0 / T1 for tool selection and P0 / P1 to define temperatures).
I can't find it under runtime variables, is there a wai to add and use it on my gcode??
I need to create e custom Gcode on Extruder Switch routine and I would need to use the previous temperature and next temperature variablesto set it on extruder P0 and P1 (my printer uses T0 / T1 for tool selection and P0 / P1 to define temperatures).
I can't find it under runtime variables, is there a wai to add and use it on my gcode??
- Vicky@Raise3D
- Posts: 8553
- Joined: Fri Mar 25, 2016 3:54 am
Re: Custom Extruder Switch Gcode
Would you like to share us some .gcode files as example to show the purpose to change temperature during nozzle switch?
If you are only looking for editing codes for temperature you can use PostProcess to replace.
If you are only looking for editing codes for temperature you can use PostProcess to replace.
-
- Posts: 9
- Joined: Thu May 19, 2022 9:44 am
Re: Custom Extruder Switch Gcode
Hi Vicky, thank you for your reply.
This is what IdeaMaker does on extruder switch by default with Cool Down Inactive Extruder checked
with this code my printer doesn't waith for temperatures to rise. I need to use "P0" and "P1" only in combination with command M109 so it should be:
My idea was to use a custom gcode in extruder switch,i'll use T for select tool and P to set temperatures but temesature it would be a variable by the tool that will be selected in next job. Is there a simple way to do this in IdeaMaker?
This is what IdeaMaker does on extruder switch by default with Cool Down Inactive Extruder checked
Code: Select all
G0 F12000 X750.000 Y649.000 ;move to park position
;PRINTING: default-box.3mf
;PRINTING_ID: 0
G1 F1500 E-10.0000 ;retraction amount of extruder-switch
M109 T1 S225 ; Set work temperature for "Tool 1"
T1
M104 T0 S180 ; Set inactive temperature for "Tool 0"
G0 F12000 X619.517 Y343.550 ;back to print
with this code my printer doesn't waith for temperatures to rise. I need to use "P0" and "P1" only in combination with command M109 so it should be:
Code: Select all
G0 F12000 X750.000 Y649.000 ;move to park position
;PRINTING: default-box.3mf
;PRINTING_ID: 0
G1 F1500 E-10.0000 ;retraction amount of extruder-switch
M109 "P1" S225 ; Set work temperature for "Tool 1"
T1
M104 T0 S180 ; Set inactive temperature for "Tool 0"
G0 F12000 X619.517 Y343.550 ;back to print
My idea was to use a custom gcode in extruder switch,i'll use T for select tool and P to set temperatures but temesature it would be a variable by the tool that will be selected in next job. Is there a simple way to do this in IdeaMaker?
-
- Posts: 9
- Joined: Thu May 19, 2022 9:44 am
Re: Custom Extruder Switch Gcode
Sorry i made some more tests and this is the proper order needed for a tool change on my machine
G1 F3600 E-2.5000 ;Retraction
G0 F12000 X752.550 Y651.700 ;move to park position
G1 F1500 E-10.0000 ;extruder switch retraction
T0 ;select next tool
M104 P1 S180 ;set prewous tool inactive temperature
M109 P0 S220 ;set and wait next tool work temperature (i can't recreate this line with RUNTIME VARIABLES under
extruder switch GCode)
G0 F12000 X775.518 Y298.282 ;back to print
G1 F3600 E-2.5000 ;Retraction
G0 F12000 X752.550 Y651.700 ;move to park position
G1 F1500 E-10.0000 ;extruder switch retraction
T0 ;select next tool
M104 P1 S180 ;set prewous tool inactive temperature
M109 P0 S220 ;set and wait next tool work temperature (i can't recreate this line with RUNTIME VARIABLES under
extruder switch GCode)
G0 F12000 X775.518 Y298.282 ;back to print
- Vicky@Raise3D
- Posts: 8553
- Joined: Fri Mar 25, 2016 3:54 am
Re: Custom Extruder Switch Gcode
If you need M109 replacement, you can use Postprocess.
These two lines are for Left and Right.
These two lines are for Left and Right.
-
- Posts: 9
- Joined: Thu May 19, 2022 9:44 am
Re: Custom Extruder Switch Gcode
ok, this is good but before doing this i need to get T0/T1 working temps see img below.
I need it because I must change IdeaMaker comands order
I need it because I must change IdeaMaker comands order
G1 F3600 E-2.5000 ;Retraction
G0 F12000 X752.550 Y651.700 ;move to park position
G1 F1500 E-10.0000 ;extruder switch retraction
T0 ;need to select next tool before set temperature
M104 T1 S180 ;set prewous tool inactive temperature
M109 T0 S220 ;set and wait next tool work temperature (i can't recreate this line with RUNTIME VARIABLES under
extruder switch GCode)
G0 F12000 X775.518 Y298.282 ;back to print
- Vicky@Raise3D
- Posts: 8553
- Joined: Fri Mar 25, 2016 3:54 am
Re: Custom Extruder Switch Gcode
The main reason selecing endpoints of segments as Start Points instead of anywhere in middle is to not break the integral shell segments down.
For belt printer, ideaMaker will add extra process for Belt Wall to pick the start points in middle of Belt Wall. The other structures will be still be the endpoints of segments.
We are trying to developing more tools to give users more freedom to pick the start points on surfaces of the model.
For belt printer, ideaMaker will add extra process for Belt Wall to pick the start points in middle of Belt Wall. The other structures will be still be the endpoints of segments.
We are trying to developing more tools to give users more freedom to pick the start points on surfaces of the model.
-
- Posts: 9
- Joined: Thu May 19, 2022 9:44 am
Re: Custom Extruder Switch Gcode
I'm not sure what you mean by your last answer, it seems we can't understand each other.
I really appreciate your efforts to solve this issue. it's really hard to explain for me because english is not my first language.
i'll try to explain you my issue in a different way:
- We bought a custom large-format 3D printer with Duet 3 Mini 5+ control board (img. 1)
- the printer need T0/T1 for select job tool and P0/P1 to set heater temperature
-Please see the simple gcode that i made (img.2), i can't find the variable wrote in red. This simple script is what i need under Extruder Switc GCode
I really appreciate your efforts to solve this issue. it's really hard to explain for me because english is not my first language.
i'll try to explain you my issue in a different way:
- We bought a custom large-format 3D printer with Duet 3 Mini 5+ control board (img. 1)
- the printer need T0/T1 for select job tool and P0/P1 to set heater temperature
-Please see the simple gcode that i made (img.2), i can't find the variable wrote in red. This simple script is what i need under Extruder Switc GCode
- Vicky@Raise3D
- Posts: 8553
- Joined: Fri Mar 25, 2016 3:54 am
Re: Custom Extruder Switch Gcode
Are you looking for a new placeholder to represent next temperature value?
If so, we can create a beta version software with a new Placeholder created for you.
If so, we can create a beta version software with a new Placeholder created for you.
-
- Posts: 9
- Joined: Thu May 19, 2022 9:44 am
Re: Custom Extruder Switch Gcode
I'm not sure what you mean when you say "placeholder", but yes, I need what in IdeaMaker is called runtime variable to get the next extruder working temperatures for both because it's not always true that are the same value.
For example if I work with support material and regular PLA i set temperatures value at 225 for support and 200 for PLA.
So if extruder 0 have PLA and extruder1 have support my GCode should be:
start print with PLA
G0 X725 Y625
T (new extruder) --->T0
M104 P(old extruder) S180 --->M104 P1 S180
M109 P(new extruder) S(new extruder temperature) --->M109 P0 S200
start print with support
G0 X725 Y625
T (new extruder) --->T1
M104 P(old extruder) S180 --->M104 P0 S180
M109 P(new extruder) S(new extruder temperature) --->M109 P1 S225
For example if I work with support material and regular PLA i set temperatures value at 225 for support and 200 for PLA.
So if extruder 0 have PLA and extruder1 have support my GCode should be:
start print with PLA
G0 X725 Y625
T (new extruder) --->T0
M104 P(old extruder) S180 --->M104 P1 S180
M109 P(new extruder) S(new extruder temperature) --->M109 P0 S200
start print with support
G0 X725 Y625
T (new extruder) --->T1
M104 P(old extruder) S180 --->M104 P0 S180
M109 P(new extruder) S(new extruder temperature) --->M109 P1 S225
- Vicky@Raise3D
- Posts: 8553
- Joined: Fri Mar 25, 2016 3:54 am
Re: Custom Extruder Switch Gcode
We have added new Placeholder {new_temperature} to replace the new target temperature of nozzle.
-
- Posts: 9
- Joined: Thu May 19, 2022 9:44 am
Re: Custom Extruder Switch Gcode
oh ok...how can I get it??
- Vicky@Raise3D
- Posts: 8553
- Joined: Fri Mar 25, 2016 3:54 am
Re: Custom Extruder Switch Gcode
Download link sent via PM.
-
- Posts: 9
- Joined: Thu May 19, 2022 9:44 am
Re: Custom Extruder Switch Gcode
Ok...I did some tests with Beta that you sent to me.
Here what comes from:
- Under GCode - Extruder Switch tab I write these few lines (img1)
- Under Temperature I set Left Extruder to 225 and Right Extruder to 200 (img2)
- As you can see in the resulted GCode (img3/4) new temperature is always set to 0.
Hope I set target temperatures in the right place, New Temperature should be 225 when is selected T0 and 200 when selected T1.
Thanks a lot for your work.
Here what comes from:
- Under GCode - Extruder Switch tab I write these few lines (img1)
- Under Temperature I set Left Extruder to 225 and Right Extruder to 200 (img2)
- As you can see in the resulted GCode (img3/4) new temperature is always set to 0.
Hope I set target temperatures in the right place, New Temperature should be 225 when is selected T0 and 200 when selected T1.
Thanks a lot for your work.
- Vicky@Raise3D
- Posts: 8553
- Joined: Fri Mar 25, 2016 3:54 am
Re: Custom Extruder Switch Gcode
I will share an updated fix version with you via PM.
-
- Posts: 9
- Joined: Thu May 19, 2022 9:44 am
Re: Custom Extruder Switch Gcode
Hi, Vicky and thank you so much. That's great, just what I was looking for.
Who is online
Users browsing this forum: No registered users and 2 guests