采用位域的PLC上位机数据压缩方法及实现  

Data Compression Method and Realization of PLC Host Computer Using Bit-field

在线阅读下载全文

作  者:韩玲 杨少军 HAN Ling;YANG Shaojun(College of Computer,Xi’an Aeronautical Institute,Xi’an 710089,China;AVIC Xi’an Aircraft Industry Group Company Ltd.,Xi’an 710089,China)

机构地区:[1]西安航空学院,计算机学院,陕西西安710089 [2]中航西安飞机工业集团股份有限公司,陕西西安710089

出  处:《微型电脑应用》2024年第8期20-23,共4页Microcomputer Applications

基  金:国家自然科学基金(61871313)。

摘  要:针对当前工业控制系统中系统数据与PLC数据不匹配问题,提出一种采用位域的PLC上位机数据压缩方法。该方法接收系统其他数据,分析系统数据与PLC数据的差异性,定义相应的限制位域的结构体,借助于位域完成系统数据到PLC数据的压缩工作,最后将压缩后的用户数据组包发送给PLC设备。将所提方法应用于PLC上位机软件中,并成功在某飞机舱门训练器中得到实践。结果表明,该方法具有良好的实用价值,比传统数据压缩方法更加简单、高效和易操作。In order to solve the problem of data mismatch between host computer and PLC in current industrial control systems,a method of data compression for host computer using Bit-field is proposed,this paper receives other system data,analyzes the difference between the system data and PLC data,defines the structure of the corresponding restricted Bit-field,and completes the compression of the system data to PLC data with the help of the Bit-field.The compressed user data packet is sent to the PLC equipment.This method has been applied to the software of PLC host computer and has been successfully applied to a cabin door trainer.The results show that the method has good practical value,and is more simple,more efficient and easier to operate than the traditional data compression methods.

关 键 词:位域 PLC 数据压缩 上位机 

分 类 号:TP393[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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