- 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
简明CANopen协议
简明CANOpen协议
090120
I CANOpen的协议版本
常用标准分2种
DS301 communications profile The DS 301 communications profile forms the interface between device profiles and CAN bus. It was specified in 1995 under the name DS 301 and defines unified standards for common data exchange between different device types under CANopen.
The communications profile objects in the device carry out the tasks of data and parameter exchange with other network devices and initialise, control and monitor the device in the network.
DSP 402 device profile The DSP 402 device profile describes standardised objects for positioning, monitoring and settings of drives. The tasks of the objects are:
? Device control and status monitoring (Device Control)
? Standardised parameter setting
? Switching, verification and execution of operating modes
II Object directory的概念
Device的所有信息都存在Object directory中,通过16bit Index 和 8bit subindex 寻址要访问的信息。
Object directory看起来像这样:
Index 和 subindex 看起来像这样:
Index相当于是个目录,subindex是内容
Directory中的几个重要的参数:
PDO的参数(后文会解释何为PDO)
每一个PDO parameter的Subindex 01h 是PDO enable设置和PDO COB-ID修改。Subindex 02h 是Transmission Type。
Subindex 1 的格式:
比如R_PDO1的COB-ID默认为200h + node-Id ,可以对index 1400h subnidex1进行修改,使之变为其它值。
Subindex2即Transmission Type用来设置PDO是cyclic还是acyclic。
PDO发的是什么?即PDO在object directory中的指向 – PDO mapping
例如BK51x0的index1600默认值如下:
即默认R_PDO1 receive的是1st output block, 2nd output block…
III communication objects
The communications objects are standardised with the DS301 CANopen communications profile. The objects can be classified into four groups according to their tasks.
通讯的桢格式是这样的:
其中COB-ID是这样的
各种communication objects的COB-ID默认如下:
Node address Every network device is configured before network operation. It is given a unique, 7-bit-long node address (node-Id) between 1 (01h) and 127(7Fh). The device address 0 is reserved for broadcast transmissions, which are used to send the messages to all devices simultaneously.
下面分别介绍4种communication object:
SDO
SDO用来访问和修改object directory中的参数。The data exchang
文档评论(0)