@threepwood Thank u for ur Reply
there is Meta commands on Duet 3D Documentation u can check it out: https://docs.duet3d.com/User_manual/Reference/Gcode_meta_commands
I appreciate the Code but what if someone wanted to Print using another Slicer, so it (the Code) must be written again in the new Slicer, this Printer is connected to another production machines and a Server with many PCs, and it should able to receive a print command from any PC, so it should control the Fans even if that Code not Written on the Slicer. (so maybe Macro/Sub-Program!!!???)
for the Temperature we have done some Tests (without fan takes 29 min to cool to Roomtemp.. with one Fan 9 min and 56 sec) and have calculated some numbers using an long Equation and we came up with 3.4 min (3min 24 sec) using 4 Fans when Roomtemp 20 C (in the Equation 20 C) it means to reach to 20 C need 3 mins and 24 sec.
to reach 30 C need like 2 min and 20 sec
i tryed to Upload Images for the Equation and the Test but it gives me an Error