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

相关推荐
SysMax10 天前
[开源机器人DCU模块]KunHong四路CANFD转EtherCAT
机器人·can·ethercat·关节电机
gtr202019 天前
Ubuntu24.04 基于 EtherCAT 的 SVD60N 主站
linux·ethercat
ALzc20 天前
深度剖析EtherCAT FOE功能:ARM固件升级的数据传输与状态机实现
c语言·stm32·ethercat·foe
疆鸿智能研发小助手20 天前
疆鸿智能ETHERNET IP转EtherCAT网关:驱动汽车焊接产线高效协同的核心引擎
网关·自动化·工业自动化·ethercat·ethernet ip·工业通讯·协议转换网关
疆鸿智能研发小助手21 天前
钢铁厂污水处理系统:疆鸿智能ETHERNET/IP转EtherCAT网关的工业网络集成应用
网关·工业自动化·ethercat·ethernet ip·工业通讯·协议转换网关
疆鸿智能研发小助手22 天前
疆鸿智能 EtherNet/IP转ETHERCAT网关:打通罗克韦尔与汇川伺服的石材产线
网关·以太网·工业自动化·ethercat·ethernet ip·工业通讯·协议转换网关
日更嵌入式的打工仔25 天前
Ehercat代码解析中文摘录<9>
笔记·ethercat
疆鸿智能研发小助手25 天前
工业网关融合之道:疆鸿智能ETHERNET/IP 与 EtherCAT 在包装印刷厂的精妙协奏
工业自动化·ethercat·ethernet ip·工业通讯·协议转换网关
疆鸿智能研发小助手1 个月前
工业网络协议网关在危化品生产自动化中的关键作用:以ETHERNET/IP转EtherCAT为例
网关·工业自动化·ethercat·ethernet ip·工业通讯·协议转换网关·机械手臂
日更嵌入式的打工仔1 个月前
Ehercat代码解析中文摘录<7>
笔记·ethercat