_DriverOpenH (FUN) ¶ FUNCTION _DriverOpenH : CAA.HANDLE Unmanaged implementation of DriverOpenH InOut: Scope Name Type Comment Return _DriverOpenH CAA.HANDLE handle of CAN interface or CAA.gc_hINVALID if failed. Input usiNetId USINT number of CAN network [0..n] uiBaudrate UINT Baudrate in kBit/s xSupport29Bits BOOL FALSE: only 11-Bit IDs, TRUE: support also 29-Bit ctMessages CAA.COUNT number of transmit messages which should be allocated peError POINTER TO ERROR optional pointer to error enum
_DriverOpenP (FUN) ¶ FUNCTION _DriverOpenP : CAA.HANDLE Unmanaged implementation of DriverOpenP InOut: Scope Name Type Comment Return _DriverOpenP CAA.HANDLE Input usiNetId USINT number of CAN channel uiBaudrate UINT baudrate in kBit/s xSupport29Bits BOOL FALSE: only 11-Bit IDs, TRUE: support also 29-Bit szMemSize CAA.SIZE size of allocated memory pMemory CAA.PVOID pointer to memory peError POINTER TO ERROR
SDO_WRITE (STRUCT) ¶ TYPE SDO_WRITE : STRUCT Structure is only compatible with 3.5 SP7 runtime or newer InOut: Name Type Comment usiNodeId USINT usiChannel USINT uiIndex UINT usiSubIndex USINT xUseSpecificTimeout BOOL TRUE: ctTimeout will be used; ELSE: default timeout eMode SDO_MODE uiState UINT xLegacyCRC BOOL FALSE: Use default CANopen CRC for block transfer; TRUE: Use legacy CRC (used before 3.5 SP10). xDummy BOOL udiSize UDINT pData CAA.PVOID udiAbortCode UDINT ctTimeout CAA.COUNT Timeout in us
STK_INFO (STRUCT) ¶ TYPE STK_INFO : STRUCT CANOpen Stack Information InOut: Name Type usiNodeId USINT eState STK_STATE eSpec STK_SPEC
GetSupplierVersion (FUN) ¶ FUNCTION GetSupplierVersion : WORD InOut: Scope Name Type Return GetSupplierVersion WORD Input xDummy BOOL
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 17.05.2017, 14:27:33 companyName string 3S-Smart Software Solutions GmbH libraryFile CAA_CanOpenStack.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP10 Patch 2 contentFile CAA_CanOpenStack.clean.json version version 1.0.1.1 ProjectInformation Released bool True LastModificationDateTime date 01.01.1601, 00:53:00 LibraryCategories library-category-list Intern|CAA|Fieldbus Author string 3S - Smart Software Solutions GmbH Company CAA Technical Workgroup DefaultNamespace CS Description See: Description LanguageModelAttribute qualified-access-only Placeholder CAA CANopen Stack Project CAA_CanOpenStack Title CAA CanOpen Stack SpecVersion version 3.0.0.0 Version 3.5.10.0
VersionConstants (GVL) ¶ InOut: Scope Name Type Initial Constant gc_byVersion BYTE 1 gc_byVersion_1 BYTE 0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. CAA Types Extern ¶ Library Identification ¶ Placeholder: CAA Types Default Resolution: CAA Types Extern, * (CAA Technical Workgroup) Namespace: CAA Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: CAA Types
ICanOpenStack.SdoAbort (METH) ¶ METHOD SdoAbort : PROC_STATE Abort all actual running actions of SDO’s InOut: Scope Name Type Return SdoAbort PROC_STATE Input eCmd PROC_CMD pParam POINTER TO SDO_ABORT Output eError ERROR
ICanOpenStack.SdoRead (METH) ¶ METHOD SdoRead : PROC_STATE The SDO upload protocol InOut: Scope Name Type Return SdoRead PROC_STATE Input eCmd PROC_CMD pParam POINTER TO SDO_READ Output eError ERROR