基于VC.NET的PC机与PLC串行通信的编程实现  被引量:1

VC.NET-based Programming Realization of Serial Communication between PC & PLC

在线阅读下载全文

作  者:田冰[1] 王伟[1] 

机构地区:[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[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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