摘要
本文以PLC多电磁阀控制设计为例,阐述PLC面向对象结构化设计思想.同时为形成一种较为固定完整的子功能框架模式,将状态转移图应用在系统主要子功能模块中。合理的程序结构与良好的编程模式,可以降低程序开发的难度,增加程序的可读性和系统的可维护性。
The paper describes the object-oriented structured design principle of PLC programming, and its implementation with the example of a PLC control system for multiple electromagnetic valve objects. Also for forming a more regular and complete sub-function framework model, the state transfer diagram is applied to the main sub-function module of system. The rational program structure and good program pattern may lower the difficulty of program development process, increase the readability of program and the maintainability of the system.
出处
《自动化技术与应用》
2010年第7期51-54,共4页
Techniques of Automation and Applications
关键词
PLC程序
程序结构
面向对象
结构化
子功能模块
状态转移图
PLC programming
structure of program
original-object
structured
sub-function module
state transfer diagram
作者简介
曾海燕(1981-),女,实验师,硕士,研究方向:电气自动化。