基于VB的上位机与PLC的串行通信 |
| |
引用本文: | 邢绍邦,韩晓新. 基于VB的上位机与PLC的串行通信[J]. 可编程控制器与工厂自动化(PLC FA), 2008, 0(6): 74-76 |
| |
作者姓名: | 邢绍邦 韩晓新 |
| |
作者单位: | [1]江苏技术师范学院 [2]电气信息工程学院 |
| |
摘 要: | 本文在简要介绍了欧姆龙HOST—LINK通信协议的原理以及数据帧格式的基础上,阐述了PC机与OMRON PLC之间串行通信的实现方法,并在Visual Basic的可视化开发环境下利用MSComm控件开发了具体的系统。实验结果证明,本文所述方法简单可行,是一种实现PC机与OMRON PEC间通信的非常好的解决方案。
|
关 键 词: | VB PLC HOST-LINK 串行通信 |
Serial Communication between PC and PLC Based on VB |
| |
Affiliation: | Xing Shaobang Han Xiaoxin |
| |
Abstract: | After briefly introducing the principles of HOST-LINK communication protocol and date frame, this article first carries on the introduction to the serial communication and the OMRON PLC correspondence mechanism, then it elaborates the realization method of serial communication between PC machine and OMRON PLC. Based on the above, this article develops the concrete system under the Visal Basic visualization development environment with MSComm. The experimental result proved that, this method is not only simple but alse feasible, and it is a extremely good solution to the communication between PC machine and OMRON PLC. |
| |
Keywords: | VB PLC HOST-LINK Serial communication |
本文献已被 维普 等数据库收录! |