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

    Not getting layer information during print

    Scheduled Pinned Locked Moved
    General Discussion
    3
    8
    507
    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.
    • Jackalundefined
      Jackal
      last edited by

      I am using RRF and DWC 3.3RC2 on my Duet 2 Wifi, but I think my problem is more related to slicer rather than the firmware.

      I haven't been able to see the layer time or current printing layer for some time though the prints are fine (sliced with Prusaslicer). Have tried searching for related topic but all I found is putting E after ; in the gcode to exclude it from layer count.

      I remember seeing posts on what RRF actually reads in the gcode to determine layer info but couldn't find it anymore (keyword probably too generic). Can someone tell me again what syntax is required so I can put it in the custom layer change g-code

      1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        Can you share an example gcode file that has the problem? I think the layer chart should be working correctly now.

        Z-Bot CoreXY Build | Thingiverse Profile

        Jackalundefined 1 Reply Last reply Reply Quote 0
        • Jackalundefined
          Jackal @Phaedrux
          last edited by

          @phaedrux The layer change portion looks like this

          ;LAYER_CHANGE
          ;Z:0.6
          ;HEIGHT:0.2
          G1 Z0.600 F12000.000
          G1 X-0.799 Y92.614
          ;TYPE:Perimeter
          ;WIDTH:0.45
          G1 F1800.000
          
          1 Reply Last reply Reply Quote 0
          • Phaedruxundefined
            Phaedrux Moderator
            last edited by

            Was hoping to see the start and end gcode too.

            Z-Bot CoreXY Build | Thingiverse Profile

            Jackalundefined 1 Reply Last reply Reply Quote 0
            • Jackalundefined
              Jackal @Phaedrux
              last edited by

              @phaedrux test.gcode

              I haven't tried the E after ; thing yet, but everything used to work fine with the same start and end gcode.

              jay_s_ukundefined 1 Reply Last reply Reply Quote 0
              • jay_s_ukundefined
                jay_s_uk @Jackal
                last edited by

                @jackal you need to add

                ;LAYER:[layer_num]
                

                to the before layer change custom g-code section in prusaslicer

                Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                Jackalundefined 1 Reply Last reply Reply Quote 0
                • Jackalundefined
                  Jackal @jay_s_uk
                  last edited by

                  @jay_s_uk
                  Thanks, will try that when I get home.

                  1 Reply Last reply Reply Quote 0
                  • Jackalundefined
                    Jackal
                    last edited by Jackal

                    I can now get the current layer, but it is reporting the wrong total layers since I am using variable layer height.
                    Found [total_layer_count] in prusaslicer placeholder but don't know what keyword RRF use to read total layers.

                    update: Looked through the source code and it seems that it is currently calculated instead of directly reading from the file.

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