| This paper researched on-line monitoring and production management system of forging press. Analyzing the hardware of the system, and the function of each part. Under windows operation system, using C++ language, the computer translate the received operating parameters into different graphics with the assistance of Visual C++ 6.0. On-line monitoring and production management system is composed of two industrial control computers. One is upper computer, another is lower computer. The lower take charge control and data acquisition, and send the date to the upper in time in a special format that been defined by upper and lower computer beforehand. The upper translate the received date into operating parameters of system, and take charge of information management. Under windows operation system, the upper translate the received operating parameters into different virtual instruments. Through this different virtual instruments, we can monitor the operation of system intuitively. At the same time, according the received operating parameters of system, the upper take charge of production management that included forgings and elements management. The forgings management have a lot of items and more complex. So using database to manage the files of forgings management, using DAO Database of MFC to append, delete and amend the information of forgings. Using CFile function of MFC to build a binary file to realize elements management. The upper and lower computer build point to point connection in physical with network card and five kind twisted-pair. Through the protocol of TCP/IP, and building the model of Client/Server frame, they can communicate each other. The program draws all kinds of graphics in controls of Visual C++ 6.0. The graphics is virtual instrument. The user interfaces are composed of different virtual instruments. In graphics interface virtual instrument monitor the running status of system. At the same time the upper computer take charge on-line production management. The running results show that the system totally satisfied the design requirements. And it is benefit to the society and company. On the while it is easy to be operated with friendly interfaces and has eminent expansibility. |