EtherCAT SubDevice
Loading...
Searching...
No Matches
◆
EC_API_SLV_getExplicitDeviceId()
uint32_t EC_API_SLV_getExplicitDeviceId
(
EC_API_SLV_SHandle_t
*
pHandle
,
uint16_t *
deviceId
)
Get the explicit device Id of EtherCAT.
Parameters
[in]
pHandle
The pointer to the EtherCAT API instance.
[OUT]
deviceId explicit device Id of EtherCAT.
Returns
error code.
Example
#include <ecSlvApi.h>
// required variables
uint16_t devID = 0;
// the Call
EC_API_SLV_getExplicitDeviceId
(ecSlaveApi,&devID);
EC_API_SLV_getExplicitDeviceId
uint32_t EC_API_SLV_getExplicitDeviceId(EC_API_SLV_SHandle_t *pHandle, uint16_t *deviceId)
Get the explicit device Id of EtherCAT.
Definition
ecSlvApi.c:1864
Examples
EtherCAT_SubDevice_CiA402.c
,
EtherCAT_SubDevice_Simple.c
, and
EtherCAT_SubDevice_Webserver.c
.
Basic Functions
generated by
1.9.8