This system is the monitor system which makes use of single slice machine and PC machine to pass a string of correspondence realization spirit liquid separation machine to line up a liquid automatically. 1n the system design, we regard the monolithic integrated circuit as the lower position machine, PC machine as the position machine, and realize the serial communication through serial port RS-232. The single slice machine adopts the AT89C51 chips, constituting to from the single slice machine of next machine examination system of work, instant separate spirit liquid the water level appearance feedback in the machine to place of honor PC machine.On the position machine obtains the system after serial mouth RS-232 the working condition, reflected through the user contact surface in PC machine,on simultaneously the position machine basis establishes the parameter instructed the lower position machine makes the corresponding response, controls the solenoid valve movement. Be producing the spot, examined to install to spread a feeling machine inside pole, pass to judge water level to place to the examination which spreads a feeling machine, the thus next machine can immediately control electromagnetism valve to break. The place of honor tiny machine (PC machine) undertakes the control mission of the monitor manifestation in the system, procedure from Visual Basic6.0 write, make use of Visual Basic6.0 medium of the correspondence control a MSComm realization correspondence. Place of honor machine and next machine all adopt a search method to send out control character list and data and break off a way to receive the control character list and data.
This system structure compact, the performance characteristic stable is reliable, mostly applies to the natural gas well yard, the gatheringof gas station was mad the fluid separator, contains H2S and the CL rootnatural gas field water automatic control discharges. Uses this system,greatly enhanced the scene signal real-time monitor, guaranteed was madthe fluid separator crown does not turn the tower, does not run the fluid, the base not hernia. To tests the operator to say the man-machine contactsurface good, simple is easy to understand. To guarantees loses is mad the quality, the purification environment, eliminates the security hiddendanger, improves the worker work condition to have the remarkable function, further reduced the virulent confrontation human body injury.