![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ethercat
echo_hello1
这个作者很懒,什么都没留下…
展开
-
面试笔记(纯粹个人向,用于应对问到项目中解决了那些问题的笔记)
项目:伺服电机初始化和伺服电机调用接口的相关工程任务概括:在通信主机上编写应用程序 利用ethercat驱动进行主机对从机(伺服电机)的数据通信首先需要解释一下ethercat数据通信中的两个重要的概念:pdo和sdo,就我所认识的,sdo用于在通信初始化前对目标从机的某些寄存器进行配置,它是pdo开始收发数据之前执行的,只配置一次。pdo则是过程数据,它在通信建立时不间断地以同步周期为间隔进行数据的交换,具体如何交换则不需要应用层的程序关心,这些都在驱动层完成了。在主机方面:...原创 2020-11-17 17:25:06 · 367 阅读 · 0 评论 -
基于linux环境和ethecat的igh库控制汇川620N的主站代码
#include "ecrt.h"#include <stdio.h>#include "ethercatdef.h"#include "initInovance.h"#include <errno.h>#include <signal.h>#include <stdio.h>#include <string.h>#include <sys/resource.h>#include <sys/time.h>.原创 2020-09-15 17:12:50 · 2519 阅读 · 6 评论 -
ethercat master用户程序初始化
(1)定义配置信息键入命令:ethercat cstruct 得到从机的配置信息,复制下来(我用的从机是简单的io开发板)信息如下:chenpeng@chenpeng-M219F-6C:/lib/modules$ ethercat cstruct/* Master 0, Slave 0, "ServoDrive_FSMC" * Vendor ID: 0x00000009 * Product code: 0x26483052 * Revision number:...原创 2020-09-02 09:46:17 · 966 阅读 · 0 评论