作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2009, Vol. 35 ›› Issue (16): 221-223. doi: 10.3969/j.issn.1000-3428.2009.16.080

• 工程应用技术与实现 • 上一篇    下一篇

基于状态图的电梯控制建模及其PLC实现

马殷元1,姚 闯2   

  1. (1. 兰州交通大学机电技术研究所,兰州 730070;2. 兰州铁路局,兰州 730000)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2009-08-20 发布日期:2009-08-20

Elevator Control Modeling Based on Statecharts and Its PLC Implementation

MA Yin-yuan1, YAO Chuang2   

  1. (1. Institute of Mechanical and Electrical Technology, Lanzhou Jiaotong University, Lanzhou 730070; 2. Lanzhou Railway Bureau, Lanzhou 730000)
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-08-20 Published:2009-08-20

摘要: 采用层次化方法和UML状态图建立电梯控制系统,阐述用PLC语言实现状态图模型的方法。该方法用子程序封装组合状态,通过置位或复位子程序的使能输入位决定是否执行子程序,以实现对状态转移的控制。给出在西门子PLC上利用该方法实现的控制系统主程序,其结构化程度高,可以作为控制系统的PLC软件框架。

关键词: 控制系统, 电梯, 状态图, 建模, 可编程逻辑控制器, 框架

Abstract: This paper uses hierarchical method and UML statecharts to model an elevator control system and expatiate an approach of implementing the statecharts model with PLC language. By means of encapsulating the composite state into subroutine, and by means of setting or resetting the enable input bit to enable or disable the subroutine to be executed or not to control the transition. The main program of the control system is presented, which takes Siemens PLC as its platform. This program is structural and can be used as a PLC software framework of control system.

Key words: control system, elevator, statecharts, modeling, Programmable Logic Controller(PLC), framework

中图分类号: