Gcode command for FAN in lightburn

Hello,

Would you if there is a set of command in lightburn which would turn the enclosure fan on at the beginning of a laser job and then stop after 15s once job in completed.

Thanks
Alban

There are G-codes for enclosure fan control. See this thread.

…which apparently don’t work with the Artisan. You’d think that 2.0 and Artisan would have the same G-code commands.

If it is the same as SM 2.0

; Fan Air to 100%
M1010 S4 P100

Air purifier

; see AirPurifier gcode: https://snapmaker.github.io/Documentation/gcode/M1011M1011 ; choose between F1, F2, F3 gear working
M1011 F3 S1

Off

; wait 120 seconds
G4 S120

Fan

; Fan Air to 0%
M1010 S4 P0

Air purifier

;Air Purifier Off
M1011 F0

Didn’t work for me, either sending a file with only that command to my Artisan or using the console in Luban. Is it possible it only works with certain modules?