| 注册
首页|期刊导航|集成电路与嵌入式系统|融合C语言特性的ST语言的扩展与编译

融合C语言特性的ST语言的扩展与编译

张磊 李响 陈宏君 叶立文 曾凯

集成电路与嵌入式系统2024,Vol.24Issue(2):74-80,7.
集成电路与嵌入式系统2024,Vol.24Issue(2):74-80,7.

融合C语言特性的ST语言的扩展与编译

Extension and compilation of ST language integrating characteristics of C language

张磊 1李响 1陈宏君 1叶立文 1曾凯1

作者信息

  • 1. 南京南瑞继保电气有限公司,南京 211102
  • 折叠

摘要

Abstract

In response to the issue that the standard ST language cannot fully adapt to application scenarios such as wind turbine control,the article proposes and implements an extended ST language and its compilation system that integrates the characteristics of C lan-guage.The extended ST language integrates general recursive function,function without return value,dynamic array,function block array and calling program into the standard ST language.While fully compatible with the standard ST language,it compensates for the short-comings of the standard ST language.The compiler system supports lexical analysis,parsing,semantic analysis and cross compilation of extended ST language,and generates executable files that can be recognized by the controller.The expanded ST language and its compila-tion system can fully adapt to wind power generation control and other application scenarios.After application in practical engineering,it has been shown that the extended ST language can fully support special applications in practical engineering and improve the writing and execution efficiency of control programs.

关键词

结构化文本语言/可编程逻辑控制器/C语言

Key words

ST language/PLC/C langyage

分类

信息技术与安全科学

引用本文复制引用

张磊,李响,陈宏君,叶立文,曾凯..融合C语言特性的ST语言的扩展与编译[J].集成电路与嵌入式系统,2024,24(2):74-80,7.

基金项目

国网电力科学研究院科技项目-自主可控通用型PLC软件平台研制(JS22011447). (JS22011447)

集成电路与嵌入式系统

OACSTPCD

1009-623X

访问量0
|
下载量0
段落导航相关论文