Through the data collection and analysis method, this paper analyzes the key message format of MPI protocol, which can be used to communicate between upper computer, on-site equipment and CPU supporting the MPI protocol, thus providing an efficient low-cost communication mode. In addition, through analysis of protocol, this paper implements communication between IPC and HMI based on MPI protocol using serial communication.%文章通过数据采集、分析的方法,解析了MPI协议关键报文格式,可用于实现上位机、现场设备与支持MPI协议的CPU之间的通讯,从而提供了一种高效率低成本的通信方式.此外,通过协议分析,文中用串口通信实现了工控机模拟人机界面(HMI)与PLC基于MPI协议的通信.
展开▼