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:1243
EC_API_SLV_SHandle_t
struct EC_API_SLV_Handle EC_API_SLV_SHandle_t
EC_API_SLV_SHandle_t describes the EtherCAT Slave API.
Definition
ecSlvApi.h:136
Examples
ESL_cia402Demo.c
.
CiA402 Codes
generated by
1.9.7