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_p
function context.
[in]
errorCode_p
error 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);
EC_SLV_APP_cia402LocalError
void EC_SLV_APP_cia402LocalError(void *ctxt, uint16_t errorCode)
Local Error function handler.
Definition
ESL_cia402Demo.c:1316
EC_API_SLV_Handle
Definition
ecSlvApiInternal.h:329
Examples
ESL_cia402Demo.c
,
ESL_cia402Demo.h
, and
ecSlvCiA402.c
.
CiA402 Codes
generated by
1.9.8