基于人工智能的PLC编程应用研究  

在线阅读下载全文

作  者:张涛 李林 雷超 

机构地区:[1]四川宏华电气有限责任公司,四川成都610036

出  处:《工业控制计算机》2024年第11期128-130,共3页Industrial Control Computer

摘  要:传统的PLC编程方法存在着复杂性高、效率性低等方面的问题,严重制约了工程师的程序开发速度。为解决这些问题,提出了一种基于人工智能的PLC代码生成方法。首先,利用文心一言生成所需功能的SCL语言代码。接着,在Visual Studio Code中对生成的代码检查和修订。最后,在西门子博途中导入修订后的源代码文件,并对其功能进行测试。实验结果表明,自动生成的SCL代码能基本满足所需功能要求,该方法提高了PLC编程效率。The traditional PLC programming method has problems in terms of high complexity and low efficiency,which seriously restricts the program development speed of engineers.To solve these problems,this paper proposes a PLC code generation method based on artificial intelligence.Firstly,generating functionally compliant SCL Code with ERNIE Bot.Next,the generated code is checked and revised in Visual Studio Code.Finally,the revised source code file is imported in Siemens and tested for its functionality.The experimental results show that the automatically generated SCL code can basically meet the requirements of the required functions,and this method improves the efficiency of PLC programming.

关 键 词:人工智能 文心一言 西门子PLC SCL 编程 

分 类 号:TP18[自动化与计算机技术—控制理论与控制工程] TP273[自动化与计算机技术—控制科学与工程]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象