毕业设计(论文)-基于PLC及MCGS组态的饮料灌装控制系统设计.doc

毕业设计(论文)-基于PLC及MCGS组态的饮料灌装控制系统设计.doc

毕业设计成果 《基于PLC的饮料灌装控制系统设计》 毕业设计说明书 所在学院 所在学院 xxxxxxxxxx 学院 班 级 姓 名 学 号 指导老师 完成日期 PAGE 2 目 录 TOC \o 1-3 \h \z \u 1 绪论 5 1.1设计目的和意义 5 1.2研究现状 5 2 系统分析与设计 6 2.1总体设计分析 6 2.2方案设计 6 3 硬件设计 8 3.1 PLC选择 8 3.2 主电路 8 3.3 控制电路设计 9 3.3 PLC的输入和输出分配 10 3.5 PLC输入和输出接线图 11 4 软件设计 13 4.1 控制系统流程图 13 4.2 PLC内部使用地址 14 4.3 梯形图程序 15 4.3.1 主程序 15 4.3.2 一号线控制子程序 17 4.3.3 二号线控制子程序 24 4.4 语句表程序 30 5 组态设计 41 5.1 通讯定义 41 5.2 变量连接 43 5.3 组态画面 47 5.4 循环命令 48 6 系统调试 51 6.1 硬件调试 51 6.2 PLC程序调试 51 6.3 组态联机调试 55 7 总结 61 参考文献 62 致谢 63 附 录 64 附录1电气图纸 64 附录2梯形图程序 65 全套图纸加扣 3346389411或3012250582 摘 要 本设计是基于PLC的饮料灌装控制系统的设计,采用西门子的S7-200小型可编程控制器为控制核心,MCGS组态软件为上位机,进行两条饮料灌装线控制,控制饮料灌装输送带电机,电机启动,输送饮料瓶,通过检测传感器,检测到饮料瓶运行到灌装位,停止输送带电机,进行暂停,打开灌装阀,进行灌装,灌装计数,灌装完成后自动启动输送带,循环运行。灌装时,使用灌装指示灯进行提醒。系统具有短路过流保护,过载保护,急停保护,等多种保护措施,安全可靠。通过对饮料灌装控制要求的分析,进行饮料灌装总体设计,进行了硬件设计,软件设计和组态设计,最后进行了测试。经过测试,系统达到了设计要求,符合预期的设计目的。 关键词: 饮料灌装;可编程控制器;组态软件 Abstract This design is based on the design of the beverage filling control system based on PLC. Siemens S7-200 small programmable controller is used as the control core, MCGS configuration software is used as the upper computer to control two beverage filling lines, control the beverage filling conveyor belt motor, start the motor, convey the beverage bottle. Through the detection sensor, the beverage bottle is detected to run to the filling position and stop the conveyor belt motor. Pause, open the filling valve, fill, fill counting, automatically start the conveyor belt after filling, and circulate. When filling, use filling indicator to remind. The system has a variety of protection measures, such as short circuit over current protection, overload protection,

文档评论(0)

1亿VIP精品文档

相关文档