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

相关推荐
兴达易控1 天前
EtherCAT转Profinet网关配置说明第一讲:配置软件安装及介绍
ethercat转·ethercat·profinet协议转换模块·转profinet协议网关·ethercat转pn网关
常驻客栈6 天前
EtherCAT主站IGH-- 4 -- IGH之datagram_pair.h/c文件解析
c语言·ethercat主站·ethercat·常驻客栈·igh·ethercat主站igh
常驻客栈12 天前
EtherCAT主站IGH-- 1 -- IGH之cdev.h/c文件解析
c语言·ethercat主站·工业总线·ethercat·常驻客栈·igh·igh主站
沐多17 天前
【原创】EtherCAT主站IgH解析(二)-- Linux/Windows/RTOS等多操作系统IgH EtherCAT主站移植指南
ethercat
AoDeLuo18 天前
Windows10 利用QT搭建SOEM开发环境
qt·mfc·ethercat·倍福
天狭鬼19 天前
EtherCAT笔记(二) —— EtherCAT状态机
笔记·ethercat
YONYON-R&D1 个月前
EtherCAT 和 UDP 通讯的实时性 区别
ethercat
机构师1 个月前
<工控><PLC>汇川Easy521系列PLC与汇川SV630N伺服进行EtherCat通讯的相关配置及指令编写
plc·工控·ethercat·汇川·伺服驱动
特立独行的猫a4 个月前
EtherCAT开源主站 IGH 介绍及主站伺服控制过程
运动控制器·soem·ethercat·igh