摘要
本文以大型金相试样切割机的PC-PLC控制系统为应用背景,在PC与PLC串行通信协议的基础上,具体解释了OM-RON CPM2AH系列PLC与计算机间通信的命令帧和响应帧格式,利用VB6.0中的MSComm控件实现了PC与PLC的串行通信,并给出了相应的数据通讯程序。
This paper regards PC-PLC control system of the large metallographic specimen cutter as the background . On the basis of PC and PLC serial communication protocol, it explains the order frame and the response frame of communication between PLC and computer specifically. Making use of VB MSComm control, it realizes the serial communication of PC and PLC. In the end, the data communication procedure is provided.
出处
《微计算机信息》
北大核心
2007年第03S期45-46,20,共3页
Control & Automation
基金
河北省教育厅基金项目(2003232)