一种基于消息传递的单片机多条件多分支程序设计方法  被引量:12

MCS Program Designing with Many Conditions and Branches Based on Message Passing

在线阅读下载全文

作  者:职燕[1] 蒋存波[1] 徐健[1] 金红[1] 陈小琴[1] 

机构地区:[1]桂林工学院电子与计算机系,广西桂林541004

出  处:《桂林工学院学报》2005年第1期123-127,共5页Journal of Guilin University of Technology

基  金:广西区科技攻关项目 (桂科攻 0235009-5; 桂科攻 0330005-12)

摘  要:通过对控制程序结构的分析归纳, 结合CPU中微程序控制器的设计思想, 提出了一种基于消息传递的控制程序设计方法. 利用消息字进行分支转移控制, 把控制程序中复杂多变的条件判断结构转变为简单的消息字内容判断, 程序结构简单而规范. 给出了一个利用该法设计的粉状物料运输车智能卸料控制系统的实例.In intelligent instrument and controller, control program has usually complex functional structure of conditional branch. Usually by programming in this structure debugging and message passing.By analyzing and adopting the designing idea of microprogram controller,a new designing method is presented based on message passing. By branch controlling using message word, the complex conditional judgement structure in control program can be changed into simple content judgement structure of message word. Then the main character of this method is simple and standard in program structure.An example of design of unloading autocontrol system in powdery material transport vehicle is given. By using this method, the programming, debugging and maintaining are easier.

关 键 词:智能控制 单片机 程序设计 消息传递 

分 类 号:TP311.11[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象