Sending Gcode file with multiple commands to duet 2 wifi
-
Hello,
I am new to the Gcode world and I wanted some help. Currently working on a project that is not a 3-d printer but a stationary extruder where fiber runs below it and it releases material on to that fiber. The components attached to the duet2wifi: extruder, heaters, thermistors, and stepper motor. Is there a way to create and run a Gcode file that says :
Turn on heaters to 260 C
and then run the stepper motors E0, E1 (extruder, and material).I did use the RRF config tool to configure everything, but I am not sure how to write the code (mentioned above) into a file and run in it
Your help will be greatly appreciated.
-
https://duet3d.dozuki.com/Wiki/Gcode#Section_M109_Set_Extruder_Temperature_and_Wait
M109 S260
the second is actually done in configuration. see
http://blog.think3dprint3d.com/2016/12/using-diamond-hotend-with-duetwifi.htmlYou define a tool with 2 extruders and set the mixing ratio.
then a normal extrusion will trigger e0 and e1 depending on the defined mixing ratio
-
@malsager42 said in Sending Gcode file with multiple commands to duet 2 wifi:
write the code (mentioned above) into a file and run in it
It is most common to generate a gcode file with a Slicer (3d Print) or CAM (CNC). However, it is absolutely OK to hand edit one as well. To hand-edit:
-
Any file name. Convention is to end in ".g", but the printer does not require it.
-
Any text editor (that produces a plain file; so not Word, for example). Notepad, Notepad+, Sublime, Atomic, vi, nano, whatever. The printer will take linux or windows line-end characters.
-
To upload the resulting file to the printer:
-
To run that file, click or right click and select "run".
-
-
@Veti Thank you.
I have an expansion board and will be installing 7 heaters in total.
Is there a way to use M109 command on several heaters and set the heaters at different temperatures?
for example E0 heater 230 c, E1 heater 220 cthank you
-
if you have configured multiple tools then the Tx parameter of the M109 commands specifies the tool that the temperature applies to.
-
@malsager42 said in Sending Gcode file with multiple commands to duet 2 wifi:
Is there a way to use M109 command on several heaters and set the heaters at different temperatures?
for example E0 heater 230 c, E1 heater 220 cYou would be much better off defining one tool that uses several heaters, using G10 to set the heater temperatures, then M116 when you want to wait for them to reach the assigned temperatures. M109 doesn't handle tools with multiple heaters.
-
This post is deleted!