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

相关推荐
JIANGHONGZN7 天前
DeviceNET转EtherCAT网关:医院药房自动化的智能升级神经中枢
网关·工业自动化·ethercat·协议网关·工业通讯·devicenet
JIANGHONGZN14 天前
当PLC遇上电焊机器人:EtherCAT转CANopen上演工业级“语言翻译官”
工业控制·工业自动化·ethercat·协议网关·canopen
weixin_4266021421 天前
EtherCAT转EtherNet/IP解决方案-泗博网关CEI-382
ethercat·ethernet/ip·ethercat转eip·ethercat转ab plc
rosemary5121 个月前
Ubuntu 22.04安装IGH
linux·ubuntu·ethercat
嵌入式科普3 个月前
十七、从0开始卷出一个新项目之瑞萨RZN2L定时器(GPT)+DMA生成PWM的运动控制
ethercat·瑞萨rzn2l·gpt+dma·脉冲型运动控制
北京耐用通信3 个月前
半导体晶圆精控:ethercat转profient网关数据提升制造精度
网络·制造·ethercat·ethercat总线
稳联技术5 个月前
稳定的通信桥梁,CCLINKIE转ModbusTCP网关实现AGV运输的光速效应
网络·ethercat·cclink ie
沐多5 个月前
【原创】浅谈EtherCAT主站EOE(下)-EtherCAT IgH主站EoE具体实现
ethercat
JXES智能生态系统8 个月前
【EtherCAT实践篇一】TwinCAT 3安装、使用
ethercat·电机驱动
田彼南山9 个月前
零差云控电机ubuntu+IGH调试记录
ethercat·igh