电气自动化专业本科(毕业论文)PLC应用.doc

电气自动化专业本科(毕业论文)PLC应用.doc

电气自动化专业本科(毕业论文)PLC应用

基于PLC的彩灯控制系统的设计 摘 要 彩灯在我们的日常生活中是随处可见的,彩灯控制能够达到的渲染效果是通过控制全部或者部分彩灯的亮和灭、闪烁的频率、灯的亮度及灯光流的方向来实现的。在本次设计中采用西门子公司S7-200系列PLC来进行控制。本次设计对彩灯的要求是变幻类负载其控制对象设定为“国庆快乐”字形,且均匀分布在彩灯的中央部位,由红、黄、蓝三色灯箱组成,三色灯箱按照一定的控制闪烁;流水类负载是在灯箱的周围有32盏颜色不同的流水灯组循环闪烁。根据设计的要求,首先进行了硬件系统的设计,选用的是S7-200的CPU226,它的24点输入/16点输出可以满足本次设计的需求,并画出了输入和输出接线图。在软件方面,根据设计的思想进行了实现系统功能的梯形图的设计,指令采用的是减计数器指令和移位寄存器指令,并利用S7-200的STEP7-Micro/WIN32编程软件进行编程。它可以方便地在Windows环境下对PLC编程,调试,监控,且编程方便,快捷。利用PC/PPI电缆将计算机与PLC相连接来验证程序,在PLC上可以清楚的看到控制效果,从而证明了本次设计的成功。 关键词:彩灯控制;S7-200;PLC;STEP7-Micro/WIN32 Design of Control System of the Color Lamp Based on PLC Abstract Color lamp is everywhere in our daily life. The effect of lantern control can be achieved by controlling all or part of the lanterns bright and extinguished, blinking frequency, the brightness of lights and the direction of light flow. The control system of the color lamp was controlled by Siemens S7-200 Series PLC in this design. In the design, the requirements were that the controlled objects were “Happy National Day” for changing type load resistance and uniformly distributed in the central part of the color lamps. The controlled objects were made up of red, yellow, blue lamp boxes and three colors lamp boxes flickered according to certain control requirements. Around the lamp boxes, the flowing water lights group of 32 different colors circularly flickered for flowing water load resistance. According to the request of this design, first the design of the hardware system was proposed. S7-200 CPU226 was selected and it met the demand of 24 points input/16 points output, and the wiring diagram of the input and output was design. In terms of software, the ladder diagrams which achieved the functions of the control system were design based on the design ideas. The Count Down and Shift Register Bit instructions were adopted in the design and the procedures were programmed by using STEP 7-Micro/WIN32 on S7-200. It can easily for PLC programming, debu

文档评论(0)

1亿VIP精品文档

相关文档