当前位置: 首页 > news >正文

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

IndexSubIndexSizeDefault Value
0x1c1200int80x01
0x1c1201int160x1600(5632)
0x1c1202int160x1601(5634)
0x1c1229int160x1620(5664)
0x1c1230int160x1621(5665)
IndexSubIndexSizeDefault Value
0x160000int80x03
0x160001int320x607a0020(1618608160)
0x160002int320x60fe0120(1627259168)
0x160003int320x60400010(1614807056)

2.0x1c13(SM3)

IndexSubIndexSizeDefault Value
0x1c1300int80x01
0x1c1301int160x1a00(6656)
0x1c1302int160x1a01(6657)
0x1c1333int160x1a24(6692)
0x1c1334int160x1a26(6694)
0x1c1335int160x0000(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

http://www.lryc.cn/news/337908.html

相关文章:

  • 【QT入门】Qt自定义控件与样式设计之qss介绍(Qt style sheet)
  • [ LeetCode ] 题刷刷(Python)-第49题:字母异位词分组
  • 冒泡排序算法实现步骤
  • js实现webp转png/jpg
  • DVWA -File Upload-通关教程-完结
  • 中介者模式:简化对象间通信的协调者
  • 【Python系列】pydantic版本问题
  • 深度学习-多尺度训练的介绍与应用
  • 详解单文件组件
  • MLeaksFinder报错
  • 【心路历程】初次参加蓝桥杯实况
  • 微信小程序全屏开屏广告
  • 记录day1
  • stm32GPio的开发基础
  • DataSource
  • Linux防止暴力破解密码脚本
  • Unity 遮罩
  • jmeter实验 模拟:从CSV数据到加密请求到解密返回数据再到跨越线程组访问解密后的数据
  • 设计模式——外观(门面)模式10
  • 第七周周一人工智能导论预告
  • npm install 的不同选项:--save、--save-dev、-S、-D 的区别
  • 设计模式详解(十四)——策略模式
  • 【牛客SQL快速入门】SQL基础(二)
  • 利用Java代码调用Lua脚本改造分布式锁
  • 7/8电源连接器航空插头端子
  • 华为OD-C卷-游戏分组[100分]
  • 【c++】优先级队列|反向迭代器(vector|list)
  • gocron定时任务管理
  • JCYZ H3CNE-RS+
  • 太阳光光照试验耐久性老化试验使用太阳光模拟器系统