EtherCAT Slave
 
Loading...
Searching...
No Matches

◆ EC_API_SLV_setGroupType()

uint32_t EC_API_SLV_setGroupType ( EC_API_SLV_SHandle_t *  pEcSlaveApi_p,
char *  pGroupType_p 
)

Set device group type.

Set a group type for the device. Required by the SII Interface.

Parameters
[in]pEcSlaveApi_pThe pointer to the EtherCAT API instance.
[in]pGroupType_pGroup name.
Returns
uint32_t Returns the API error code.
Example
#include <ecSlvApi.h>
// required variables
uint32_t retVal = 0;
EC_API_SLV_SHandle_t* S_ecSlvApiHdl;
// the Call
retVal = EC_API_SLV_setGroupType(S_ecSlvApiHdl, "KUNBUS AM3359 EtherCAT");
uint32_t EC_API_SLV_setGroupType(EC_API_SLV_SHandle_t *pEcSlaveApi_p, char *pGroupType_p)
Set device group type.
Definition ecSlvApi_ParamStub.c:344
struct EC_API_SLV_Handle EC_API_SLV_SHandle_t
EC_API_SLV_SHandle_t describes the EtherCAT Slave API.
Definition ecSlvApi.h:136
See also
EC_API_SLV_setVendorId, EC_API_SLV_setProductCode, EC_API_SLV_setRevisionNumber, EC_API_SLV_getProductName