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)
Enums ¶ ERROR (Enum) PERIODE (Enum) WEEKDAY (Enum)
ERROR (ENUM) ¶ TYPE ERROR : This data structure describes errors which might occur when using the functions of the CAA_RealTimeClock library. Attributes: qualified_only InOut: Name Initial Comment NO_ERROR 0 No Error; function successfully executed FIRST_ERROR 5700 First library-specific error TIME_OUT 5701 Time limit exceeded NOT_AVAILABLE 5702 Not available TIME_NOT_VALID 5703 Invalid time values WRONG_PARAMETER 5704 Wrong parameter ERROR_UNKNOWN 5705 Unknown error NOT_IMPLEMENTED 5706 FIRST_MF 5725 First manufacturer-specific error LAST_ERROR 5749 Last library-specific error
PERIODE (ENUM) ¶ TYPE PERIODE : Attributes: qualified_only InOut: Name Initial UNKNOWN 0 STANDARD 1 DAYLIGHT 2