指针和数组在PLC数据传送逻辑中的应用  

在线阅读下载全文

作  者:张新杰 

机构地区:[1]上海振华重工(集团)股份有限公司,上海200125

出  处:《科技创新与应用》2023年第27期181-184,共4页Technology Innovation and Application

摘  要:为解决自动化生产线项目中大量数据更加方便存储、读写和传送的问题,在PLC控制逻辑中采用高级编程语言的“指针和数组”编程方式,利用数组方式存储数据,并使用“指针”对数据进行读取后传送。对比并采用常用的PLC编程语言传送位置数据的方式。采用高级编程语言的“指针和数组”编程方式的PLC控制逻辑更加简洁,更易于修改和故障排查。采用高级编程语言的“指针和数组”编程方式更适用于大量、复杂的PLC数据传送逻辑的应用。In order to solve the problem of more convenient storage,reading,writing and transmission of a large amount of data in the automatic production line project.In the PLC control logic,the"pointer and array"programming mode of the high-level programming language is adopted,the data is stored in the way of array,and the"pointer"is used to read and transmit the data.Compared with the commonly used PLC programming language to transmit location data,the PLC control logic of"pointer and array"programming mode of advanced programming language is more concise and easier to modify and troubleshoot.The"pointer and array"programming mode of high-level programming language is more suitable for the application of a large number of complex PLC data transmission logic.

关 键 词:数组 指针 高级编程语言 PLC编程 数据传送 

分 类 号:TM571.61[电气工程—电器]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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