Notifications
Clear all

Advanced Filtration G-Code  

  RSS
Staldy
(@staldy)
Estimable Member
Advanced Filtration G-Code

Hello there,

I installed the Advanced Filtration on my Core One using this mod, In the menu, I did not enable “Filter all materials” (this is the English equivalent of what I see in the French).

After printing ABS, PC-CF and TPU for a few days, I switched back to PLA and noticed that the filtration system was still running. Since I disabled it for the materials mentioned above, this doesn’t make much sense to me, as PLA doesn’t require filtration.

I already control the top vent using G-code, and I would like to do the same with the filtration system so I can have full manual control over the rebel filtration.

M870 {if filament_type[initial_tool] =~ /.*(PLA|PETG|FLEX).*/}O{else}C{endif} ; Open vent for low temp materials

However, I’m a bit lost regarding which G-code to use. I found references to M147 (filtration) and M148 (post-print filtration), but I also saw people mentioning M106 P4. With all this information, I’m not sure what the correct thing to do, I would like to have a fonctionnal G-Code:

  • No filtration for PLA, PETG (and probably TPU, correct me if I'm wrong)
  • For ABS and PC-CF, I believe only post-print filtration is needed due to the high chamber temperature. Is that correct?

Thanks in advance for your help.

 

 

 

Posted : 18/01/2026 7:16 am
oftherocks
(@oftherocks)
Eminent Member
RE: Advanced Filtration G-Code

Was looking for this answer also...

Posted : 12/03/2026 3:43 am
hyiger
(@hyiger)
Famed Member
RE:

The advanced filtration fan is #3 so

M106 P3 S128 ; fan 50%
M107 P3 ; fan off

Can use it in end-gcode something like

; Run filtration for 3 min after print
M106 P3 S255   ; filtration fan full
G4 S180        ; dwell 3 minutes
M106 P3 S0     ; filtration off
Posted : 12/03/2026 3:52 am
2 people liked
3d0zer
(@3d0zer)
Eminent Member
RE: Advanced Filtration G-Code

Hello Hyiger, 

Can you please tell me how you found these codes as Prusa seems to say for filtration and Core One these codes should work: 
See under G-Codes Subtitle: 

https://help.prusa3d.com/article/advanced-filtration-system-for-prusa-core-one_887189

G-codes

Starting from firmware 6.4.0, it is possible to use two G-codes to control the chamber filtration activation. Note that the G-codes will override the menu.

M147 will set the Automatic Filtration and Post-print Filtration to ON. M148 will set the Automatic Filtration and the Post-print Filtration to OFF. Note that the code needs to be set in the starting code before the purging code.

Posted by: @hyiger

The advanced filtration fan is #3 so

M106 P3 S128 ; fan 50%
M107 P3 ; fan off

Can use it in end-gcode something like

; Run filtration for 3 min after print
M106 P3 S255   ; filtration fan full
G4 S180        ; dwell 3 minutes
M106 P3 S0     ; filtration off

 

Just a guy with a Core One L on a 3D Journey

Posted : 08/06/2026 11:01 am
3d0zer
(@3d0zer)
Eminent Member
RE: Advanced Filtration G-Code

In this topic I made, it seems that the codes are put in the wrong order to work: 

https://forum.prusa3d.com/forum/prusaslicer/advanced-filtration-and-ventilation-temp-regulation-settings/#post-794130

Just a guy with a Core One L on a 3D Journey

Posted : 08/06/2026 12:10 pm
hyiger
(@hyiger)
Famed Member
RE: Advanced Filtration G-Code

 

Posted by: @3d0zer

Hello Hyiger, 

Can you please tell me how you found these codes as Prusa seems to say for filtration and Core One these codes should work: 
See under G-Codes Subtitle: 

https://help.prusa3d.com/article/advanced-filtration-system-for-prusa-core-one_887189

Generally I find this stuff by digging around in the firmware source code because Prusa's documentation is not always up-to-date or 100% accurate. One thing to keep in mind is that some g and m-codes act as macros. That is they may cover the behavior of multiple individual g-code underneath. I guess a shorter way to say it is there are multiple ways to do the same thing. 

Posted : 10/06/2026 7:57 pm
1 people liked
3d0zer
(@3d0zer)
Eminent Member
RE: Advanced Filtration G-Code

I wonder why a tech firm as Prusa does not have good documentation of their own software. 
It should really not be that hard, but it seems as far as I read the the people / users always have to puzzle to get the answers. 
Anyways, I love my machine, hope there will be more clearity later. 

Just a guy with a Core One L on a 3D Journey

Posted : 10/06/2026 8:24 pm
hyiger
(@hyiger)
Famed Member
RE: Advanced Filtration G-Code

 

Posted by: @3d0zer

I wonder why a tech firm as Prusa does not have good documentation of their own software. 
It should really not be that hard, but it seems as far as I read the the people / users always have to puzzle to get the answers. 
Anyways, I love my machine, hope there will be more clearity later. 

Prusa is much better than other firms in this regard. Example, in one extreme, Bambu Labs doesn't publish their g/m-codes at all (at least not that I'm aware of). I had to back them out using an AI. 

I would say Prusa's documentation is maybe a year out-of-date. But no more than that. Some of the Core One specific g/m-codes are still undocumented (last time I checked) pertain to the chamber fans and automatic vent. 

Posted : 10/06/2026 8:31 pm
1 people liked
Share: