I started to look into understanding the gcode a bit as I’m not savvy with coding but I can understand the basics. As the title says I have the Transform and wanted to implement to use my gcode for this machine as I had over a year of experience and yes I even use the super fast print speeds but I wanted to control my layer print delays and layer speeds accordingly.
Apparently when I send over the file to the printer with gcode all works fine but G4 P#
doesn’t get registered or completely ignores it. I have read several topics here about the gcodes and even tried the ;DELAY# but the printer goes crazy and the LCD either does 0 ms print times or just hangs.
My question comes in the gcode I setup, does it matter what order things are written as? If so having a ;DELAY# or G4 P# before a line item make a difference? I’m constantly testing and want to see where exactly I can add the delay before the LCD turns on. G4 P($SliceNr < 10?5000:1000) is something I would like to do but the printer wont read the G4 regardless of what times I use even if I just use G4 P3000.
;LAYER_START:$SliceNr
;currPos:($SliceNr * $LayerThickness)
M6054 “($SliceNr+1).png”;show Image
G0 Z($ZLiftDistance + ($SliceNr * $LayerThickness)) F($SliceNr < 10?$ZBottomSpeed:$ZLiftSpeed);
G0 Z(($SliceNr+1) * $LayerThickness) F($SliceNr < $BtmLyrs?$ZBottomSpeed:$ZLiftSpeed);
G4 P0; optional extra light delay.
M106 S255;light on
G4 P($SliceNr < $BtmLyrs?$ExTimeBottom:$ExTime);
M106 S0; light off
;LAYER_END