基于动态链接技术的PLC-PC通信的实现  被引量:5

Realizing the Communication Between PLC and PC on the Basis of Dynamic Link Library

在线阅读下载全文

作  者:徐沪萍[1] 佟力[2] 

机构地区:[1]武汉理工大学信息工程学院,武汉430063 [2]武汉理工大学机械与材料工程学院,武汉430063

出  处:《武汉理工大学学报(交通科学与工程版)》2001年第2期227-230,共4页Journal of Wuhan University of Technology(Transportation Science & Engineering)

摘  要:采用动态链接技术 ( DLL)实现 PLC与 PC之间的串行通信 ,介绍了利用 VC指令编制直接访问端口地址以及处理字符串的功能函数 ,并且创建串行通信动态链接库 ( DLL)和用 VB调用DLL的方法 .文中给出 DLL应用实例 ,实现了对动态数据的采集和处理 ,使得上位计算机能实时监控 PLC的运行状态 ,并对 PLC的 RAM区数据进行管理操作 ,用户可以方便地设计 PLC-PC的通信程序 ,为监控与管理The serial communication between PLC and PC is realized by dynamic link library (DLL). This paper mainly introduces a method of directly accessing interface address and the function of processing a string of character and creating an online monitoring dynamic link library (DLL) using Visual C ++ instruction, and expounds a means that DLL is transferred by VB.It gives an example that DLL is applied, realizes the collection and treatment of dynamic dates, makes the upper computer monitor the operation of PLC and masters the dates of RAM region of PLC. User can design conveniently the communication program of PLC PC, and provide a better method for monitoring and mastering the operation of PLC.

关 键 词:动态链接库(DLL) 上位计算机 PLC 串行通信 VB 

分 类 号:TP277[自动化与计算机技术—检测技术与自动化装置]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象