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. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-04-13 05:32:01       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-04-13 05:32:01       101 阅读
  3. 在Django里面运行非项目文件

    2024-04-13 05:32:01       82 阅读
  4. Python语言-面向对象

    2024-04-13 05:32:01       91 阅读

热门阅读

  1. OpenCV C++ 学习笔记(一)

    2024-04-13 05:32:01       40 阅读
  2. C 共用体

    2024-04-13 05:32:01       35 阅读
  3. 常见的分类算法及其应用场景

    2024-04-13 05:32:01       29 阅读
  4. 数据仓库—ETL工具与技术:数据仓库的坚实基石

    2024-04-13 05:32:01       36 阅读
  5. 8266 Ubuntu下 arduino开发

    2024-04-13 05:32:01       35 阅读
  6. Promise学习笔记

    2024-04-13 05:32:01       37 阅读
  7. 数据仓库—ETL技术全景解读:概念、流程与实践

    2024-04-13 05:32:01       35 阅读
  8. Hive窗口函数

    2024-04-13 05:32:01       28 阅读
  9. FTP超大文件下载入库--断点续传发

    2024-04-13 05:32:01       30 阅读
  10. 常见分类算法及其应用

    2024-04-13 05:32:01       31 阅读
  11. kylin使用心得

    2024-04-13 05:32:01       35 阅读