检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]上海交通大学自动化系智能控制实验室,上海200240
出 处:《自动化仪表》2008年第3期20-22,25,共4页Process Automation Instrumentation
摘 要:针对目前市场上上位机通信软件不兼容等问题,提出了用VC.NET实现上位机与PLC通信的方法。采用西门子公司的S7-300 PLC为下位机,按照RS-232C标准与上位机通信;通信协议为自由模式下用户自定义的协议,数据传输格式为具有块校验字符的16进制ASCII编码。通信实验结果表明该方法结构简单、运行稳定可靠。Most of the commercial available PC communications softwares offer less compatibility. A VC. NET-based communications approach to implementing the communication between PLC and PC is proposed. SIMATIC S7-300 PLC is used as the slave device, which communicates with PC under RS-232C standard. A user-defined protocol created by freeport mode is taken as the communications protocol, and hexadecimal ASCII encode with BCC as the format of data transform. Experimental results demonstrate that this communications approach is simple-structured but robust and credible.
关 键 词:串行通信 可编程控制器 VC.NET编程 西门子S7—300 功能块
分 类 号:TP334.4[自动化与计算机技术—计算机系统结构]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.222