Improving the accuracy of emission monitoring in the Continuous Emission Monitoring System (CEMS) is crucial to support compliance with environmental regulations, especially in gas and steam-based power plants (PLTGU). At PT Jawa Satu Power's PLTGU, the purging system on the CEMS sample probe is still performed manually and limited to scheduled preventive maintenance, potentially reducing emission data reliability due to particle contamination. This study aims to design and simulate an automatic purging system based on a Programmable Logic Controller (PLC), taking into account technical parameters such as timer, gas pressure, temperature, and sample flow rate. The system design was carried out through the modeling of automatic control logic using CX-Programmer software, with a protection approach based on real-time conditions and timing. The design results show that the automatic purging system can improve cleaning consistency, reduce the risk of contamination, and enhance the integrity of emission monitoring data. This study is expected to serve as a foundation for developing a more applicable and integrated automated purging system for CEMS in the future.