首页 | 本学科首页   官方微博 | 高级检索  
     

一种基于消息传递的单片机多条件多分支程序设计方法
引用本文:职燕,蒋存波,徐健,金红,陈小琴.一种基于消息传递的单片机多条件多分支程序设计方法[J].桂林工学院学报,2005,25(1):123-127.
作者姓名:职燕  蒋存波  徐健  金红  陈小琴
作者单位:桂林工学院,电子与计算机系,广西,桂林,541004
基金项目:广西区科技攻关项目 (桂科攻 0235009-5,桂科攻 0330005-12)
摘    要:通过对控制程序结构的分析归纳,结合CPU中微程序控制器的设计思想,提出了一种基于消息传递的控制程序设计方法.利用消息字进行分支转移控制,把控制程序中复杂多变的条件判断结构转变为简单的消息字内容判断,程序结构简单而规范.给出了一个利用该法设计的粉状物料运输车智能卸料控制系统的实例。

关 键 词:智能控制  单片机  程序设计  消息传递
文章编号:1006-544X(2005)01-0123-05
修稿时间:2004年7月26日

MCS Program Designing with Many Conditions and Branches Based on Message Passing
ZHI Yan,JIANG Cun-bo,XU Jian,JIN Hong,CHENG Xiao-qin.MCS Program Designing with Many Conditions and Branches Based on Message Passing[J].Journal of Guilin University of Technology,2005,25(1):123-127.
Authors:ZHI Yan  JIANG Cun-bo  XU Jian  JIN Hong  CHENG Xiao-qin
Abstract: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.
Keywords:intelligent control  single chip  software design  message passing
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号