Igh related:Small Bug And Notes Record.

Write at the top

My computer got some silly problem with the typing software that my Chinese IM does't work again. So I'll try to record the things happened in English.

If any error,DM me plz.

BUGs

BUG1

Undefined symbol Identifier "CLOCK_MONOTONIC"

Undefined symbol Identifier "TIMER_ABSTIME"

Solution

In your main cpp file, add this in the first line:
#define _GNU_SOURCE

Notes

Command Line Notes

  1. 0x1c12(SM2)
    0x1c12 is SM2 Related Index , Specially used in EtherCAT over the CANOpen.
    Aimed to set the RPDO settings.

sudo ethercat upload -t int8 -p 3 -a 0 0x1c12 00

0x01 1

sudo ethercat upload -t int16 -p 3 -a 0 0x1c12 01

0x1600 5632
sudo ethercat upload -t int16 -p 3 -a 0 0x1c12 31

SDO transfer aborted with code 0x06090011: Subindex does not exist
sudo ethercat upload -t int16 -p 3 -a 0 0x1c12 30

0x1621 5665

Index SubIndex Size Default Value
0x1c12 00 int8 0x01
0x1c12 01 int16 0x1600(5632)
0x1c12 02 int16 0x1601(5634)
... ... ... ...
0x1c12 29 int16 0x1620(5664)
0x1c12 30 int16 0x1621(5665)
Index SubIndex Size Default Value
0x1600 00 int8 0x03
0x1600 01 int32 0x607a0020(1618608160)
0x1600 02 int32 0x60fe0120(1627259168)
0x1600 03 int32 0x60400010(1614807056)

2.0x1c13(SM3)

Index SubIndex Size Default Value
0x1c13 00 int8 0x01
0x1c13 01 int16 0x1a00(6656)
0x1c13 02 int16 0x1a01(6657)
... ... ... ...
0x1c13 33 int16 0x1a24(6692)
0x1c13 34 int16 0x1a26(6694)
0x1c13 35 int16 0x0000(0)

Set 0x1c12 0 to 0

Then set it to the true number

Set 0x1600 0 to 0

Then set it to the true number 1

Set 0x1601 0 to 0

Then set it to the true number 1

相关推荐
北京盟通科技官方账号3 小时前
NVIDIA Jetson 全球生态链分析:acontis(代表产品EC-Master)在机器人 EtherCAT 赛道的硬核价值
人工智能·机器人·ethercat·技术原理·盟通科技·ec-master·acontis
北京盟通科技官方账号8 天前
Windows如何实现硬实时?LxWin双系统隔离架构深度解析
stm32·嵌入式硬件·具身智能·ethercat·人形机器人·实时系统·windows实时扩展
promanz11 天前
EtherCAT查找从设备示例
ethercat
北京盟通科技官方账号16 天前
工业 PC 平台 EtherCAT 主站协议栈选型探讨:开源方案与商业级实时架构的工程落地对比
架构·机器人·开源·工控·ethercat·盟通科技·ec-master
CC城子19 天前
EtherCAT技术栈分析(一)
ethercat
CC城子19 天前
EtherCAT从站ssc V5.12源码研究与记录(二)
网络·ethercat
CC城子19 天前
EtherCAT从站ssc V5.12源码研究与记录(一)
ethercat
北京盟通科技官方账号21 天前
【技术深挖】EtherCAT 如何实现超高精度同步?深度解析分布式时钟 (DC)
网络协议·数据传输·ethercat·智能工厂·盟通科技·windows实时·ec-master
北京盟通科技官方账号22 天前
【技术科普】EtherCAT如何实现高安全性、高可用性与灵活拓扑?
网络拓扑·机器人控制·ethercat·ecmaster·盟通科技·主站开发·主站协议栈
北京盟通科技官方账号1 个月前
工业安全:FSoE (Fail Safe over EtherCAT) 常见技术问题解析
安全·具身智能·ethercat·人形机器人·工业安全·fsoe·ecmaster