The automatic gas filling system was introduced with OMRON PLC (programming logical controller) as controller for servo-mechanism. The software for this system was developed with Microsoft Visual Basics 6.0 under window XP. Interface of RS232 was used for the communication between the program and the hardware. In WIN98 OS,sampling frequency of data acquisition reach 50 Hz for PLC,while the CPU frequency is 800 MHz and PLC of C200 HE. This program is relatively perfect with the simple structure. The system is easy to maintain and operates stably.