GetLibVersionNumber (FUN) ¶ FUNCTION GetLibVersionNumber : DWORD This function has been automatically generated from the project information. InOut: Scope Name Type Return GetLibVersionNumber DWORD
IsLibReleased (FUN) ¶ FUNCTION IsLibReleased : BOOL This function has been automatically generated from the project information. InOut: Scope Name Type Return IsLibReleased BOOL
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 03.07.2017, 15:37:49 companyName string 3S-Smart Software Solutions GmbH libraryFile CAA_Callback_Extern.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP11 contentFile CAA_Callback_Extern.clean.json version version 2.0.0.0 ProjectInformation Depends on PS bool False Depends on RTS True Released True LastModificationDateTime date 03.07.2017, 15:37:46 LibraryCategories library-category-list Intern|CAA|Runtime Author string 3S - Smart Software Solutions GmbH Company CAA Technical Workgroup DefaultNamespace CB Description See: Description DocFormat reStructuredText LanguageModelAttribute qualified-access-only Placeholder CAA Callback Project CAA_Callback_Extern Title CAA Callback Extern SpecVersion version 3.0.0.0 Version 3.5.11.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. CAA Ressource Manager Extern ¶ Library Identification ¶ Placeholder: CAA ResMan Default Resolution: CAA Ressource Manager Extern, * (CAA Technical Workgroup) Namespace: RSM Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: CAA ResMan 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
CAA Can Low Level Imp Extern Library Documentation ¶ Company CAA Technical Workgroup Title CAA Can Low Level Imp Extern Version 3.5.11.0 Categories Intern|CAA|Fieldbus Namespace CL2I Author 3S - Smart Software Solutions GmbH Placeholder CAA CanL2I Description 1 ¶ This library contains datatype definitions for CAA CANL2. Contents: ¶ CAA Can Low Level Imp MASKS (GVL) Structures Types Indices and tables ¶ 1 Based on CAA_CanL2I_Extern.library, last modified 03.07.2017, 15:38:06. LibDoc 4.4.0.0-b.27 The content file CAA_CanL2I_Extern.clean.json was generated with CODESYS V3.5 SP11 on 03.07.2017, 15:38:08.
CAA Can Low Level Imp ¶ MASKS (GVL) Structures ARRAY_RECV_ENTRY (Struct) MESSAGE (Struct) Types COBID (Alias) DATA (Alias)
MASKS (GVL) ¶ Following bit masks have to be used to interpret the structure members of MESSAGE . Attributes: qualified_only InOut: Scope Name Type Initial Comment Constant gcdwCOBIDMask DWORD 16#1FFFFFFF Bit Mask for calculating the CANID. Example: dwCOBID := pMsg^.cobId AND MASKS.gcdwCOBIDMask gcdwTXMask DWORD 16#80000000 Bit Mask for calculating the Tx bit. Example: xTxMsg := (pMsg^.cobId AND MASKS.gcdwTXMask) > 0 gcdwRTRMask DWORD 16#40000000 Bit Mask for calculating the RTR bit. Example: xRTRMsg := (pMsg^.cobId AND MASKS.gcdwRTRMask) > 0 gcdwEIDMask DWORD 16#20000000 Bit Mask for calculating the EID (= Extended Identifer; 29 bit) bit. Example: xEIDMsg := (pMsg^.cobId AND MASKS.gcdwEIDMask) > 0 gcbyDLCMask BYTE 16#F Bit Mask for calculating the message length. Example: dwLength := pMsg^.byLen AND MASKS.gcbyDLCMask gcbyPrioMask BYTE 16#70 Bit Mask for calculating the message priority. Example: dwPrio := pMsg^.byLen AND MASKS.gcbyPrioMask gcbySyncMask BYTE 16#80 Bit Mask for calculating the Sync bit. Example: xSync := (pMsg^.byLen AND MASKS.gcbySyncMask) > 0
Structures ¶ ARRAY_RECV_ENTRY (Struct) MESSAGE (Struct)
ARRAY_RECV_ENTRY (STRUCT) ¶ TYPE ARRAY_RECV_ENTRY : STRUCT This stucture defines a COBID entry for an Array Receiver created by CL2._CreateArrayReceiver . InOut: Name Type Comment dwCOBID COBID COBID of the array receiver entry. hHandle CAA.HANDLE Last receive message handle for the given COBID.
MESSAGE (STRUCT) ¶ TYPE MESSAGE : STRUCT This structure defines a CANL2 message. Only use this structure if you are using unmanaged CANL2 functions (functions with underscore). For unmanaged CL2 functions the returned handle hMsg can be interpreted as a pointer to this structure because no resource manager is involved. For interpreting the structure members use the bit masks defined in MASKS . InOut: Name Type Comment cobId COBID Contains CANID and Tx/RTR/Extended Identifier bit. Use appropriate bit masks defined in MASKS for calculating the correct value. abyData DATA Data array of CAN message. dwTSP DWORD Receive message: Rx timestamp (set by driver, if supported); Transmit message: time to live. After this time the message will be discarded by the driver (if supported). byLen BYTE Contains DLC. Use bit mask MASKS.gcbyDLCMask for calculating the message length. byNet BYTE CAN Network ID this messages belongs to (do not change!).