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

相关推荐
【ql君】qlexcel4 天前
EtherCAT总线入门到精通教程
soem·工业总线·ethercat·coe
嵌入式科普7 天前
二十四、RZN2L多协议双BANK升级SDK V0.1
瑞萨·ethercat·profinet·rzn2l·foe
廷华电子8 天前
STM32H743+AX58100学习板
stm32·嵌入式硬件·电机控制·ethercat·cia402
芯次元玩家13 天前
EtherCAT 在机器人中的实战应用:主流架构与伺服方案拆解
机器人·ethercat
疆鸿智能研发小助手20 天前
高压锁模之下:疆鸿智能EtherCAT转EtherNet/IP精准对话电磁阀,锁模力毫秒必达
工业自动化·ethercat·电磁阀·ethernet ip·工业通讯·协议转换网关
疆鸿智能研发小助手23 天前
疆鸿智能EtherCAT转Ethernet/IP网关:汇川PLC×施耐德伺服的协议破壁之桥
工业自动化·ethercat·ethernet ip·汇川·工业通讯·协议转换网关·施耐德伺服
工控小楠1 个月前
稳定可靠S7‑1200Profinet转EtherCAT标准化部署方案
ethercat·profinet
工控小楠2 个月前
伺服驱动互联密码:Profinet转EtherCAT网关配置案例
ethercat·profinet
工控小楠2 个月前
经典西门子S7-1200PLC,拥抱PROFINET转EtherCAT网关
ethercat·profinet
ZZZ_XXJ2 个月前
[EtherCAT]对象字典从0x1000到0xFFFF功能分区详解——2026.02.09
stm32·嵌入式开发·ethercat·工业以太网·canopen·对象字典·工控协议