1、 电气电气工程系工程系 毕业设计论文毕业设计论文 题题 目目 PAC 交通灯设计 专业名称 电气自动化 学生姓名 X x x 指导教师 xxx 毕业时间 xxx 年 x 月 1 摘 要 1 Abstract 2 第 1 章 绪论 3 1.1 设计的目的和意义 3 1.2 设计项目发展情况简介 3 1.3 设计原理且规模介绍 4 第 2 章 理论分析 5 2.1 十字路口交通灯的控制实际情况描述及路况图. 5 2.2 结合十字路口交通灯的路况模拟控制实验. 6 第 3 章 课题研究的方法和手段 7 3.1 PLC 的选择 7 3.2 组态软件的选择 9 第 4 章 结果和讨论 10 4.1 可编
2、程控制器 I/O 端口分配 . 10 4.2 PLC 的外部接线图 . 10 4.3 流程图 11 4.4 程序梯形图. 12 4.5 语句表. 15 4.6 组态监控系统设计. 18 4.6.1 监控系统的形成背景 18 4.6.2 组态王工程的建立 18 4.6.3 组态画面的建立. 19 4.6.4 交通灯控制的变量设置. 19 4.6.5、动画连接 20 4.6.6、命令语言连接 21 4.5.5、最后效果 24 4.6 系统软硬件调试. 25 4.6.1 软件调试概述 25 4.6.2 通信协议. 26 2 4.6.3 PLC 软件测试 . 26 第五章 总结 29 致 谢 30 参
3、考文献 31 1 摘 要 近年来随着科技的飞速发展, PLC 的应用正在不断地走向深入, 同时带动传 统控制检测日新月益更新。它具有结构简单、编程方便、可靠性高等优点,已广 泛用于工业过程和位置的自动控制中。据统计,可编程控制器是工业自动化装置 中应用最多的一种设备。专家认为,可编程控制器将成为今后工业控制的主要手 段和重要的基础设备之一,PLC、机器人、CAD/CAM 将成为工业生产的三大支 柱。由于 PLC 具有对使用环境适应性强的特性,同时其内部定时器资源十分丰 富,可对目前普遍使用的“渐进式”信号灯进行精确控制,特别对多岔路口的控 制可方便地实现。因此现在越来越多地将 PLC 应用于交
4、通灯系统中。本设计就 是为了实现交通信号灯自动控制。首先,用 PLC 编程实现交通灯系统的基本功 能。 其次, 画面组态仿真画面, 定义组态变量, 对组态中的一些基本量进行仿真。 然后,把 PLC 程序与组态结合,通过数据连接,完成通信。实现组态对整个系 统的实时监控。 关键字:关键字:PLC 交通灯 程序 报告 设计 组态 2 Abstract With the rapid development of science and technology in recent years, PLC applications are continually deepening, the traditi
5、onal control test drive at the same time benefit to upgrade the new moon. It has a simple structure, easy programming, high reliability, has been widely used for industrial process and location of the automatic control. According to statistics, the programmable controller is the most widely used ind
6、ustrial automation equipment in a device. Experts believe that the PLC will become the main means of industrial controls and one of important infrastructure, PLC, robotics, CAD / CAM will be the three pillars of industrial production. The use of the PLC has the characteristics of environmental adaptability, while its internal timer resources are very rich, the current widespread use of the “progressive“ signal for precise control, particularly control of multi-fork can be easily achieved. Ther