Not getting layer information during print
-
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
-
Can you share an example gcode file that has the problem? I think the layer chart should be working correctly now.
-
@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
-
Was hoping to see the start and end gcode too.
-
I haven't tried the E after ; thing yet, but everything used to work fine with the same start and end gcode.
-
@jackal you need to add
;LAYER:[layer_num]
to the before layer change custom g-code section in prusaslicer
-
@jay_s_uk
Thanks, will try that when I get home. -
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.