_EnableSyncService (FUN) ¶ FUNCTION _EnableSyncService : ERROR Unmanaged implementation of EnableSyncService InOut: Scope Name Type Comment Return _EnableSyncService ERROR ERROR.NO_ERROR or appropriate error code Input hDriver CAA.HANDLE handle of CAN interface cobID CL2I.COBID id of SYNC message xSyncProducer BOOL TRUE: sync producer; FALSE: consumer xEnableSyncEvent BOOL TRUE: fire event udiSyncCycle UDINT SYNC cycle udiSyncWindowLength UDINT SYNC window udiSyncForewarnTime UDINT SYNC forewarn time in µs
_GetCiAState (FUN) ¶ FUNCTION _GetCiAState : USINT Unmanaged implementation of GetCiAState InOut: Scope Name Type Comment Return _GetCiAState USINT current CiA state (see IndicatorConstants ) Input hDriver CAA.HANDLE handle of CAN interface peError POINTER TO ERROR optional pointer to error enum
_SetCiAState (FUN) ¶ FUNCTION _SetCiAState : ERROR Unmanaged implementation of SetCiAState InOut: Scope Name Type Comment Return _SetCiAState ERROR ERROR.NO_ERROR or appropriate error code Input hDriver CAA.HANDLE handle of CAN interface usiState USINT new CiA State (see IndicatorConstants )
_GetMessageDataPointer (FUN) ¶ FUNCTION _GetMessageDataPointer : POINTER TO CL2I.DATA Unmanaged implementation of GetMessageDataPointer InOut: Scope Name Type Comment Return _GetMessageDataPointer POINTER TO CL2I.DATA Pointer to message data Input hMessage CAA.HANDLE handle of message peError POINTER TO ERROR optional pointer to error enum
_GetMessageId (FUN) ¶ FUNCTION _GetMessageId : CL2I.COBID Unmanaged implementation of GetMessageId InOut: Scope Name Type Comment Return _GetMessageId CL2I.COBID COBID of a message Input hMessage CAA.HANDLE handle of received message peError POINTER TO ERROR optional pointer to error enum
_GetMessageLength (FUN) ¶ FUNCTION _GetMessageLength : USINT Unmanaged implementation of GetMessageLength InOut: Scope Name Type Comment Return _GetMessageLength USINT number of valid data bytes in message Input hMessage CAA.HANDLE handle of received message peError POINTER TO ERROR optional pointer to error enum
_GetMsgCount (FUN) ¶ FUNCTION _GetMsgCount : CAA.COUNT Unmanaged implementation of GetMsgCount InOut: Scope Name Type Comment Return _GetMsgCount CAA.COUNT number of messages in receive queue of hReceiverId . Input hReceiverId CAA.HANDLE receiver handle peError POINTER TO ERROR optional pointer to error enum
_GetNetId (FUN) ¶ FUNCTION _GetNetId : USINT Unmanaged implementation of GetNetId InOut: Scope Name Type Comment Return _GetNetId USINT NetID of hMessage . Input hMessage CAA.HANDLE handle of received message peError POINTER TO ERROR optional pointer to error enum
_GetTimeStamp (FUN) ¶ FUNCTION _GetTimeStamp : UDINT Unmanaged implementation of GetTimeStamp InOut: Scope Name Type Comment Return _GetTimeStamp UDINT Time Stamp of hMessage . Input hMessage CAA.HANDLE handle of received message peError POINTER TO ERROR optional pointer to error enum
_Is29BitIdMessage (FUN) ¶ FUNCTION _Is29BitIdMessage : BOOL Unmanaged implementation of Is29BitIdMessage InOut: Scope Name Type Comment Return _Is29BitIdMessage BOOL TRUE if messages is a 29 bit CAN message. Input hMessage CAA.HANDLE handle of message peError POINTER TO ERROR optional pointer to error enum