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

◆ EC_SLV_APP_cia402LocalError()

void EC_SLV_APP_cia402LocalError ( void *  ctxt,
uint16_t  errorCode 
)

Local Error function handler.

Called if CiA402 state machine changes to an error state.

Parameters
[in]pCtxt_pfunction context.
[in]errorCode_perror code.
Example
#include <ecSlvApi.h>
// required variables
EC_API_SLV_SHandle_t* S_ecSlvApiHdl;
uint16_t errorCode;
// the Call
retVal = EC_SLV_APP_cia402LocalError(S_ecSlvApiHdl, errorCode);
void EC_SLV_APP_cia402LocalError(void *ctxt, uint16_t errorCode)
Local Error function handler.
Definition ESL_cia402Demo.c:1316
Definition ecSlvApiInternal.h:329
Examples
ESL_cia402Demo.c, ESL_cia402Demo.h, and ecSlvCiA402.c.