資源簡介
目前ethercat主站資料比較少,大部分主站代碼收費,開源igh驅動電機應用在國內網站幾乎沒有資料,好不容易找到控制臺達ethercat驅動器代碼,本人親自測試過可以使用
代碼片段和文件信息
#include?
#include?
#include?
#include?
#include?
#include?
#include?
#include?
/****************************************************************************/
#include?“ecrt.h“
/****************************************************************************/
//?Application?parameters
#define?FREQUENCY?100
#define?PRIORITY?1
/****************************************************************************/
//?EtherCAT
static?ec_master_t?*master?=?NULL;
static?ec_master_state_t?master_state?=?{};
static?ec_domain_t?*domainInput?=?NULL;
static?ec_domain_state_t?domainInput_state?=?{};
static?ec_domain_t?*domainOutput?=?NULL;
static?ec_domain_state_t?domainOutput_state?=?{};
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????9038??2015-08-26?14:20??test.c
-----------?---------??----------?-----??----
?????????????????9038????????????????????1
- 上一篇:Spring boot 多模塊
- 下一篇:國內學位論文endnote參考文獻格式
評論
共有 條評論