检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]中国科学院沈阳计算技术研究所,沈阳110168 [2]中国科学院研究生院,北京100049
出 处:《组合机床与自动化加工技术》2011年第11期85-88,共4页Modular Machine Tool & Automatic Manufacturing Technique
基 金:"高档数控机床与基础制造装备"国家科技重大专项-开放式数控系统支撑技术创新平台建设(2011ZX04016-071)
摘 要:文章提出了一种软PLC编译技术。通过分析翻译型和解释型编译方法的不足,提出了一种将指令表程序转变为具有可移植性强的标准C程序作为目标语言,最终将其转换为运行系统可执行的目标逻辑组件的编译技术。此编译技术利用了功能强大的开源工具Flex和Bison进行词法和语法分析,并定义了抽象语法树的数据结构,提高了系统的开放性和执行效率。This paper presents a compiler technology for soft PLC.By analyzing the shortage of the translation-and interpretation-based compilation method,this paper proposes a new compiler technology that translates instruction list into the standard C program as the target language with better portability,and ultimately converts the C program to the executable objective logic components for operating system compiler technology.This technology uses the open-source tools Flex and Bison with powerful features for lexical analysis and syntax analysis,and defines the abstract syntax tree data structure,which improves the system's openness and implementation efficiency.
分 类 号:TH16[机械工程—机械制造及自动化] TG65[金属学及工艺—金属切削加工及机床]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.222