节点文献
一种基于消息传递的单片机多条件多分支程序设计方法
MCS Program Designing with Many Conditions and Branches Based on Message Passing
【摘要】 通过对控制程序结构的分析归纳, 结合CPU中微程序控制器的设计思想, 提出了一种基于消息传递的控制程序设计方法. 利用消息字进行分支转移控制, 把控制程序中复杂多变的条件判断结构转变为简单的消息字内容判断, 程序结构简单而规范. 给出了一个利用该法设计的粉状物料运输车智能卸料控制系统的实例.
【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.
【Key words】 intelligent control; single chip; software design; message passing;
- 【文献出处】 桂林工学院学报 ,Journal of Guilin Institute of Technology , 编辑部邮箱 ,2005年01期
- 【分类号】TP311.11
- 【被引频次】14
- 【下载频次】104