广西工学院学报
廣西工學院學報
엄서공학원학보
JOURNAL OF GUANGXI UNIVERSITY OF TECHNOLOGY
2012年
1期
14-19
,共6页
侯鸿佳%蔡启仲%陈文辉%蒋玉新
侯鴻佳%蔡啟仲%陳文輝%蔣玉新
후홍가%채계중%진문휘%장옥신
ARM%CAN通信%通信协议%标识符
ARM%CAN通信%通信協議%標識符
ARM%CAN통신%통신협의%표식부
ARM%CAN communication%communication protocol%identifier
通过自主研制的ARM+FPGA组成的PLC结构通信系统设计的介绍,采用CAN总线实现系统中各模块间的通信功能.在详细分析PLC主机在上电、编辑状态和程序执行时的通信需求与特点的基础上,规范了通信内容达到通信系统的通用性,设计内容主要包括通信协议与通信标识符格式的设计,PLC主机通信软件模块的组成与操作流程,CAN通信发送和接收信息处理任务程序流程的设计等.经试验验证表明:该系统最终可满足PLC主机与各功能模块间不同的通信要求,实现PLC系统实时可靠的通信.
通過自主研製的ARM+FPGA組成的PLC結構通信繫統設計的介紹,採用CAN總線實現繫統中各模塊間的通信功能.在詳細分析PLC主機在上電、編輯狀態和程序執行時的通信需求與特點的基礎上,規範瞭通信內容達到通信繫統的通用性,設計內容主要包括通信協議與通信標識符格式的設計,PLC主機通信軟件模塊的組成與操作流程,CAN通信髮送和接收信息處理任務程序流程的設計等.經試驗驗證錶明:該繫統最終可滿足PLC主機與各功能模塊間不同的通信要求,實現PLC繫統實時可靠的通信.
통과자주연제적ARM+FPGA조성적PLC결구통신계통설계적개소,채용CAN총선실현계통중각모괴간적통신공능.재상세분석PLC주궤재상전、편집상태화정서집행시적통신수구여특점적기출상,규범료통신내용체도통신계통적통용성,설계내용주요포괄통신협의여통신표식부격식적설계,PLC주궤통신연건모괴적조성여조작류정,CAN통신발송화접수신식처리임무정서류정적설계등.경시험험증표명:해계통최종가만족PLC주궤여각공능모괴간불동적통신요구,실현PLC계통실시가고적통신.
This paper represents a design of PLC based communication system,which is composed of ARM and FPGA.The CAN bus is used to implement the communication between modules of the system.By analyzing the requirements and characters of communication of the PLC host in the stage of power-on,editing mode and executing mode,a universal communication pattern is realized.The pattern mainly includes three parts of criteria: the first part is the design of communication protocol and communication identifier format,the second part is that of the composition and operating procedures of the communication software for PLC host,and the last part is that of task processing procedures for the message sending and receiving of CAN bus.The results of validation experiments show that this communication system fulfills the requirements of reliable communication between PLC host and each module.