基于CP430的MODBUS通讯程序设计

发布时间 : 星期四 文章基于CP430的MODBUS通讯程序设计更新完毕开始阅读

江苏科技大学本科毕业设计(论文)

二、完成后应交的作业(包括各种说明书、图纸等) 1. 毕业设计论文一份(不少于1.5万字); 2. 外文译文一篇(不少于5000英文单词); 3. 包含任务书、开题报告、中期检查和前三项内容的光盘 一张。 三、 完成日期及进度 2011年3月21日至2011年6月17日,共13周。 进度安排: 3.14-3.28, 熟悉任务要求,查阅资料,翻译外文资料; 3.28-4.18, 学习、理解MODBUS通讯的原理; 4.18-4.30, 学习、理解S7-300PLC软件的使用; 5.1 -5.30, 利用S7-300PLC软件,编写程序; 5.31-6.29, 撰写毕业论文、答辩。 IV

江苏科技大学本科毕业设计(论文)

五. 主要参考资料(包括书刊名称、出版年月等): 1. MODBUS国标参考资料。 2. 西门子S7-300/400PLC编程与应用, 刘华波, 何文雪, 王雪编著. 3. 西门子S7-300/400PLC控制系统设计与应用,陈章平等编著 系(教研室)主任: (签章) 年 月 日 学院主管领导: (签章) 年 月 日 V

江苏科技大学本科毕业设计(论文)

摘要

计算机技术的飞速发展,使得现代工业生产和控制系统变得越来越复杂

性,同时骑可靠性、实时性、精确性要求也越来越高。现场总线技术为控制系统性能提高提供了新的思路,发展现场总线技术的初衷是建立开放的控制通信网络。由于历史原因,不同系统的现场总线协议差异很大。不同总线协议应用范围也有所差异。

MODBUS协议定义了控制器能识别和使用的信息结构。广泛用于工业通信领域,其优点是实时性好,可靠性高,适用于小到中等规模的数据传输,如典型应用于的可编程控制器(PLC)。协议采用主机轮询机制,主设备发出查询请求,要求从设备执行某种动作;从设备收到查询请求后,识别是否本地数据执行相应的动作,组织应答,将执行的状况或相关数据反馈到主设备。

本文在研究Modbus协议规则,详细分析Modbus协议的原理,然后通过西门子STEP7软件,运用CP430做Modbus从站程序,实现Modbus从站接受检验功能。

关键字:Modbus,CP430,从站,协议

VI

江苏科技大学本科毕业设计(论文)

Abstract

The rapid development of computer technology, makes the modern industrial production and control system is becoming more and more complexity while riding a reliability, real-time, and more and more is also high precision requirements. The Modbus technology for control system performance provides new ideas, improve the development of the Modbus technology intended to establish an open control communication network. Owing to historical reasons, the different systems Modbus agreement difference is very big. Different bus agreement application also different.

MODBUS agreement defines the controller can identify and use of information structure. Widely used in industrial communication field, its advantage is good real-time, high reliability, applicable to small to medium size of data transmission, such as the typical application in programmable controller (PLC). The protocol USES host polling mechanism, the main equipment and issue queries request, demand from equipment perform an action; After received from the device queries, identify whether some action local data execution, the organization response, will implementation status or related data feedback to the main equipment.

Based on the study, detailed analysis Modbus agreement rules the principle of Modbus agreement by Siemens, and then CP430 STEP7 software, using Modbus, slave station program do realize Modbus functions slave station accept inspection。

Key word: Modbus, CP430, slave station, the agreement

VII

联系合同范文客服:xxxxx#qq.com(#替换为@)