Tool change script S3D TEMPERATURE
-
Hello guys
I have an issue with the tool change script in Simplify 3d, i wrote this.{IF NEWTOOL=0}G1 X-85 Y140 F30000
{IF NEWTOOL=0}M104 S190 T1; set T1 inactive extruder to 165 C
{IF NEWTOOL=0}M109 P1 ; Wait for last command
{IF NEWTOOL=0}M109 S[extruder0_temparature] T0; Set T0 Heat to S3D temp
{IF NEWTOOL=0}G92 E0{IF NEWTOOL=1}T1
{IF NEWTOOL=1}G1 X890 Y140 F30000
{IF NEWTOOL=1}M104 S190 T0; Cool T0 to 165 inactive extruder to 165 C
{IF NEWTOOL=1}M109 P0 ; Wait for last command
{IF NEWTOOL=1}M109 S[extruder1_temperature] T1; set T1 Heat to S3D Temp
{IF NEWTOOL=1}G92 E1The problem is that i have to put the temperature in the script for each tool in the script any time that i have to do a new program and thats not the right procedure.
If i'm not wrong whit this script the tool should take the temperature that i put in the S3D parameters but it doesn't happens.
Anybody understand why the script doesn't work correctly?
Thanks
-
I put a dollar sign in the S command when i used s3d...
M109 S$
Dont know if this works for you though...
-
Or use M116 which is the reprap gcode for it, as far as i have understood
-
Why not use the RepRapFirmware tool change files instead? Then all you need to do is use G10 to set the active and standby temperatures at the start of the print, and at any layers where you want to change the extrusion temperature(s).
-
@dc42 blasted with new info at every turn....
As a noob I'm exhausted from all the searching so far just to get all the basic print functions working. Is there any one -stop-shop to get at least an index to all the Duet Gcode setup info? As I search I keep finding tangent, but relevant info, (like your tidbit about tool change files use) and pretty soon I'm in a do-loop. It's kind of like having a 1000 page user manual with the pages scattered all over the floor.
e.g., I have everything coded and working now with all T's in the S3D start up script. Simple question....can pretty much all process settings be done with Duet (tool files) and just bring in a S3D generated .stl? Maybe not even a valid question....tired and confused...late here. -
Is there any one -stop-shop to get at least an index to all the Duet Gcode setup info?
A good place to start is https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCartesianPrinter. If your printer isn't a Cartesian, then read the pages applicable to your printer geometry too.
Detailed information on each particular G- and M-code command is at https://duet3d.dozuki.com/Wiki/Gcode.
-
@dc42 Yes, thanks...have used those extensively...and Duet 3D Documentation. And Google.
But for a noob, even simple stuff can be a struggle. Still can't figure out why I can't change the status of my simple mswitch filament out sensor. S1 or S2 setting makes no difference. It will operate only as NO.
Also, paused a print....wonder of wonders! It worked! And I was thinking all along I had to write some macro to make it work. And do I need to write a filament out macro? Or is there already a predefined action?
And then the bed scan/compensation...no problem...works like a champ. And I thought that would be a huge headache.
Just tons of those little questions that pop up.
But really, Duet WiFi is soooo much better than dealing with Marlin (which was also new to me). The Duet hardware, interface, etc are great. And once you get this all working, it's pretty straightforward. Still on the learning curve, but first prints looking good so far.
One more thing....the support here is really good. Thank you. I'm just a bit tired.... -
@danl said in Tool change script S3D TEMPERATURE:
Still can't figure out why I can't change the status of my simple mswitch filament out sensor. S1 or S2 setting makes no difference. It will operate only as NO.
Does the filament present/not present status reported by M591 D# (where # is the extruder drive number) change depending on whether you use S0 or S1?
Also, paused a print....wonder of wonders! It worked! And I was thinking all along I had to write some macro to make it work. And do I need to write a filament out macro? Or is there already a predefined action?
The SD card we ship with Duets includes pause.g and resume.g macros. They may be suitable as-is for some printers. A filament-out condition currently also runs pause.g.
And then the bed scan/compensation...no problem...works like a champ. And I thought that would be a huge headache.
Just tons of those little questions that pop up.
But really, Duet WiFi is soooo much better than dealing with Marlin (which was also new to me). The Duet hardware, interface, etc are great. And once you get this all working, it's pretty straightforward. Still on the learning curve, but first prints looking good so far.
One more thing....the support here is really good. Thank you. I'm just a bit tired....Thanks for the feedback!
-
@dc42 thanks, i'll try to do it as you said
and i"ll let you know -
@johnjohn1990
Thanks John i'll check if dollars sign works.
And i'll let you know -
Apologies for the rant and for the extreme hijack. Was a bad evening....
Sorry. -
@dc42 But it is possible to set the temperature in the S3D and not in the tool change file in the RRF each time that i print some part with diferent material?
-
Yes of course it is. You can configure the temperatures for each extruder independently in S3D. No need to set temperatures in either the RRF tool change files or in S3D tool change scripts.