EtherCAT Slave  1.06.01

◆ EC_API_SLV_setRevisionNumber()

uint32_t EC_API_SLV_setRevisionNumber ( EC_API_SLV_SHandle_t pEcSlaveApi_p,
uint32_t  revisionNumber_p 
)

Set device revision number. Used by the EEPROM and Object Dictionary.

Set a product code. Required for device identification. It is used by the SII interface and the Object Dictionary

Parameters
[in]pEcSlaveApi_pThe pointer to the EtherCAT API instance.
[in]revisionNumber_pproduct revision number.
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_setRevisionNumber(S_ecSlvApiHdl, 0x00000011);
See also
EC_API_SLV_setVendorId, EC_API_SLV_setProductCode, EC_API_SLV_setProductName, EC_API_SLV_getRevisionNumber
Examples
ecSlvCiA402.c.
EC_API_SLV_SHandle_t
struct EC_API_SLV_SHandle EC_API_SLV_SHandle_t
EC_API_SLV_SHandle_t describes the EtherCAT Slave API.
Definition: ecSlvApi.h:135
EC_API_SLV_setRevisionNumber
uint32_t EC_API_SLV_setRevisionNumber(EC_API_SLV_SHandle_t *pEcSlaveApi_p, uint32_t revisionNumber_p)
Set device revision number. Used by the EEPROM and Object Dictionary.
Definition: ecSlvApi_ParamStub.c:182