检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[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[自动化与计算机技术—检测技术与自动化装置]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.117