摘要
介绍了Modbus协议主从网络结构,提出了使用Modbus协议主站库指令的S7-200系列PLC与单片机串行通信的方法,描述了单片机采用串口接收和定时中断传递消息帧的设计方案,给出了从站通信程序流程图。
This paper introduced master-slave network structure of Modbus protocol.It proposed the method of serial communication between S7-200 PLC based on Modbus Protocol master-station library instruction and MCU,described the design project that MCU transmit message frame using serial port receive and timer interrupter,and gave the program flow chart of slave-station.
出处
《实验室研究与探索》
CAS
北大核心
2012年第4期82-84,169,共4页
Research and Exploration In Laboratory