作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2011, Vol. 37 ›› Issue (16): 235-237. doi: 10.3969/j.issn.1000-3428.2011.16.080

• 工程应用技术与实现 • 上一篇    下一篇

现场总线智能I/O模块用户程序解释器设计

金 红   

  1. (桂林理工大学信息科学与工程学院,广西 桂林 541004)
  • 收稿日期:2011-04-13 出版日期:2011-08-20 发布日期:2011-08-20
  • 作者简介:金 红(1980-),女,讲师、硕士,主研方向:智能检测与控制,嵌入式系统,SOPC技术
  • 基金资助:
    广西科技攻关计划基金资助项目“现场总线式过程控制模块研制”(桂科攻0815001-21)

Design of User Program Interpreter for Fieldbus Intelligent I/O Module

JIN Hong   

  1. (Institute of Information Science & Engineering, Guilin University of Technology, Guilin 541004, China)
  • Received:2011-04-13 Online:2011-08-20 Published:2011-08-20

摘要: 在分级计算机控制系统中,智能控制装置位于现场执行层,用于接收上一级控制装置的命令或用户程序,但命令和程序需要经过转换才能被智能节点的微控制单元执行。为此,分析用户程序的语句功能、格式、词法和符号,基于有限状态机设计用户程序解释及执行程序,并将其作为UCOS-Ⅱ任务,与其他任务构成智能控制软件。测试结果表明,该解释器能正确解释执行用户程序,依据现场环境独立执行控制任务。

关键词: 智能控制模块, 嵌入式系统, 解释程序, 状态机, 现场总线

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

中图分类号: