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

    Log actual Print time

    Scheduled Pinned Locked Moved
    Duet Web Control
    2
    7
    290
    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.
    • moth4017undefined
      moth4017
      last edited by moth4017

      Is there an option for DWC to log the Acual Print time after the job has finished, not the slicer print time?
      72d94933-9973-4b73-af00-29a9d9af048d-image.png

      <

      1 Reply Last reply Reply Quote 0
      • Alex.crundefined
        Alex.cr
        last edited by

        @moth4017

        There might be a more elegant system than I use but here is what I do...

        The following line is in the "end g-code" from my slicer.

        echo >>"history_job.g" state.time^ ",file," ^ job.file.fileName ^ ",elapsed time," ^ job.duration 
        

        This logs the end current time the print finishes and the elapsed time of the print in history.g. I created the file ahead of time in the system file structure and the ending of the print appends the files with lines of code for the successfully finished prints.

        Voron2.4/Duet3 SBC+6HC+3HC+1LC+1HCL(x2) - Delta/Duet2 Wifi - CubePro/Duet2 Wifi+Duex5 - Laser/Duet3 Mini5+ - Cel Robox - U̶p̶3̶0̶0̶+/D̶u̶e̶t̶3̶ ̶6̶H̶C̶+̶LC1̶ - F̶T̶-̶5̶/̶D̶u̶e̶t̶2̶ ̶W̶i̶f̶i̶ - S̶o̶l̶i̶d̶o̶o̶d̶l̶e̶

        moth4017undefined 1 Reply Last reply Reply Quote 0
        • moth4017undefined
          moth4017 @Alex.cr
          last edited by moth4017

          @Alex-cr I like your thinking, ill try this , cheers

          was the file name ment to be history_job.g

          <

          Alex.crundefined moth4017undefined 2 Replies Last reply Reply Quote 0
          • Alex.crundefined
            Alex.cr @moth4017
            last edited by

            @moth4017

            Yes you are correct. I missed the _job part.

            Voron2.4/Duet3 SBC+6HC+3HC+1LC+1HCL(x2) - Delta/Duet2 Wifi - CubePro/Duet2 Wifi+Duex5 - Laser/Duet3 Mini5+ - Cel Robox - U̶p̶3̶0̶0̶+/D̶u̶e̶t̶3̶ ̶6̶H̶C̶+̶LC1̶ - F̶T̶-̶5̶/̶D̶u̶e̶t̶2̶ ̶W̶i̶f̶i̶ - S̶o̶l̶i̶d̶o̶o̶d̶l̶e̶

            moth4017undefined 1 Reply Last reply Reply Quote 0
            • moth4017undefined
              moth4017 @Alex.cr
              last edited by moth4017

              @Alex-cr iwonder idf this is valid ^ job.duration/60

              just finish the first print with the code in
              2023-09-09T15:11:31,file,0:/gcodes/TL bed 1_0.4mm_PLA__56m.gcode,elapsed time,2310

              <

              1 Reply Last reply Reply Quote 0
              • moth4017undefined
                moth4017 @moth4017
                last edited by

                @moth4017

                the /60 did work
                2023-09-09T18:32:30,file,0:/gcodes/TL bed 2_0.4mm_PLA__55m.gcode,elapsed time,38.81667

                <

                Alex.crundefined 1 Reply Last reply Reply Quote 0
                • Alex.crundefined
                  Alex.cr @moth4017
                  last edited by

                  @moth4017

                  Nice that is a great addition.

                  Voron2.4/Duet3 SBC+6HC+3HC+1LC+1HCL(x2) - Delta/Duet2 Wifi - CubePro/Duet2 Wifi+Duex5 - Laser/Duet3 Mini5+ - Cel Robox - U̶p̶3̶0̶0̶+/D̶u̶e̶t̶3̶ ̶6̶H̶C̶+̶LC1̶ - F̶T̶-̶5̶/̶D̶u̶e̶t̶2̶ ̶W̶i̶f̶i̶ - S̶o̶l̶i̶d̶o̶o̶d̶l̶e̶

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