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

相关推荐
北京盟通科技官方账号2 天前
工业安全:FSoE (Fail Safe over EtherCAT) 常见技术问题解析
安全·具身智能·ethercat·人形机器人·工业安全·fsoe·ecmaster
疆鸿智能研发小助手10 天前
全兼容·真实时·稳如磐石:EtherCAT转Modbus网关赋能医药高端制造
modbus·工业自动化·ethercat·工业通讯·modbus rtu·协议转换网关
沐多14 天前
IgH EtherCAT主站详解(十六)--Igh主站实时网卡驱动开发指南(以r8169为例)
驱动开发·ethercat·实时linux
【ql君】qlexcel16 天前
可跑在STM32上的EtherCAT主机协议栈
stm32·soem·ethercat·igh·协议栈
❀搜不到17 天前
IgH EtherCat主站启动失败
ethercat
沐多17 天前
IgH EtherCAT主站详解系列文章索引
ethercat主站·ethercat·xenomai·实时linux·preempt-rt
芯智工坊19 天前
IgH EtherCAT 从入门到精通:第 2 章 环境搭建与编译安装
ethercat
CC城子21 天前
EtherCAT的igh学习与研究(二)
学习·ethercat
CC城子21 天前
EtherCAT的igh学习与研究(一)
学习·ethercat
疆鸿智能研发小助手25 天前
EtherCAT转CANopen网关模块在工业机器人系统中的典型应用案例解析
工业自动化·ethercat·变频器·仪表·canopen·协议转换网关·机械手臂