ReverseBYTEsInWORD (FUN) ¶ FUNCTION ReverseBYTEsInWORD : WORD Function returns the WORD “wInput” with a reversed byte-order (Low-Byte<->High-Byte). Example: wInput = 16#0102 -> MEM.ReverseBYTEsInWORD ( wInput ) = 16#0201 InOut: Scope Name Type Comment Return ReverseBYTEsInWORD WORD Input wInput WORD WORD to reverse
ReverseBitsInBYTE (FUN) ¶ FUNCTION ReverseBitsInBYTE : BYTE Function returns the BYTE “byInput” with a reversed bit-order. Example: byInput = 16#01 = 2#00000001 -> MEM.ReverseBitsInBYTE ( byInput ) = 16#80 = 2#10000000 InOut: Scope Name Type Comment Return ReverseBitsInBYTE BYTE function returns a BYTE with reversed bit-order of “byInput” Input byInput BYTE BYTE to reverse
ReverseBitsInDWORD (FUN) ¶ FUNCTION ReverseBitsInDWORD : DWORD Function returns the DWORD “dwInput” with a reversed bit-order. Example: dwInput = 16#01020304 = 2#00000001 00000010 00000011 00000100 -> MEM.ReverseBitsInDWORD ( dwInput ) = 16#20C04080 = 2#00100000 11000000 01000000 10000000 InOut: Scope Name Type Comment Return ReverseBitsInDWORD DWORD function returns a DWORD with reveresed bit-order of “dwInput” Input dwInput DWORD DWORD to reverse
ReverseBitsInWORD (FUN) ¶ FUNCTION ReverseBitsInWORD : WORD Function returns the WORD “wInput” with a reversed bit-order. Example: wInput = 16#0102 = 2#00000001 00000010 -> MEM.ReverseBitsInWORD ( wInput ) = 16#4080 = 2#01000000 10000000 InOut: Scope Name Type Comment Return ReverseBitsInWORD WORD function returns a WORD with reversed bit-order of “wInput” Input wInput WORD WORD to reverse
ReverseWORDsInDWORD (FUN) ¶ FUNCTION ReverseWORDsInDWORD : DWORD Function returns the DWORD “dwInput” with a reversed word-order (Low-Word<->High-Word). Example: dwInput = 16#01020304 -> MEM.ReverseWORDsInDWORD ( dwInput ) = 16#03040102 InOut: Scope Name Type Comment Return ReverseWORDsInDWORD DWORD function returns a DWORD with reversed word-order of “dwInput” Input dwInput DWORD DWORD to reverse
GetSupplierVersion (FUN) ¶ FUNCTION GetSupplierVersion : WORD Function returns the supplier version of this library. High byte contains the release version. Low byte contains the version of implementation. InOut: Scope Name Type Comment Return GetSupplierVersion WORD function returns the supplier version of this library in form of a WORD Input xDummy BOOL dummy bool, right now having no effect on the version
VersionConstants (GVL) ¶ InOut: Scope Name Type Initial Comment Constant gc_byVersion BYTE 1 Version of specification. gc_Version_1 BYTE 0 Constant for creating compiler faults if a wrong version of this library is used.
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 15.12.2017, 11:37:02 companyName string 3S-Smart Software Solutions GmbH libraryFile CAA_Memory.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP12 contentFile CAA_Memory.clean.json version version 2.0.0.0 ProjectInformation OnlineHelp bool True Released True LastModificationDateTime date 15.12.2017, 11:36:55 LibraryCategories library-category-list Intern|CAA|Utilities Author string CAA Technical Workgroup Company CAA Technical Workgroup DefaultNamespace MEM Description See: Description DocFormat reStructuredText LanguageModelAttribute qualified-access-only Placeholder CAA Memory Project CAA_Memory Title CAA Memory Version string Version version 3.5.12.0
CAA Real Time Clock Extern Library Documentation ¶ Company CAA Technical Workgroup Title CAA Real Time Clock Extern Version 3.5.10.0 Categories Intern|CAA|System Namespace RTCLK Author 3S - Smart Software Solutions GmbH Placeholder CAA RTCLK Description 1 ¶ Vendor specific library for real time clock access. Contents: ¶ CAA Real Time Clock Enums Function Blocks Functions GlobalConstants Structs GetSupplierVersion (Function) VersionConstants (GVL) Indices and tables ¶ 1 Based on CAA_RealTimeClock_Extern.library, last modified 01.01.1601, 00:53:00. LibDoc 4.4.0.0-b.27 The content file CAA_RealTimeClock_Extern.clean.json was generated with CODESYS V3.5 SP10 Patch 2 on 17.05.2017, 14:27:42.
CAA Real Time Clock ¶ Enums ERROR (Enum) PERIODE (Enum) WEEKDAY (Enum) Function Blocks Time Zone Information GetTimeZoneInformation (FunctionBlock) SetTimeZoneInformation (FunctionBlock) Time and Date GetDateAndTime (FunctionBlock) SetDateAndTime (FunctionBlock) Functions GetProperty (Function) GlobalConstants PropertyConstants (GVL) Structs PERIODE_INFO (Alias) RTCLK_GETDATEANDTIME_PARAMS (Struct) RTCLK_GETTIMEZONEINFORMATION_PARAMS (Struct) RTCLK_PERIODE_INFO (Struct) RTCLK_SETDATEANDTIME_PARAMS (Struct) RTCLK_SETTIMEZONEINFORMATION_PARAMS (Struct) RTCLK_SYSTEMTIME (Struct) RTCLK_TIME_ZONE_INFO (Struct) SYSTEMTIME (Alias) TIME_ZONE_INFO (Alias)