基于ARM的PLC的CAN通信协议设计与实现  被引量:3

Design and Development of the CAN Communication Protocol in Programmable Controller Based ARM

在线阅读下载全文

作  者:王珍珠[1,2,3] 刘伟[2,3] 刘占清[2,3] 

机构地区:[1]中国科学院研究生院,北京100039 [2]中国科学院沈阳计算技术研究所,沈阳110168 [3]沈阳高精数控技术有限公司,沈阳110168

出  处:《组合机床与自动化加工技术》2011年第8期60-63,共4页Modular Machine Tool & Automatic Manufacturing Technique

基  金:国家重点基础研究发展计划资助(973项目;2011CB302400)

摘  要:在分析了PLC系统通信模块的基础上,提出了一种基于ARM实现的PLC系统的主CPU和I/O板之间进行数据采集和输出的CAN通信协议。该通信协议中,首先,主CPU向输入板请求数据。其次,输入板收到请求后向主CPU发送采集的数据。然后主CPU收到数据后对SIPROM编码进行解释执行,并通过CAN总线将输出结果发给输出板。最后,输出板对收到的数据进行处理后输出到外部设备,实现PLC控制功能。该协议通过I/O测试台的测试已成功运用于国家高档数控工程研究中心的PLC通信模块中。Based the analysis of communication module of PLC system,this paper proposes a CAN communication protocol between main CPU and I/O board of PLC system to process data collection and output based on ARM.In this protocol,firstly,main CPU acquires data from input board.Secondly,the input board accepts the acquirement and sends colleting data to main CPU.Then after accepting data,main CPU will compile and run the SIPROM codes and output data to output board by CAN bus.Lastly,output board deals with the data form main CPU and output to the external equipment to achieve the function of PLC.This protocol has been tested by I/O testing platform and successfully applied in communication module of PLC of National Engineering Research Center.

关 键 词:ARM PLC CAN 通信协议 

分 类 号:TP316.2[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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