Abstract: Introduced communication protocol and message structure of PROFIBUS-DP, designed one software based on serial port communication, The software can analyze and diagnose the performance of PROFIBUS-DP. Presented the method and the key functions technique, The software is run on the communication network platform The debugging results indicate that the software can gather、analyse and memorize some kind of message of PROFIBUS-DP. Keywords: FieldBus, PROFIBUS, communication protocol, message, serialport