You are not logged in.

#1 2021-12-29 20:40:55

mandreas
Member
Registered: 2016-03-13
Posts: 136

shutter Gcode

hi Shahin

I’d like a tip for the shutter Gcode  :

I currently use the command :M42 P8 S200  , where S =state ,  led power .

Now I would like S250 for the first 10 layers , then the rest S200, what formula should I use?

Thanks Andrea

Offline

#2 2022-01-01 10:16:01

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,546

Re: shutter Gcode

Hi Andrea,
Long time no see. Hope you are doing well.

[JS]
output="M42 P8 S200";
if ([[LayerNumber]]<11) output="M42 P8 S250";
[/JS]

Offline

#3 2022-01-01 10:32:28

mandreas
Member
Registered: 2016-03-13
Posts: 136

Re: shutter Gcode

Thank you very much Shahin , kind as always !

I wish you happy 2022 rich in satisfactions  smile

Offline

Board footer

Powered by FluxBB