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

相关推荐
嵌入式科普20 小时前
二十、瑞萨RZT2N2 PROFINET SDK正式发布
ethercat·profinet·瑞萨rzn2l·profidrive
疆鸿智能研发小助手1 天前
工业网关在汽车冲压车间的应用:EtherNet/IP转EtherCAT集成实践
工业自动化·ethercat·ethernet ip·工业通讯·协议转换网关
热心市民R先生6 天前
IgH EtherCAT 主站核心技术解析:从架构到工业部署的底层逻辑
架构·igh
sayang_shao1 个月前
STM32H7+FreeRTOS+LwIP移植EtherCAT开源主站SOEM
stm32·soem·ethercat·canopen
JIANGHONGZN2 个月前
降本增效利器:汽车制造中EtherCAT转PROFIBUS DP网关应用探析
汽车·ethercat·协议网关·工业通讯·profibus dp
JIANGHONGZN2 个月前
矿业自动化破壁者:EtherCAT转PROFIBUS DP网关的井下实战
dp·ethercat·协议网关·工业通讯·profibus dp
正运动技术2 个月前
强实时运动控制内核MotionRT750(一):驱动安装、内核配置与使用
运动控制·正运动技术·运动控制器·运动控制卡·ethercat·正运动控制卡·正运动控制器
JIANGHONGZN3 个月前
PROFIBUS DP 转 EtherCAT 网关:冶金自动化高效协同的基石
dp·ethercat·协议网关·profibus·profibusdp
NYKJ.Co3 个月前
开疆智能ModbusTCP转EtherCAT网关连接IVO编码器配置案例
modbustcp·ethercat
NYKJ.Co3 个月前
开疆智能ModbusTCP转Ethercat网关连接丹尼克尔拧紧系统配置案例
modbustcp·ethercat