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

    How change the routine before you start printing?

    Scheduled Pinned Locked Moved
    General Discussion
    2
    5
    778
    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.
    • peirofundefined
      peirof
      last edited by

      Hi,

      I'm starting to print with the modified TLM … and I have some doubts.

      When you send a job to print Can you modify what the printer does before you start printing?

      why do I ask this question ...

      Before printing, I calibrate and use the bed compensation. When I have made these protocols, I send a file to print, for now in PLA, layer height 0.2.

      But, despite being the printer calibrated and with the bed compensation made, start printing away from the bed, I think, I'm not sure, that part of the fault has the orders that the printer executes before printing, mainly that it makes a Homing of the axes. I guess that by doing this, the printer is easy to lose the height it has as Z = 0 "good", especially since it is a fairly high delta printer, 500 mm

      That's why I wanted to see if it is possible to change the gcodes (what the printer does) before printing, to remove the homing, and even see if it can be included, that before each impression is calibrated

      1 Reply Last reply Reply Quote 0
      • DjDemonDundefined
        DjDemonD
        last edited by

        The gcodes that run at the start of a print are determined by your slicer.
        -Slice a file and then load the gcode file in a decent text editor like notepad++ you can see the lines of gcode, and what runs.
        -Now add something to your slicer's start gcode section and reslice.
        -Open that gcode in text editor. Every gcode ABOVE your first custom entry is the autogenerated gcode the slicer inserts.

        You might be able to change some of this, for example most slicer auto enter temperature gcodes unless you specify them in your custom gcode.

        I hope this helps and that I did not get the wrong end of the stick.

        Simon. Precision Piezo Z-Probe Technology
        www.precisionpiezo.co.uk
        PT1000 cartridge sensors NOW IN, just attach to your Duet board directly!

        1 Reply Last reply Reply Quote 0
        • peirofundefined
          peirof
          last edited by

          @DjDemonD:

          The gcodes that run at the start of a print are determined by your slicer.
          -Slice a file and then load the gcode file in a decent text editor like notepad++ you can see the lines of gcode, and what runs.
          -Now add something to your slicer's start gcode section and reslice.
          -Open that gcode in text editor. Every gcode ABOVE your first custom entry is the autogenerated gcode the slicer inserts.

          You might be able to change some of this, for example most slicer auto enter temperature gcodes unless you specify them in your custom gcode.

          I hope this helps and that I did not get the wrong end of the stick.

          Helps… Thanks, and yes, slicer, Start Gcode....

          1 Reply Last reply Reply Quote 0
          • peirofundefined
            peirof
            last edited by

            I have changed in slicer, start gcode erase G28 from start….and Works, first try....

            This... give me an answer....

            What Start/Finish .gcode do you use? (printer type/model)

            Thanks

            1 Reply Last reply Reply Quote 0
            • DjDemonDundefined
              DjDemonD
              last edited by

              Start gcode

               G4 P2000                                                        ;pause for paneldue
              M104 S130                                                  ; set extruder temp
              G28                                                                 ;home
              M190 S[first_layer_bed_temperature]        ;heat bed
              G32                                                            ;autocalibration - set grid on/off in bed.g
              M564 S0                                                      ;disable movement limits
              G1 Z15 X47.7 Y-160.1 F3000                      ;move to front
              M109 S[first_layer_temperature]                 ; set extruder temp
              G1 E20 F100                                                 ;extrude 20mm slowly
              G4 P1500                                                     ;pause
              G1 Z4 X40 Y-168 F6000                              ;move down to swipe filament off
              G1 Z2 X0 Y0 F6000                                      ;move to bed centre
              M564 S1                                                      ;restore movement limits
              M220 S100                                                   ;optional speed control default 100
              

              Most of it is self-explanatory. What I do is after heating bed and extruder, autocalibrate as I want bed heated and nozzle semi-heated, then disable movement limits (caution doing this) to allow me to stick my nozzle just over the edge of the bed, heat to 1st layer temp, so any ooze doesn't fall on the bed, and extrude a little filament to prime, which falls on the floor next to the printer. This way I get "auto-start" I don't need to attend to the machine after starting a print. The speed control gcode is in case I want to print something very slowly like flexible, I can set this temporarily in slic3r.

              End gcode

               M220 S100 ; set speed back to 100%
              M104 S0  ; turn off nozzle temperature
              M140 S0 ; turn off bed temperature
              M141 S0 ; turn off chamber heater
              G28       ; home 
              M84     ; disable motors
              M106 S0 ; part fans off 
              

              Here I set speed back to 100% in case I have been doing high speed printing, I don't want to try to home at 200 mm/s!

              Please note the use of variables like [first_layer_temperature] are specific to slic3r/Prusa slic3r, I'm not sure they work with any other slicer.

              Printer is a Kossel XL Delta.

              Simon. Precision Piezo Z-Probe Technology
              www.precisionpiezo.co.uk
              PT1000 cartridge sensors NOW IN, just attach to your Duet board directly!

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