A programming method of the network in a project is introduced. The net communication is realized by INDY10 packages. The protocol coding and decoding are fulfilled with windows user messages. The network parameters configuration is realized with the INItialization(INI) files. The protocol data exchanging is realized by the memory alignment technique. Functions of net configuration,net debugging and net communication are developed. The method of data exchange between the network module and the logic module is designed. The whole monitor system is fulfilled and put into practice.