Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Questions on Startup Script

    Duet Hardware and wiring
    2
    4
    78
    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.
    • BlueDust
      BlueDust last edited by

      I am trying to create one script to enable and heat up my bed and hotend, but having trouble understanding the best way to do it.
      I used to have a few scripts, and while looking into each Gcode command it seems at least one has been deprecated, and possibly why I am having trouble.

      How do I choose to enable Standby or Active for each, the hotend and bed. It seems I was able to control this for the Hotend at one point, but when I figured out how to make it Active, I do not know what I did to make it standby. It may have worked when I used the deprecated command (M104)... I have only been able to get the bed to work in Active mode, and not Standby.

      M140 R60 S75 		;Bed Temp
      T0		        ;Enable Hotend - Active.
      G10 P0 R200 S245	;Hotend Temp
      M116 			;Wait for heater teamps
      
      G28
      G32
      G29
      G0 X125 Y0 Z25 F6000
      

      What is the difference between Standby and Active? Only the Temp setting differences? Do they have a use case? Possibly only when having multiple extruders?

      Thanks!

      Fun, that 3 letter word with "u" in the middle.

      1 Reply Last reply Reply Quote 0
      • Danal
        Danal last edited by

        @BlueDust said in Questions on Startup Script:

        only when having multiple extruders

        Correct.

        Delta / Kossel printer fanatic

        1 Reply Last reply Reply Quote 0
        • Danal
          Danal last edited by Danal

          And G10 is a good CONFIGURATION command for setting Hot end Active and Standby temps, so that they will happen automatically as you switch tools. As you said, ONLY useful on a Multi-Extruder printer.

          To simply set the current tool, and/or wait on it, use M104 (to set, no wait) M109 (to set and wait). Also, for the bed, consider M190 to wait. This helps prevent cooking the hotend with a bed that takes a while. The temp section of my typical G-Code job startup:

          T0
          M190 S60
          M104 S210
          M109 S210

          Delta / Kossel printer fanatic

          BlueDust 1 Reply Last reply Reply Quote 2
          • BlueDust
            BlueDust @Danal last edited by

            @Danal
            Thanks!

            Fun, that 3 letter word with "u" in the middle.

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