Ethercat
exat500g
这个作者很懒,什么都没留下…
展开
-
Igh Ethercat 从机做为DC参考时钟的个人理解
/** Queues the DC reference clock drift compensation datagram for sending.** The reference clock will by synchronized to the application time provided* by the last call off ecrt_master_application_time().*/void ecrt_master_sync_reference_clock( ...原创 2020-09-11 20:44:37 · 3438 阅读 · 1 评论 -
Igh EthercatMaster利用官方给的update.sh脚本生成其他内核版本的网卡驱动
以igb网卡为例。进入device/igb目录执行update.sh脚本,按照说明填入内核源码位置,需要提取补丁的版本,需要生成的版本比如以下命令,提取3.18版本的补丁,从~/develop/linux3.16.7目录提取驱动,打上补丁并命名为3.16版本./update.sh ~/develop/linux-3.16.7 3.18 3.16打补丁的过程中会提示某些项目失败,比如Hunk #31 FAILED at 6495.Hunk #32 succeeded at 652.原创 2020-09-11 20:14:28 · 985 阅读 · 2 评论 -
关于Igh-EthercatMaster如何使用从站作为dc参考时钟
代码基于xenomai2和qt我igh修改了的源码把ecrt_master_reference_clock_time(ighMaster,(uint64_t*)&refTime) 函数返回的refTime改成了uint64_t#include "IghEthercatMaster.h"#include "EthercatDevice.h"#include "GlobalF...原创 2019-12-26 10:42:24 · 4297 阅读 · 31 评论 -
关于Igh-EthercatMaster DC时钟的同步方式和性能
发现SYNC0信号的周期跳变最大7us,平均2us,而且有随机周期160ms的7us跳变尖峰,比起官方宣称的100ns时间同步精度相差甚远.原来是Igh-EthercatMaster的dc_user例子里给的是使用主站时钟作为整个从机时钟的DC同步方式.根据 http://lists.etherlab.org/pipermail/etherlab-users/2016/003012.htm原创 2017-10-21 22:19:04 · 7589 阅读 · 24 评论