EtherCAT STM32F407 LAN9252 EtherCAT总线从站代码,运动控制DS402协议
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1582 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatIncaoeappl.h
文件 4940 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatIncapplInterface.h
文件 1721 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatIncootmode.h
文件 61742 2018-02-28 17:17 wm_lan9252_CiA402_20171001EthercatInccia402appl.h
文件 64623 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatInccia402appl.h~RF1216d87(1).TMP
文件 61722 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatInccia402appl.h~RF178458f(1).TMP
文件 61722 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatInccia402appl.h~RF18674d9(1).TMP
文件 61704 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatInccia402appl.h~RF1aae5f3(1).TMP
文件 61705 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatInccia402appl.h~RF287f2e(1).TMP
文件 61704 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatInccia402appl.h~RF3c9fa9(1).TMP
文件 61677 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatInccia402appl.h~RF48d0e6(1).TMP
文件 61704 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatInccia402appl.h~RF50fe0e(1).TMP
文件 61704 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatInccia402appl.h~RF7026f2(1).TMP
文件 61700 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatInccia402appl.h~RF73a239(1).TMP
文件 61724 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatInccia402appl.h~RFd1ab5f(1).TMP
文件 1937 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatInccoeappl.h
文件 8483 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatIncdiag.h
文件 11759 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatIncecataoe.h
文件 5906 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatIncecatappl.h
文件 4218 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatIncecatcoe.h
文件 9551 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatIncecateoe.h
文件 9578 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatIncecatfoe.h
文件 29160 2017-09-30 07:36 wm_lan9252_CiA402_20171001EthercatIncecatslv.h
文件 29091 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatIncecatslv.h~RF134920.TMP
文件 29154 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatIncecatslv.h~RF511fe0.TMP
文件 29151 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatIncecatslv.h~RF741305.TMP
文件 5134 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatIncecatsoe.h
文件 40748 2017-10-01 18:58 wm_lan9252_CiA402_20171001EthercatIncecat_def.h
文件 41801 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatIncecat_def.h~RF18bfb95.TMP
文件 41785 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatIncecat_def.h~RF199e325.TMP
............此处省略409个文件信息
/**
addtogroup AoE ADS over EtherCAT
@{
*/
/**
file aoeappl.c
author EthercatSSC@beckhoff.com
rief Implementation
This file contains the AoE mailbox interface.
version 5.11
Changes to version V5.01:
V5.11 ECAT10: change PROTO handling to prevent compiler errors
Changes to version V4.40:
V5.01 MBX1: Allocate always complete 16Bit memory areas
Changes to version V4.10:
V4.40 COE1: Prototype of function OBJ_GetobjectList() changed (abortCode added)
Changes to version V4.08:
V4.10 AOEAPPL: fix some issues with the CoE objects access over AoE
*/
/*---------------------------------------------------------------------------------------
------
------ Includes
------
---------------------------------------------------------------------------------------*/
#include “ecat_def.h“
#if AOE_SUPPORTED
#include “ecatslv.h“
#if COE_SUPPORTED
#include “objdef.h“
#endif
#define _AOEAPPL_ 1
#include “aoeappl.h“
#undef _AOEAPPL_
/* ECATCHANGE_START(V5.11) ECAT10*/
/*remove definition of _AOEAPPL_ (#ifdef is used in aoeappl.h)*/
/* ECATCHANGE_END(V5.11) ECAT10*/
/*---------------------------------------------------------------------------------------
------
------ internal Types and Defines
------
---------------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------
------
------ local variables
------
---------------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------
------
------ local functions
------
---------------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------------
------
------ functions
------
---------------------------------------------------------------------------------------*/
/////////////////////////////////////////////////////////////////////////////////////////
/**
param pCmd Pointer to the AMS commands
rief This function is called when a AMS indication shall be routed
*////////////////////////////////////////////////////////////////////////////////////////
UINT16 AOEAPPL_AmsInd(AmsCmd MBXMEM *pCmd)
{
UINT16 result = 0;
if ( pCmd->head.cmdId == ROUTERCMD_FRAGMENT )
{
/* fragmented AMS command */
pCmd = AOE_FragmentedCmdInd(pCmd);
if (pCmd == NULL)
{
return ERR_NOERROR;
}
}
if (AOE_AmsNetIdsEqual(&pCmd->head.target.netId &sRouterNetId))
{
/* Router is addressed check if the port is valid */
UINT16 port = SWAPWORD(pCmd->head.target.port);
UINT16 cmdId = SWAPWORD(pCmd->head.cmdId);
/* only port 65535 (for
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1582 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatIncaoeappl.h
文件 4940 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatIncapplInterface.h
文件 1721 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatIncootmode.h
文件 61742 2018-02-28 17:17 wm_lan9252_CiA402_20171001EthercatInccia402appl.h
文件 64623 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatInccia402appl.h~RF1216d87(1).TMP
文件 61722 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatInccia402appl.h~RF178458f(1).TMP
文件 61722 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatInccia402appl.h~RF18674d9(1).TMP
文件 61704 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatInccia402appl.h~RF1aae5f3(1).TMP
文件 61705 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatInccia402appl.h~RF287f2e(1).TMP
文件 61704 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatInccia402appl.h~RF3c9fa9(1).TMP
文件 61677 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatInccia402appl.h~RF48d0e6(1).TMP
文件 61704 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatInccia402appl.h~RF50fe0e(1).TMP
文件 61704 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatInccia402appl.h~RF7026f2(1).TMP
文件 61700 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatInccia402appl.h~RF73a239(1).TMP
文件 61724 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatInccia402appl.h~RFd1ab5f(1).TMP
文件 1937 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatInccoeappl.h
文件 8483 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatIncdiag.h
文件 11759 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatIncecataoe.h
文件 5906 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatIncecatappl.h
文件 4218 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatIncecatcoe.h
文件 9551 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatIncecateoe.h
文件 9578 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatIncecatfoe.h
文件 29160 2017-09-30 07:36 wm_lan9252_CiA402_20171001EthercatIncecatslv.h
文件 29091 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatIncecatslv.h~RF134920.TMP
文件 29154 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatIncecatslv.h~RF511fe0.TMP
文件 29151 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatIncecatslv.h~RF741305.TMP
文件 5134 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatIncecatsoe.h
文件 40748 2017-10-01 18:58 wm_lan9252_CiA402_20171001EthercatIncecat_def.h
文件 41801 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatIncecat_def.h~RF18bfb95.TMP
文件 41785 2017-03-29 15:34 wm_lan9252_CiA402_20171001EthercatIncecat_def.h~RF199e325.TMP
............此处省略409个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)