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