文档介绍:. 目录摘要…………………………………………………………… 1 目录…………………………………………………………… 2 一、绪论……………………………………………………… 2 选题背景和意义………………………………………………………………….2 主要方法………………………………………………………………………….4 重点要解决的问题………………………………………………………………..5 课题的主要内容…………………………………………………………………..5 二、照明控制多路开关的实现工具……………………. . . . . 5 2 . 1 P L C 的功能特点……………………………………………………. . 5 2 . 2 P L C 系统的基本结构………………………………………………. . 5 2 . 3 P L C 的编程语言………………………………………………………. 6 三、软件系统设计…………………………………. . . . . 7 3 . 1 照明控制多路开关的控制主程序…………………………………. 7 3 . 2 照明控制多路开关梯形图…………………………………………. 7 3 . 3 照明控制多路开关梯形图指令码……………………………………… 1 2 四、软件调试…………………………………………. . . . . . . . . . . . 14 4 . 1 系统软件仿真………………………………………………………. 1 4 4 . 2 P L C 仿真软件………………………………………………………. . 1 4 仿真结果……………………………………………………………………….16 五、总结……………………………………………………………… 19 六、致谢………………………………………………………………… 19 参考文献……………………………………………………… 2 0 附录. 摘要就如何应用 PLC 实现照明控制多路开关的设计展开讨论,通过分析对多路开关控制的要求,对 PLC 控制系统进行了软、硬设计。同时将 PLC 的逻辑控制、数据运算、数据比较、数据传送通过程序有机的结合起来。本次设计利用西门子 S7-200 系列 PLC 作为核心部件,完成由一个开关控制三组灯不同组合的亮灭的制作。本设计可实现四种不同灯组组合的亮灭,按第一下开关灯组一将被点亮,按第二下开关灯组一与灯组二将被点亮,按第三下开关灯组一和灯组三将被点亮,按第四下灯组一灯组二和灯组三同时亮, 按第五下三组灯全部熄灭。本设计中硬件电路设计使用 AUTOCAD 软件;使用 STEP7-Micro/WIN32 软件编写程序; 利用仿真软件对每一种组合灯组的亮灭进行模块仿真,观察结果。关键词: 四种不同灯组组合模块仿真 PLC Just how to apply PLC lighting control multi-channel switch design, through the analysis of the discussions on the multiple switch control requirements of PLC control system, the soft and hard design. Meanwhile will PLC logic control, data operation, parison, data transfer bine program. This design using the Siemens s7-200 PLC as the ponent, finish bya switch control three groups of binations of bright lights out production. This design can realize four bination of DengZu kill bright DengZu, according to the first once switch a will be lighted, press second switch DengZu a DengZu 2 will be lighted with DengZu, according to third switch DengZu a and three will be lighted, press the fourth position DengZu a DengZu 2 and DengZu three meantime bright, according to all three groups of lights under 5 exti