PC与PLC的串口通信及编程实现

来源 :广西物理 | 被引量 : 0次 | 上传用户:lizhiguo518
下载到本地 , 更方便阅读
声明 : 本文档内容版权归属内容提供方 , 如果您对本文有版权争议 , 可与客服联系进行内容授权或下架
论文部分内容阅读
在自由口模式下,通信协议由用户自己的梯形图程序控制。用户可以使用梯形图程序调用各种子程序,来进行接收中断、发送中断、发送指令(XMT)、接收指令(RCV)等通信控制操作。研究了在自由端口模式下PC与S7-200型PLC之间的通信,并采用Visual Basic编程来实现上位机与下位机之间的通信。 In Freeport mode, the communication protocol is controlled by the user’s own ladder program. Users can use the ladder program to call various subroutines to receive interrupts, send interrupts, send commands (XMTs), receive commands (RCVs), and other communications control operations. The communication between PC and S7-200 PLC in free port mode was studied and the communication between upper computer and lower computer was realized by Visual Basic programming.
其他文献