1、 II 基于 PLC 和 MCGS 五层电梯的控制实现 摘 要 采用西门子 PLC S7200 系列 CPU 型号为 224CN 的可编程控制器,增加一个 I/O 扩 展模块,以西门子 MM440CN 变频器作为电机拖动驱动,通过曳引机方式输出,实现了电 梯的自动控制。电梯的主要功能有:响应厅外和厅内召唤信号,手动开门和自动开关门, 实时显示轿厢所在楼层等。运用 MCGS 组态软件设计模拟运行界面。根据设计要求设置对 应元件属性,建立 MCGS 与 PLC 的通信,对整个电梯系统的各个功能进行模拟运行,实 现对整个电梯控制系统的优化。 关键词关键词:电梯 PLC 系统 III Achieve
2、the elevator control of five floors based on PLC and MCGS Abstract With CPU-224CN of Siemens PLC S7-200 series as a Programmable Controller center. Expand an extension module of I/O. Siemens MM440CN as a motor drive inverter. Control of the elevator by the tractor automatically. The main function of
3、 the lift:Responding the signals inside and outside which the elevator call. Switch the door automatically. Leveling displays the car position automatically and so on. Simulate the entire system base on MCGS configuration software .According to the design requirements set corresponds to the componen
4、t properties Establish communication with the PLC MCGS so the entire elevator system to simulate the operation of various functions Realize the optimization of the elevator control system. Keywords:elevator;PLC;system 目 录 摘 要 .II Abstract . III 第一章 绪 论. 1 1.1 课题的研究意义 . 1 1.2 可编程控制器的发展状况 . 1 1.3 可编程控
5、制的基本结构 . 1 第二章 可编程控制器简介 . 4 2.1 PLC 的输入方式 . 4 2.2 PLC 的工作过程 . 5 2.3 可编程控制器的性能指标 . 6 2.4 PLC 的主要特点 . 7 第三章 电梯的主要控制技术. 9 3.1 电梯的主要拖动技术 . 9 3.2 电梯的主要控制技术 . 9 3.3 PLC 控制电梯的优点 10 第四章 系统软件设计 11 4.1 厅外召唤信号登记及消除 11 4.2 内指令信号登记及消除 12 4.3 电梯的平层信号处理 13 4.4 选层定向 14 4.5 轿厢上下行 14 4.6 轿厢外呼信号保持 18 4.7 轿厢内呼信号保持 19 4
6、.8 各楼层停车信号及自动开关门 20 第五章 组态监控 .23 5.1 MCGS 组态过程以及相关画面23 5.1.1 设计监控界面 .23 5.1.2 定义数据变量 .23 5.1.3 属性设置 .24 5.1.4 MCGS 中定义的实时数据库 .24 5.2 动画连接 25 5.2.1 指示灯的属性设置 .25 5.2.2 轿厢属性设置 .26 5.2.3 数值型变量的设置 .27 5.3 MCGS 与 PLC 的连接 27 5.4 编制循环策略 .28 结 论 31 参考文献 .32 致 谢 33 1 第一章 绪 论 1.1 课题的研究意义课题的研究意义 在 PLC 之前,工业控制设备的主流品种是以继电器、接触器为主体的控制装置。继电 器、接触器是一些电磁开关,后来随着工业自动化程度的不断提高,使用继电器电路构成 工业控制系统的缺陷不断地暴露出来,在 20 世纪 6070 年代,社会的进步要求制造出小 批量、多品种、多规格、低成本、高质量的产品以满足市场需要,不断的提出改善生产机 械功能的要求。加上当时电子技术已经有了一定的发展,于是人们开始寻求一种以存储逻 辑代替接线逻