摘要
在分级计算机控制系统中,智能控制装置位于现场执行层,用于接收上一级控制装置的命令或用户程序,但命令和程序需要经过转换才能被智能节点的微控制单元执行。为此,分析用户程序的语句功能、格式、词法和符号,基于有限状态机设计用户程序解释及执行程序,并将其作为UCOS-Ⅱ任务,与其他任务构成智能控制软件。测试结果表明,该解释器能正确解释执行用户程序,依据现场环境独立执行控制任务。
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.
出处
《计算机工程》
CAS
CSCD
北大核心
2011年第16期235-237,共3页
Computer Engineering
基金
广西科技攻关计划基金资助项目"现场总线式过程控制模块研制"(桂科攻0815001-21)
关键词
智能控制模块
嵌入式系统
解释程序
状态机
现场总线
intelligence control module
embedded system
explanation program
status machine
fieldbus