This demo is intended to be used alternatively to the standard AtemDemo demo application.
File information compared with AtemDemo files:
----------------------------------------------
ATEMDemo.h --> simplified version
ATEMDemo2.cpp --> core demo application, please make your changes here!
exchanges files el2004.cpp, el1004.cpp etc.
How to adjust ATEMDemo2.cpp
-----------------------
1. Adjust the bus configuration accordingly
- - - - - - - - - - - - - - - - - - - - - -
The demo assumes the following bus configuration:
EK1100 - EL2004 - EL2004 - EL1004 - EL1004
/* demo bus configuration */
#define EC_SLAVE_EK1100 0 /* 1. slave = bus coupler */
#define EC_SLAVE_EL2004_1 1 /* 2. slave = EL2004 (digital output) */
: : : :
: : : :
#define EC_NUM_SLAVES 5 /* number of slaves */
2. Adjust the physical addresses of the slaves
- - - - - - - - - - - - - - - - - - - - - - -
Take a look into the ET9000 configuration and adjust the following lines accordingly:
/* physical addresses: by default, ET9000 starts with physical address 1001 */
#define EC_ADDR_SLAVE_EK1100 1001
#define EC_ADDR_SLAVE_EL2004_1 1002
: : : :
: : : :
3. Adjust the physical addresses assignments in myAppPrepare()
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/* insert physical addresses into slave list entries */
S_aSlaveList[EC_SLAVE_EK1100].wFixedAddress = EC_ADDR_SLAVE_EK1100;
S_aSlaveList[EC_SLAVE_EL2004_1].wFixedAddress = EC_ADDR_SLAVE_EL2004_1;
: : : :
: : : :
4. Adjust the I/O processing
- - - - - - - - - - - - - -
Function myAppWorkpd() is called cyclically.
The code that handles input and output data should be placed herein.
没有合适的资源?快使用搜索试试~ 我知道了~
EC-Master-V2.9-Linux_armv6-vfp-eabihf-Eval.tar.gz_EC_Master_ETHE
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
5星 · 超过95%的资源 8 下载量 129 浏览量
2022-07-14
17:45:40
上传
评论
收藏 8.19MB GZ 举报
温馨提示
共127个文件
h:57个
cpp:32个
o:9个
EC-Master-V2.9-Linux_armv6-vfp-eabihf-Eval.tar,rt-linux
资源详情
资源评论
资源推荐
收起资源包目录
EC-Master-V2.9-Linux_armv6-vfp-eabihf-Eval.tar.gz_EC_Master_ETHE (127个子文件)
libEcMaster.a 1.41MB
libAtemRasSrv.a 208KB
atemsys.c 38KB
atemsys.mod.c 3KB
.atemsys.o.cmd 36KB
.atemsys.mod.o.cmd 20KB
.atemsys.ko.cmd 611B
ecatDemoCommon.cpp 121KB
ecatDemoCommon.cpp 119KB
ecatDemoCommon.cpp 119KB
ecatDemoCommon.cpp 119KB
ecatDemoCommon.cpp 119KB
selectLinkLayer.cpp 92KB
selectLinkLayer.cpp 92KB
selectLinkLayer.cpp 92KB
selectLinkLayer.cpp 92KB
selectLinkLayer.cpp 91KB
ecatNotification.cpp 67KB
ecatNotification.cpp 67KB
ecatNotification.cpp 67KB
ecatNotification.cpp 67KB
DCDemoMain.cpp 66KB
ecatNotification.cpp 65KB
DCDemoMain.cpp 64KB
ATEMDemoMain.cpp 59KB
ATEMDemoMain.cpp 59KB
SyncSmDemoMain.cpp 59KB
DCDemo.cpp 55KB
DCDemo.cpp 54KB
SyncSmDemo.cpp 46KB
ATEMDemo.cpp 44KB
Logging.cpp 43KB
Logging.cpp 43KB
Logging.cpp 43KB
Logging.cpp 43KB
Logging.cpp 43KB
ATEMDemo2.cpp 35KB
motrotech.cpp 28KB
EcTimer.cpp 4KB
EcMasterDemo2Eval 1.12MB
EcMasterDemoDC_Motor 1.36MB
EcMasterDemoEval 1.22MB
EcMasterDemoSyncSmEval 1.22MB
ENI.esm 28KB
AtEthercat.h 180KB
ECMotionControl.h 150KB
EthernetServices.h 113KB
EcInterfaceCommon.h 103KB
EcError.h 94KB
EcLink.h 53KB
AtEmRasSrv.h 40KB
EcOs.h 37KB
EcEscReg.h 36KB
SlaveInfo.h 30KB
SlaveInfo.h 30KB
SlaveInfo.h 30KB
SlaveInfo.h 30KB
SlaveInfo.h 30KB
DCDemoConfig.h 16KB
ATEMDemoConfig.h 16KB
ATEMDemoConfig.h 16KB
DCDemoConfig.h 15KB
EcType.h 12KB
Logging.h 12KB
Logging.h 12KB
Logging.h 12KB
Logging.h 12KB
Logging.h 12KB
motrotech.h 11KB
SyncSmDemoConfig.h 9KB
ecatNotification.h 8KB
ecatNotification.h 8KB
ecatNotification.h 8KB
ecatNotification.h 8KB
ecatNotification.h 8KB
EcOsPlatform.h 7KB
ecatDemoCommon.h 7KB
ecatDemoCommon.h 7KB
ecatDemoCommon.h 7KB
ecatDemoCommon.h 7KB
ecatDemoCommon.h 7KB
selectLinkLayer.h 5KB
selectLinkLayer.h 5KB
selectLinkLayer.h 5KB
selectLinkLayer.h 5KB
EcCommon.h 5KB
selectLinkLayer.h 5KB
AtEmRasClnt.h 4KB
DCDemo.h 3KB
SyncSmDemo.h 3KB
DCDemo.h 3KB
ATEMDemo.h 3KB
ATEMDemo.h 3KB
EcObjDef.h 3KB
AtEmRasError.h 3KB
AtEmRasType.h 3KB
EcTimer.h 2KB
atemsys.h 2KB
AtEmRasSrvVersion.h 2KB
AtEmRasClntVersion.h 2KB
共 127 条
- 1
- 2
朱moyimi
- 粉丝: 63
- 资源: 1万+
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论8