电力监控网中16位CRC校验算法实现及PLC通信程序设计

来源 :国内外机电一体化技术 | 被引量 : 0次 | 上传用户:qqiuhe123
下载到本地 , 更方便阅读
声明 : 本文档内容版权归属内容提供方 , 如果您对本文有版权争议 , 可与客服联系进行内容授权或下架
论文部分内容阅读
在工程实际中,针对监控现场的电磁干扰严重、环境恶劣、数据通讯量大以及对数据处理的时实性强等特点,常用16位CRC校验方式实现工业网络底层PLC与上位PC机通讯系统中数据链路层差错校验。本文重点介绍了CRC校验原理,利用查表法实现循环冗余校验,并编写了基于西门子(SIEMENS)S7-200PLC自由通信的CRC校验程序,应用于武汉地铁1号线的变电站监控系统。结果表明,该算法有利于提高系统的稳定性和抗干扰能力,保证了数据传输的准确性。 In engineering practice, for monitoring the scene of serious electromagnetic interference, harsh environments, large amount of data traffic and data processing time is strong and so on, commonly used 16-bit CRC parity to achieve the bottom of the industrial network PLC and PC communication system In the data link layer error checking. This article focuses on the principle of CRC verification, the use of table lookup method to achieve cyclic redundancy check, and prepared based on SIEMENS S7-200PLC free communication CRC verification program used in substation monitoring system of Wuhan Metro Line 1 . The results show that the proposed algorithm can improve the system stability and anti-interference ability, and ensure the accuracy of data transmission.
其他文献
传统的投资分析工具如贴现现金流量法(NPV)将未来的现金流量按照一定的贴现率折算到决策时点,以项目的净现值与投资额的比较结果决定投资与否。传统的决策方法的决策思想是建
小老鼠糖糖刚出生的时候,就把医生和妈妈吓了一大跳——因为他会喷火.rn糖糖上小学了,一切都那么新奇.一天,小老虎举着一个汉堡包开心地说:“我这儿有一个汉堡包,可好吃了!谁
期刊
趋化因子是新近发现的一类蛋白质,主要参与趋化、激活白细胞亚群,调节机体非特异免疫,特别是与爱滋病和肿瘤的关系引起了国内外极大关注.国内已发表了不少趋化因子方面的综述,但趋化因子与NK细胞的关系却鲜为人知,本文重点介绍CHAK的国内外研究进展.