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

Start / Stop S3D SCRIPT / G-CODE

Scheduled Pinned Locked Moved
Tuning and tweaking
4
53
2.5k
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
    fcwilt @noblebran
    last edited by 8 Jul 2021, 01:09

    @noblebran said in Start / Stop S3D SCRIPT / G-CODE:

    @fcwilt

    @fcwilt said in Start / Stop S3D SCRIPT / G-CODE:

    Perhaps if you look back at my print_begin.g file that I posted it will make more sense.

    I apologize I didn't see where it was, you mean the parts that are listed underneath it or the actual code itself?

    My first post to you included my complete print_begin.g and print_end.g files.

    In my next to last post I simply listed the basics things that needed to be done before a print.

    I thought perhaps my files might make sense now that we have conversed.

    Frederick

    Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

    undefined 1 Reply Last reply 8 Jul 2021, 01:41 Reply Quote 0
    • undefined
      noblebran @fcwilt
      last edited by 8 Jul 2021, 01:41

      @fcwilt said in Start / Stop S3D SCRIPT / G-CODE:

      My first post to you included my complete print_begin.g and print_end.g files.
      In my next to last post I simply listed the basics things that needed to be done before a print.
      I thought perhaps my files might make sense now that we have conversed.
      Frederick

      I am sorry, yes I see it. I can make it work. I don't know if you want me to post here but can I put my files that I create and have you do a sanity check? I appreciate it.

      Now I have to deal with my fans not working now (always on fans).

      Thank you again sir.

      I own a Tevo Little Monster but there isn't much left of that except for the frame. Duet 2 Wifi + PanelDue 7i.

      undefined undefined 2 Replies Last reply 8 Jul 2021, 02:04 Reply Quote 1
      • undefined
        fcwilt @noblebran
        last edited by 8 Jul 2021, 02:04

        @noblebran

        Certainly post your files here.

        We all are glad to check them over and make suggestions.

        Frederick

        Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

        undefined 4 Replies Last reply 11 Jul 2021, 01:43 Reply Quote 0
        • undefined
          noblebran @noblebran
          last edited by 8 Jul 2021, 02:05

          @noblebran Thank you sir! Be well!

          I own a Tevo Little Monster but there isn't much left of that except for the frame. Duet 2 Wifi + PanelDue 7i.

          1 Reply Last reply Reply Quote 1
          • undefined
            noblebran @fcwilt
            last edited by 11 Jul 2021, 01:43

            @fcwilt said in Start / Stop S3D SCRIPT / G-CODE:

            @noblebran

            Certainly post your files here.

            We all are glad to check them over and make suggestions.

            Frederick

            Here is my load filament file (not sure if its the most efficient but it works)

            M104 P1 S225
            M83
            M104 S230 T0
            M109 S230 T0
            G1 E300 F500 ; LOAD FILAMENT
            M104 P1 S0

            I own a Tevo Little Monster but there isn't much left of that except for the frame. Duet 2 Wifi + PanelDue 7i.

            1 Reply Last reply Reply Quote 0
            • undefined
              noblebran @fcwilt
              last edited by 11 Jul 2021, 01:44

              @fcwilt said in Start / Stop S3D SCRIPT / G-CODE:

              @noblebran

              Certainly post your files here.

              We all are glad to check them over and make suggestions.

              Frederick

              UNLOAD

              M104 P1 S225
              M83
              M104 S230 T0
              M109 S230 T0
              G1 E15 F250 ;LOAD FILAMENT
              G1 E-600 F3500 ;UNLOAD FILAMENT
              M104 P1 S0

              I own a Tevo Little Monster but there isn't much left of that except for the frame. Duet 2 Wifi + PanelDue 7i.

              1 Reply Last reply Reply Quote 0
              • undefined
                noblebran @fcwilt
                last edited by 11 Jul 2021, 01:49

                @fcwilt said in Start / Stop S3D SCRIPT / G-CODE:

                @noblebran

                Certainly post your files here.

                We all are glad to check them over and make suggestions.

                Frederick

                My start in my slicer:

                G28; HOME
                ;G32 (REMOVE SEMI IF YOU WANT TO REMAP)
                G29 S1; USE STORED MESH
                G92 E1; SET EXTRUDER TO 1

                I own a Tevo Little Monster but there isn't much left of that except for the frame. Duet 2 Wifi + PanelDue 7i.

                undefined 1 Reply Last reply 11 Jul 2021, 02:36 Reply Quote 0
                • undefined
                  noblebran @fcwilt
                  last edited by 11 Jul 2021, 01:51

                  @fcwilt said in Start / Stop S3D SCRIPT / G-CODE:

                  @noblebran

                  Certainly post your files here.

                  We all are glad to check them over and make suggestions.

                  Frederick

                  I kept most of your ending script:

                  M291 R"Finishing Print" P"Please wait..." T0
                  M83 ; extruder relative
                  G1 E-1 F3600 ; retract filament
                  M106 P0 S0 ; turn part fan off
                  G10 P0 S-999 R-999 ; turn extruder heater off (also sets temps to zero)
                  T-1 ; deselect all tools
                  M140 S0 ; set bed heater active temp to 0
                  M140 S-999 ; turn bed heater off
                  G91 ; relative moves
                  G1 Z100 F1200 ; move the nozzle out of the way - step 1
                  G90 ; absolute moves
                  G1 X0 Y150 F3000 ; move the nozzle out of the way - step 2
                  G28
                  M118 L0 P4 S"FT5|Print Finished"
                  M291 R"Print Finished" P"OK" T0

                  I own a Tevo Little Monster but there isn't much left of that except for the frame. Duet 2 Wifi + PanelDue 7i.

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    fcwilt @noblebran
                    last edited by 11 Jul 2021, 02:36

                    @noblebran said in Start / Stop S3D SCRIPT / G-CODE:

                    @fcwilt said in Start / Stop S3D SCRIPT / G-CODE:

                    @noblebran

                    Certainly post your files here.

                    We all are glad to check them over and make suggestions.

                    Frederick

                    My start in my slicer:

                    G28; HOME
                    ;G32 (REMOVE SEMI IF YOU WANT TO REMAP)
                    G29 S1; USE STORED MESH
                    G92 E1; SET EXTRUDER TO 1

                    Does your homing script set the Z=0 datum?

                    And why are you not waiting for temps to reach their set points?

                    Frederick

                    Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                    undefined 1 Reply Last reply 11 Jul 2021, 04:07 Reply Quote 0
                    • undefined
                      noblebran @fcwilt
                      last edited by 11 Jul 2021, 04:07

                      @fcwilt said in Start / Stop S3D SCRIPT / G-CODE:

                      @noblebran said in Start / Stop S3D SCRIPT / G-CODE:

                      @fcwilt said in Start / Stop S3D SCRIPT / G-CODE:

                      @noblebran

                      Certainly post your files here.

                      We all are glad to check them over and make suggestions.

                      Frederick

                      My start in my slicer:

                      G28; HOME
                      ;G32 (REMOVE SEMI IF YOU WANT TO REMAP)
                      G29 S1; USE STORED MESH
                      G92 E1; SET EXTRUDER TO 1

                      Does your homing script set the Z=0 datum?

                      And why are you not waiting for temps to reach their set points?

                      Frederick

                      When it comes z=515. 0 would right at the print surface. I have found on the deltas this is the correct way?

                      In the config.g it calls out for the temps to reach their set points.

                      I own a Tevo Little Monster but there isn't much left of that except for the frame. Duet 2 Wifi + PanelDue 7i.

                      undefined 1 Reply Last reply 11 Jul 2021, 04:32 Reply Quote 0
                      • undefined
                        fcwilt @noblebran
                        last edited by 11 Jul 2021, 04:32

                        @noblebran said in Start / Stop S3D SCRIPT / G-CODE:

                        When it comes z=515. 0 would right at the print surface. I have found on the deltas this is the correct way?

                        Don't know what you mean.

                        In the config.g it calls out for the temps to reach their set points.

                        Config.g? You mean the main config.g?

                        Frederick

                        Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                        undefined 1 Reply Last reply 11 Jul 2021, 12:48 Reply Quote 0
                        • undefined
                          noblebran @fcwilt
                          last edited by 11 Jul 2021, 12:48

                          @fcwilt said in Start / Stop S3D SCRIPT / G-CODE:

                          Don't know what you mean.

                          0 is the print surface, so when I home z=515 and when it prints itโ€™s .xxxx

                          @fcwilt said in Start / Stop S3D SCRIPT / G-CODE:

                          Config.g? You mean the main config.g?

                          Yes sir.

                          I own a Tevo Little Monster but there isn't much left of that except for the frame. Duet 2 Wifi + PanelDue 7i.

                          undefined 1 Reply Last reply 11 Jul 2021, 13:03 Reply Quote 0
                          • undefined
                            fcwilt @noblebran
                            last edited by 11 Jul 2021, 13:03

                            @noblebran said in Start / Stop S3D SCRIPT / G-CODE:

                            Config.g? You mean the main config.g?

                            Yes sir.

                            How can you be waiting for hotends/bed to reach temps when you cannot, as a practical matter, set them in config.g?

                            Frederick

                            Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                            undefined undefined 2 Replies Last reply 11 Jul 2021, 13:54 Reply Quote 0
                            • undefined
                              noblebran @fcwilt
                              last edited by 11 Jul 2021, 13:54

                              @fcwilt said in Start / Stop S3D SCRIPT / G-CODE:

                              @noblebran said in Start / Stop S3D SCRIPT / G-CODE:

                              Config.g? You mean the main config.g?

                              Yes sir.

                              How can you be waiting for hotends/bed to reach temps when you cannot, as a practical matter, set them in config.g?

                              Frederick

                              It must be done in the slicer? I choose the bed and temp setting, after I slice it in S3D, it has the code in the file (part GCODE file).

                              I own a Tevo Little Monster but there isn't much left of that except for the frame. Duet 2 Wifi + PanelDue 7i.

                              undefined 1 Reply Last reply 11 Jul 2021, 14:17 Reply Quote 0
                              • undefined
                                fcwilt @noblebran
                                last edited by 11 Jul 2021, 14:17

                                @noblebran said in Start / Stop S3D SCRIPT / G-CODE:

                                How can you be waiting for hotends/bed to reach temps when you cannot, as a practical matter, set them in config.g?

                                Frederick

                                It must be done in the slicer? I choose the bed and temp setting, after I slice it in S3D, it has the code in the file (part GCODE file).

                                No, it does not have to be done in the slicer.

                                I do it using the filament handling feature in the DWC.

                                I have entered in a number of different filaments that I use into the DWC.

                                For each filament entered there is a special config.g file created.

                                My start code is in a file named print_begin.g and is invoked from the slicer with M98 P"print_begin.g"

                                In that file I have (among other things) this:

                                T0 ; select tool 0 so extruder commands below will work
                                M703 ; configure selected filament (sets bed/extruder temps, extrusion multiplier)
                                ; some other unrelated commands
                                M116 ; wait for temps to reach set points

                                That M703 command invokes the special config.g file for the currently selected filament and in that file I have any commands I want unique to that filament and in that file I set, at a minimum, the bed temp, the hotend temp and the extrusion multiplier.

                                I have found this to be an effective way to set my temps and I can use different slicers easily as the start code is on the Duet, not in the slicer.

                                But this is just my way. You should do it in whatever way suits you the best.

                                Frederick

                                Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                                undefined 1 Reply Last reply 11 Jul 2021, 14:19 Reply Quote 0
                                • undefined
                                  noblebran @fcwilt
                                  last edited by 11 Jul 2021, 14:19

                                  @fcwilt said in Start / Stop S3D SCRIPT / G-CODE:

                                  @noblebran said in Start / Stop S3D SCRIPT / G-CODE:

                                  How can you be waiting for hotends/bed to reach temps when you cannot, as a practical matter, set them in config.g?

                                  Frederick

                                  It must be done in the slicer? I choose the bed and temp setting, after I slice it in S3D, it has the code in the file (part GCODE file).

                                  No, it does not have to be done in the slicer.

                                  I do it using the filament handling feature in the DWC.

                                  I have entered in a number of different filaments that I use into the DWC.

                                  For each filament entered there is a special config.g file created.

                                  My start code is in a file named print_begin.g and is invoked from the slicer with M98 P"print_begin.g"

                                  In that file I have (among other things) this:

                                  T0 ; select tool 0 so extruder commands below will work
                                  M703 ; configure selected filament (sets bed/extruder temps, extrusion multiplier)
                                  ; some other unrelated commands
                                  M116 ; wait for temps to reach set points

                                  That M703 command invokes the special config.g file for the currently selected filament and in that file I have any commands I want unique to that filament and in that file I set, at a minimum, the bed temp, the hotend temp and the extrusion multiplier.

                                  I have found this to be an effective way to set my temps and I can use different slicers easily as the start code is on the Duet, not in the slicer.

                                  But this is just my way. You should do it in whatever way suits you the best.

                                  Frederick

                                  Thank you sir, I find I like to 'master' one slicer and I guess I almost put all my eggs in one basket so to speak. I will certainly take advantage of the way you are doing it but I want to get successful at printing the way I am now. I can say my load and unload macros work, ha ha... baby steps ๐Ÿ™‚

                                  Again thank you for helping!

                                  I own a Tevo Little Monster but there isn't much left of that except for the frame. Duet 2 Wifi + PanelDue 7i.

                                  1 Reply Last reply Reply Quote 1
                                  • undefined
                                    Phaedrux Moderator @fcwilt
                                    last edited by 11 Jul 2021, 16:48

                                    @fcwilt said in Start / Stop S3D SCRIPT / G-CODE:

                                    when you cannot, as a practical matter, set them in config.g?

                                    Well, you can set the nozzle and have it take effect with a G10 and T0 to select the tool you can get it to heat right at boot. Whether or not you SHOULD is another matter entirely.

                                    Z-Bot CoreXY Build | Thingiverse Profile

                                    undefined 1 Reply Last reply 11 Jul 2021, 16:51 Reply Quote 1
                                    • undefined
                                      fcwilt @Phaedrux
                                      last edited by 11 Jul 2021, 16:51

                                      @phaedrux said in Start / Stop S3D SCRIPT / G-CODE:

                                      @fcwilt said in Start / Stop S3D SCRIPT / G-CODE:

                                      when you cannot, as a practical matter, set them in config.g?

                                      Well, you can set the nozzle and have it take effect with a G10 and T0 to select the tool you can get it to heat right at boot. Whether or not you SHOULD is another matter entirely.

                                      Which is why I said practical. Editing config.g just to specify different temperatures is not what I would call practical.

                                      But that's just me.

                                      Frederick

                                      Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                                      undefined 1 Reply Last reply 11 Jul 2021, 16:52 Reply Quote 0
                                      • undefined
                                        Phaedrux Moderator @fcwilt
                                        last edited by 11 Jul 2021, 16:52

                                        @fcwilt In that case, yes you're completely right. It's very impractical and ill advised.

                                        Z-Bot CoreXY Build | Thingiverse Profile

                                        undefined 1 Reply Last reply 11 Jul 2021, 17:16 Reply Quote 1
                                        • undefined
                                          noblebran @Phaedrux
                                          last edited by 11 Jul 2021, 17:16

                                          @phaedrux @fcwilt

                                          Thank you both!

                                          I own a Tevo Little Monster but there isn't much left of that except for the frame. Duet 2 Wifi + PanelDue 7i.

                                          undefined 1 Reply Last reply 11 Jul 2021, 17:39 Reply Quote 1
                                          41 out of 53
                                          • First post
                                            41/53
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA