松下伺服驱动器的初始化失败 - AM335x - 嵌入式开发者社区 - 51ele.net
设为首页收藏本站

嵌入式开发者社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 5701|回复: 5

[未解决] 松下伺服驱动器的初始化失败

[复制链接]

1

主题

4

帖子

41

积分

新手上路

Rank: 1

积分
41
发表于 2018-10-31 00:08:25 | 显示全部楼层 |阅读模式
      各位好,我正在用EC-Master-V2.9-SYSBIOS-Motor工程作为master,唯一的从机采用的是松下伺服驱动器。在初始化EtherCAT  Master的时候老是出错——不管是启用DCM模式还是禁用DCM模式,都报0x9811001e的错误。下面是日志信息:
            000133 : Run demo now with cycle time 1000 usec
            000133 : Using AuxClock
            000133 : ==========================
            000133 : Initialize EtherCAT Master
            000133 : ==========================
            000133 : EC-Master V2.9.0.06 (Protected) for SYSBIOS Copyright acontis technologies GmbH @ 2016
            000134 : CPSW INF: Port 1, Prio 1, Flags [Polling] [Master], Phy 0, PhyInterface 32,  MAC 10:ce:a9:a8:76:27

            000135 : CPSW INF: CPSW3G found. CPSW INF: HW-Id: 0x0019, RTL: 0, Major: 1, Minor: 0xc
            000136 : CPSW INF: PHY found. Id=0x00221622
            000136 : CPSW INF: Restart PHY auto negotiation
            003247 : CPSW INF: PHY auto negotiation completed
            003277 : Unlicensed version, stop sending ethernet frames after 60 minutes!
            003278 : DCM control loop disabled for diagnosis!

            003398 : Retry sending a acyclic frame due to timeout
            003398 : EtherCAT command IDX set value=0xdf
            003518 : Retry sending a acyclic frame due to timeout
            003518 : EtherCAT command IDX set value=0xe0
            003759 : Scan Bus returned with error: Bus configuration mismatch (0x9811001e)
            004242 : 1 identical messages skipped
            004242 : ecatScanBus() Error 0x9811001e in McSm state 'SB_DONE' for requested state 'SB_DONE'
            004355 : EtherCAT network adapter MAC: 10-CE-A9-A8-76-27

            004355 : =====================
            004355 : Start EtherCAT Master
            004355 : =====================
            004836 : Scan Bus returned with error: Bus configuration mismatch (0x9811001e)
            004844 : ecatSetMasterStateEx() Error 0x9811001e in McSm state 'START' for requested state 'START'
            004844 : Scan bus mismatch for the first slave on the bus! BUS VendorId: ---- (0x0); ProductCode: Unknown (0x0).
            004844 : CFG/BUS VendorId: ---- (0x66f) / ---- (0x0); ProductCode: Unknown (0x60380006) / Unknown (0x0)
            004844 : Scan bus mismatch for the first slave on the bus! BUS VendorId: ---- (0x0); ProductCode: Unknown (0x0).
            004844 : CFG/BUS VendorId: ---- (0x66f) / ---- (0x0); ProductCode: Unknown (0x60380006) / Unknown (0x0)
            004844 : Scan bus mismatch for the first slave on the bus! BUS VendorId: ---- (0x0); ProductCode: Unknown (0x0).
            004844 : CFG/BUS VendorId: ---- (0x66f) / ---- (0x0); ProductCode: Unknown (0x60380006) / Unknown (0x0)
            004844 : Cannot start set master state to INIT (Result = Bus configuration mismatch (0x9811001e))
            004844 : ========================
            004844 : Shutdown EtherCAT Master
            004844 : ========================
            005325 : Scan Bus returned with error: Bus configuration mismatch (0x9811001e)
            005333 : ecatSetMasterStateEx() Error 0x9811001e in McSm state 'START' for requested state 'START'
            005333 : Cannot stop EtherCAT-Master! Bus configuration mismatch (0x9811001e)
            005350 : ================================================================
            005350 : PerfMsmt 'JOB_ProcessAllRxFrames' (avg/max) [usec]:    1.6/ 11.3
            005350 : PerfMsmt 'JOB_SendAllCycFrames  ' (avg/max) [usec]:    3.9/  9.8
            005350 : PerfMsmt 'JOB_MasterTimer       ' (avg/max) [usec]:    5.3/ 76.7
            005350 : PerfMsmt 'JOB_SendAcycFrames    ' (avg/max) [usec]:    1.3/ 27.7
            005350 : PerfMsmt 'Cycle Time            ' (avg/max) [usec]:  1000.3/1433.4
            005350 : PerfMsmt 'myAppWorkPd           ' (avg/max) [usec]:    0.9/  6.7
            005350 : PerfMsmt 'Write DCM logfile     ' (avg/max) [usec]:    0.4/ 12.1
            005654 : CPSW INF: Disable running RX-DMA
            005654 : CPSW INF: RX+TX DMA disabled. Delay 500
            005655 : EcMasterDemoDc stop.  

我的问题是:松下伺服驱动器的初始化该如何操作?

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复

使用道具 举报

1

主题

4

帖子

41

积分

新手上路

Rank: 1

积分
41
 楼主| 发表于 2018-10-31 09:27:14 | 显示全部楼层
今天获取图片了,把完整图片上传上来
根据提示,就是master扫描slave失败。一个从机都没有找到。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复 支持 反对

使用道具 举报

0

主题

31

帖子

1402

积分

创龙

Rank: 8Rank: 8

积分
1402
发表于 2018-10-31 14:52:51 | 显示全部楼层
使用EC-Engineer软件能正常扫描到伺服?
回复 支持 反对

使用道具 举报

0

主题

31

帖子

1402

积分

创龙

Rank: 8Rank: 8

积分
1402
发表于 2018-10-31 14:56:33 | 显示全部楼层
0x9811001e一般指ENI文件没正确配置。
EC-Engineer识别到的伺服型号和实际的是否一致。
回复 支持 反对

使用道具 举报

1

主题

4

帖子

41

积分

新手上路

Rank: 1

积分
41
 楼主| 发表于 2018-11-1 20:16:39 | 显示全部楼层
可以扫描到slave:

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复 支持 反对

使用道具 举报

1

主题

4

帖子

41

积分

新手上路

Rank: 1

积分
41
 楼主| 发表于 2018-11-1 21:19:11 | 显示全部楼层
可以识别的松下所有设备:

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|嵌入式开发者社区 ( 粤ICP备15055271号

GMT+8, 2024-3-29 03:19 , Processed in 0.039463 second(s), 25 queries .

Powered by Discuz! X3.2

© 2001-2015 Comsenz Inc.

快速回复 返回顶部 返回列表