Basic Functions ¶ _CloneMessage (Function) _CreateArrayReceiver (Function) _CreateIdAreaReceiver (Function) _CreateMaskReceiver (Function) _CreateMessage (Function) _CreateSingleIdReceiver (Function) _DeleteReceiver (Function) _DriverClose (Function) _DriverGetSize (Function) _DriverOpenH (Function) _DriverOpenP (Function) _FreeMessage (Function) _Read (Function) _ReadArrayReceiver (Function) _RegisterIdArea (Function) _UnregisterIdArea (Function) _Write (Function)
Diagnostic Information ¶ _GetBaudrate (Function) _GetBusAlarm (Function) _GetBusState (Function) _GetBusload (Function) _GetDiagnosis (Function) _GetLostCounter (Function) _GetReceiveCounter (Function) _GetReceiveErrorCounter (Function) _GetReceivePoolSize (Function) _GetReceiveQueueLength (Function) _GetTransmitCounter (Function) _GetTransmitErrorCounter (Function) _GetTransmitPoolSize (Function) _GetTransmitQueueLength (Function) _IsSendingActive (Function) _ResetBusAlarm (Function)
Extended Functionality ¶ _DisableSyncService (Function) _EnableSyncService (Function)
Indicator Services ¶ _GetCiAState (Function) _SetCiAState (Function)
Message Information ¶ _GetMessageDataPointer (Function) _GetMessageId (Function) _GetMessageLength (Function) _GetMsgCount (Function) _GetNetId (Function) _GetTimeStamp (Function) _Is29BitIdMessage (Function) _IsRTRMessage (Function) _IsTransmitMessage (Function) _LostMessages (Function)
Message Information ¶ Functions for getting message information (CAN ID, Data, message length, …) about a given message handle. GetMessageDataPointer (Function) GetMessageId (Function) GetMessageLength (Function) GetMsgCount (Function) GetNetId (Function) GetTimeStamp (Function) Is29BitIdMessage (Function) IsRTRMessage (Function) IsTransmitMessage (Function) LostMessages (Function)
GetReceiveErrorCounter (FUN) ¶ FUNCTION GetReceiveErrorCounter : CAA.COUNT Returns a counter which is incremented with each receive error. Diagnostic Information can be also read by GetDiagnosis . InOut: Scope Name Type Comment Return GetReceiveErrorCounter CAA.COUNT number of receive errors Input hDriver CAA.HANDLE handle of CAN interface peError POINTER TO ERROR optional pointer to error enum
Enums ¶ CANOPEN_KERNEL_ERROR (Enum) DEVICE_STATE (Enum) SDO_MODE (Enum) TRANSITION_STATE (Enum)
CAA CiA 405 ¶ Enums CANOPEN_KERNEL_ERROR (Enum) DEVICE_STATE (Enum) SDO_MODE (Enum) TRANSITION_STATE (Enum) Function Blocks Network management NMT (FunctionBlock) RECV_EMCY (FunctionBlock) RECV_EMCY_DEV (FunctionBlock) Own node id GET_LOCAL_NODE_ID (FunctionBlock) Query state GET_CANOPEN_KERNEL_STATE (FunctionBlock) GET_STATE (FunctionBlock) SDO access SDO_READ4 (FunctionBlock) SDO_READ_DATA (FunctionBlock) SDO_WRITE4 (FunctionBlock) SDO_WRITE_DATA (FunctionBlock) obsolete (only for compatibility) SDO_READ (FunctionBlock) SDO_WRITE (FunctionBlock) Types DEVICE (Alias) SDO_ERROR (Alias)
CANOPEN_KERNEL_ERROR (ENUM) ¶ TYPE CANOPEN_KERNEL_ERROR : Error codes for output ERROR of CiA405 function blocks and return value for GET_CANOPEN_KERNEL_STATE . Attributes: qualified_only InOut: Name Initial Comment CANOPEN_KERNEL_NO_ERROR ANYNUM_TO_WORD(CS.CANOPEN_KERNEL_ERROR.CANOPEN_KERNEL_NO_ERROR) There is no error. CANOPEN_KERNEL_OTHER_ERROR ANYNUM_TO_WORD(CS.CANOPEN_KERNEL_ERROR.CANOPEN_KERNEL_OTHER_ERROR) More information is provided by output ERRORINFO . CANOPEN_KERNEL_DATA_OVERFLOW ANYNUM_TO_WORD(CS.CANOPEN_KERNEL_ERROR.CANOPEN_KERNEL_DATA_OVERFLOW) Lost counter or Tx/Rx error counter is above 0. CANOPEN_KERNEL_TIMEOUT ANYNUM_TO_WORD(CS.CANOPEN_KERNEL_ERROR.CANOPEN_KERNEL_TIMEOUT) A timeout occurred. CANOPEN_KERNEL_CANBUS_OFF ANYNUM_TO_WORD(CS.CANOPEN_KERNEL_ERROR.CANOPEN_KERNEL_CANBUS_OFF) CAN Bus is in BUSOFF or busalarm state. CANOPEN_KERNEL_CAN_ERROR_PASSIVE ANYNUM_TO_WORD(CS.CANOPEN_KERNEL_ERROR.CANOPEN_KERNEL_CAN_ERROR_PASSIVE) CAN Bus is in Error Passive state. CANOPEN_INTERNAL_FB_ERROR ANYNUM_TO_WORD(CS.CANOPEN_KERNEL_ERROR.CANOPEN_INTERNAL_FB_ERROR) internal error CANOPEN_NO_MORE_MEMORY ANYNUM_TO_WORD(CS.CANOPEN_KERNEL_ERROR.CANOPEN_NO_MORE_MEMORY) There is not enough memory. CANOPEN_WRONG_PARAMETER ANYNUM_TO_WORD(CS.CANOPEN_KERNEL_ERROR.CANOPEN_WRONG_PARAMETER) Wrong parameter passed to the function. CANOPEN_NODEID_UNKNOWN ANYNUM_TO_WORD(CS.CANOPEN_KERNEL_ERROR.CANOPEN_NODEID_UNKNOWN) Unknown NodeID. CANOPEN_NETID_UNKNOWN ANYNUM_TO_WORD(CS.CANOPEN_KERNEL_ERROR.CANOPEN_NETID_UNKNOWN) Unknown CAN Network ID (not part of I/O config). CANOPEN_REQUEST_ERROR ANYNUM_TO_WORD(CS.CANOPEN_KERNEL_ERROR.CANOPEN_REQUEST_ERROR) A request error happened. CANOPEN_SDOCHANNEL_UNKNOWN ANYNUM_TO_WORD(CS.CANOPEN_KERNEL_ERROR.CANOPEN_SDOCHANNEL_UNKNOWN) Unknown SDO channel. CANOPEN_NO_DRIVER ANYNUM_TO_WORD(CS.CANOPEN_KERNEL_ERROR.CANOPEN_NO_DRIVER) CAN Driver not found. CANOPEN_CONFIGURATION_ERROR ANYNUM_TO_WORD(CS.CANOPEN_KERNEL_ERROR.CANOPEN_CONFIGURATION_ERROR) At least one SDO abort in configuration phase of a slave. CANOPEN_GUARDING_ERROR ANYNUM_TO_WORD(CS.CANOPEN_KERNEL_ERROR.CANOPEN_GUARDING_ERROR) A guarding error (Heartbeat or Nodeguarding) occured.