Abstract:
In the hierarchical control system, intelligent control devices place in the pot performance layer. The devices receive the user orders or program from the upper class control devices by intelligent control devices. These orders and user program need converse, so they are carried out by Micro Control Unit(MCU) of intelligence node. It puts forward the program design method, though the analysis of the user program function, type, phrase and sign, made use of the principle of limited status machine. The program which can be explained and executed is as a UCOSⅡtask and constituted the intelligent control software with other task programs. Through the test, the result proves that the explain machine can explain and execute the user programs correctly, it also can independently execute the control task based on the spot environment.
Key words:
intelligence control module,
embedded system,
explanation program,
status machine,
fieldbus
摘要: 在分级计算机控制系统中,智能控制装置位于现场执行层,用于接收上一级控制装置的命令或用户程序,但命令和程序需要经过转换才能被智能节点的微控制单元执行。为此,分析用户程序的语句功能、格式、词法和符号,基于有限状态机设计用户程序解释及执行程序,并将其作为UCOS-Ⅱ任务,与其他任务构成智能控制软件。测试结果表明,该解释器能正确解释执行用户程序,依据现场环境独立执行控制任务。
关键词:
智能控制模块,
嵌入式系统,
解释程序,
状态机,
现场总线
CLC Number:
JIN Gong. Design of User Program Interpreter for Fieldbus Intelligent I/O Module[J]. Computer Engineering, 2011, 37(16): 235-237.
金红. 现场总线智能I/O模块用户程序解释器设计[J]. 计算机工程, 2011, 37(16): 235-237.