• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Tool change script S3D TEMPERATURE

Scheduled Pinned Locked Moved
General Discussion
4
13
1.3k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    JV
    last edited by 18 Apr 2019, 13:14

    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 E1

    The 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

    1 Reply Last reply Reply Quote 0
    • undefined
      johnjohn1990
      last edited by johnjohn1990 18 Apr 2019, 13:25

      I put a dollar sign in the S command when i used s3d...

      M109 S$

      Dont know if this works for you though...

      undefined 1 Reply Last reply 19 Apr 2019, 09:16 Reply Quote 0
      • undefined
        johnjohn1990
        last edited by 18 Apr 2019, 13:27

        Or use M116 which is the reprap gcode for it, as far as i have understood

        1 Reply Last reply Reply Quote 0
        • undefined
          dc42 administrators
          last edited by dc42 18 Apr 2019, 21:16

          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).

          Duet WiFi hardware designer and firmware engineer
          Please do not ask me for Duet support via PM or email, use the forum
          http://www.escher3d.com, https://miscsolutions.wordpress.com

          undefined 1 Reply Last reply 19 Apr 2019, 09:14 Reply Quote 1
          • undefined
            DanL
            last edited by 19 Apr 2019, 03:49

            @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.

            DanL

            1 Reply Last reply Reply Quote 0
            • undefined
              dc42 administrators
              last edited by 19 Apr 2019, 06:58

              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.

              Duet WiFi hardware designer and firmware engineer
              Please do not ask me for Duet support via PM or email, use the forum
              http://www.escher3d.com, https://miscsolutions.wordpress.com

              undefined 1 Reply Last reply 19 Apr 2019, 07:47 Reply Quote 0
              • undefined
                DanL @dc42
                last edited by DanL 19 Apr 2019, 07:47

                @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

                undefined 1 Reply Last reply 19 Apr 2019, 07:58 Reply Quote 0
                • undefined
                  dc42 administrators @DanL
                  last edited by dc42 19 Apr 2019, 07:58

                  @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!

                  Duet WiFi hardware designer and firmware engineer
                  Please do not ask me for Duet support via PM or email, use the forum
                  http://www.escher3d.com, https://miscsolutions.wordpress.com

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    JV @dc42
                    last edited by 19 Apr 2019, 09:14

                    @dc42 thanks, i'll try to do it as you said
                    and i"ll let you know

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      JV @johnjohn1990
                      last edited by 19 Apr 2019, 09:16

                      @johnjohn1990
                      Thanks John i'll check if dollars sign works.
                      And i'll let you know

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        DanL
                        last edited by 20 Apr 2019, 13:41

                        Apologies for the rant and for the extreme hijack. Was a bad evening....
                        Sorry.

                        DanL

                        1 Reply Last reply Reply Quote 1
                        • undefined
                          JV
                          last edited by 29 Apr 2019, 14:47

                          @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?

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            dc42 administrators
                            last edited by 29 Apr 2019, 15:10

                            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.

                            Duet WiFi hardware designer and firmware engineer
                            Please do not ask me for Duet support via PM or email, use the forum
                            http://www.escher3d.com, https://miscsolutions.wordpress.com

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post
                            Unless otherwise noted, all forum content is licensed under CC-BY-SA