_RLstGetSize (FUN) ¶ FUNCTION _RLstGetSize : CAA.SIZE InOut: Scope Name Type Return _RLstGetSize CAA.SIZE Input xDummy BOOL
_RLstRemovePrio (FUN) ¶ FUNCTION _RLstRemovePrio : ERROR remove the priority level usiPrio from the ready list InOut: Scope Name Type Comment Return _RLstRemovePrio ERROR Input hRLst CAA.HANDLE usiPrio USINT [0..63] priority level. 255 :=> remove all levels from the list
CAA Memory Library Documentation ¶ Company CAA Technical Workgroup Title CAA Memory Version 3.5.12.0 Categories Intern|CAA|Utilities Namespace MEM Author CAA Technical Workgroup Placeholder CAA Memory Description 1 ¶ Utility functions for memory manipulation and checksum calculation Contents: ¶ CAA_Memory Analysis Checksum Internal functions Manipulation Packing Reverse Bit, Swap Byte,Word order GetSupplierVersion (Function) VersionConstants (GVL) Indices and tables ¶ 1 Based on CAA_Memory.library, last modified 15.12.2017, 11:36:55. LibDoc 4.4.0.0-b.27 The content file CAA_Memory.clean.json was generated with CODESYS V3.5 SP12 on 15.12.2017, 11:37:02.
Analysis ¶ ARRAY and MemoryBlock Compare (Function) FindBlock (Function) FindByte (Function) simple TYPE HighByte (Function) HighWord (Function) LowByte (Function) LowWord (Function)
CAA_Memory ¶ Analysis ARRAY and MemoryBlock Compare (Function) FindBlock (Function) FindByte (Function) simple TYPE HighByte (Function) HighWord (Function) LowByte (Function) LowWord (Function) Checksum CRC16_CCITT (Function) CRC16_Modbus (Function) CRC16_generic (Function) CRC16_standard (Function) CRC32 (Function) MD5 (FunctionBlock) Finale (Action) Init (Action) Update (Action) Internal functions MD5_FF (Function) MD5_GG (Function) MD5_HH (Function) MD5_II (Function) MD5_Transform (Function) Manipulation Decode (Function) Encode (Function) MemFill (Function) MemMove (Function) Packing PackArrayOfBoolToArrayOfByte (Function) PackBitsToByte (Function) PackBitsToDword (Function) PackBitsToWord (Function) PackBytesToDword (Function) PackBytesToWord (Function) PackWordsToDword (Function) UnpackArrayOfByte (Function) UnpackByte (FunctionBlock) UnpackDWord (FunctionBlock) UnpackWord (FunctionBlock) Reverse Bit, Swap Byte,Word order ReverseBYTEsInDWORD (Function) ReverseBYTEsInWORD (Function) ReverseBitsInBYTE (Function) ReverseBitsInDWORD (Function) ReverseBitsInWORD (Function) ReverseWORDsInDWORD (Function)
ARRAY and MemoryBlock ¶ Compare (Function) FindBlock (Function) FindByte (Function)
Compare (FUN) ¶ FUNCTION Compare : UINT Function compares “MemoryBlockA” with “MemoryBlockB”. Up to “uiNumberOfBytes” will be compared. Example: abyMemoryBlockA : ARRAY [0..9] OF BYTE := 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 ; abyMemoryBlockB : ARRAY [0..9] OF BYTE := 0 , 1 , 2 , 0 , 4 , 5 , 6 , 7 , 8 , 9 ; -> MEM.Compare ( ADR ( abyMemoryBlockA ), ADR ( abyMemoryBlockB ), 10 ) = 4 InOut: Scope Name Type Comment Return Compare UINT function return 0 if the blocks are identical. If they are different then function returns the first position that differ Input pMemoryBlockA POINTER TO BYTE address of MemoryBlockA pMemoryBlockB POINTER TO BYTE address of MemoryBlockB uiNumberOfBytes UINT number of bytes to compare
FindBlock (FUN) ¶ FUNCTION FindBlock : UINT Function looks for the first occurence of “MemoryBlockB” within “MemoryBlockA”. Example: abyMemoryBlockA : ARRAY [0..9] OF BYTE := 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 ; abyMemoryBlockB : ARRAY [0..2] OF BYTE := 6 , 7 , 8 ; -> MEM.FindBlock ( ADR ( abyMemoryBlockA ), 10 , ADR ( abyMemoryBlockB ), 3 ) = 7 InOut: Scope Name Type Comment Return FindBlock UINT function returns 0, if “MemoryBlockB” cannot be found. Otherwise the function returns the position of the first occurence Input pMemoryBlockA POINTER TO BYTE address of MemoryBlockA uiLengthBlockA UINT length of MemoryBlockA in byte pMemoryBlockB POINTER TO BYTE address of MemoryBlockB uiLengthBlockB UINT length of MemoryBlockB in byte
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces.
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. CAA Callback Extern ¶ Library Identification ¶ Placeholder: CAA Callback Default Resolution: CAA Callback Extern, * (CAA Technical Workgroup) Namespace: CB Library Properties ¶ LinkAllContent: False Optional: False PublishSymbolsInContainer: True QualifiedOnly: True SystemLibrary: False Key: CAA Callback CAA Can Low Level Extern ¶ Library Identification ¶ Placeholder: CAA CanL2 Default Resolution: CAA Can Low Level Extern, * (CAA Technical Workgroup) Namespace: CL2 Library Properties ¶ LinkAllContent: False Optional: False PublishSymbolsInContainer: True QualifiedOnly: True SystemLibrary: False Key: CAA CanL2 CAA Can Low Level Imp Extern ¶ Library Identification ¶ Placeholder: CAA CanL2I Default Resolution: CAA Can Low Level Imp Extern, * (CAA Technical Workgroup) Namespace: CL2I Library Properties ¶ LinkAllContent: False Optional: False PublishSymbolsInContainer: True QualifiedOnly: True SystemLibrary: False Key: CAA CanL2I CAA Types Extern ¶ Library Identification ¶ Placeholder: CAA Types Default Resolution: CAA Types Extern, * (CAA Technical Workgroup) Namespace: CAA Library Properties ¶ LinkAllContent: False Optional: False PublishSymbolsInContainer: True QualifiedOnly: True SystemLibrary: False Key: CAA Types