With improving of automation in industrial control area, the requirement to intelligent detection becomes urgent. At the same time, with the expanding of manufacturing scale, the requirements to supervisory control of working process becomes urgent. To conform these requirements, we design a type of intelligent instrument, but also has the function of communication. Many instruments can compose CAN (Controller Area Network) is widely applied in industrial field because its excellent performance and reliability. CAN Bus provides supports a data bus for communication.For the request of instrument development, we design a frame of intelligent instrument .Also, the paper dissert the whole scheme and device selection of the instrument in detail. At the same time, it introduces the constitution, principle of the CAN communication, and communicational protocol. It also introduces the constitution of microcomputer P87C591. CAN controller SJA10000 and CAN transceiver, CPU Supervisor with 4K SPI EEPROM X5045.The corresponding software which is programmed by C is also included. It illustrates the principle and method of multithread communication and exemplifies how to realize them by Visual C++. A management system of CAN nodes is designed. It makes management of CAN nodes more convenient. At last we test the communication by a control system.
|