MD5_Transform (FUN) ¶ FUNCTION MD5_Transform : BOOL MD5 basic transformation. Transform state according to first 64 bytes at Buffer. InOut: Scope Name Type Return MD5_Transform BOOL Input padwState POINTER TO ARRAY [0..3] OF DWORD pBuffer POINTER TO BYTE
Manipulation ¶ Decode (Function) Encode (Function) MemFill (Function) MemMove (Function)
Decode (FUN) ¶ FUNCTION Decode : BOOL Function decodes “Source” (ARRAY OF BYTE) into “Destination” (ARRAY OF DWORD), meaning 4 BYTEs are decoded into 1 DWORD. Assumes “uiNumberOfBytes” is a multiple of 4, whereas if it is not “FALSE” will be returned. InOut: Scope Name Type Comment Return Decode BOOL function returns “TRUE” if decoding succeded Input pSource POINTER TO ARRAY [0..0] OF BYTE address of source memory pDestination POINTER TO ARRAY [0..0] OF DWORD address of destination memory uiNumberOfBytes UINT number of bytes to decode
RTCLK_SYSTEMTIME (STRUCT) ¶ TYPE RTCLK_SYSTEMTIME : STRUCT Two formats are supported: Absolute format: defines an exact time. “uiYear”, “uiMonth”, “uiDay”, “uiHour”, “uiMinute” and “uiSecond” define the exact time. “uiWeekday” is of no importance. Day of the month format: is selected by setting ”uiYear” to 0. „uiWeekday“ defines a weekday and “uiDay” specifies the day of the month in a value range of 1..5. This notation makes it possible to define the first Sunday in April as well as the last Thursday in October (“uiDay” = 1 corresponds to the first weekday in a month, “uiDay” = 5 corresponds to the last weekday in a month) Note The following applies for the summer time in Germany: The switch to summer time is done on the last Sunday in March. At 2:00 a.m. the clock is set ahead by one hour. The following applies for the winter time (standard time) in Germany: The switch to winter time is done on the last Sunday in October. At 3:00 a.m. the clock is set back by one hour. InOut: Name Type Comment uiYear UINT 1970..1099 uiMonth UINT 1..12 1 => January eWeekday WEEKDAY 0 Sunday .. 6 Saturday uiDay UINT 1..31 day in this Moth or 1..5 1=> first day in this month 5 => last day in this month uiHour UINT 0..24 uiMinute UINT 0..59 uiSecond UINT 0..59
RTCLK_TIME_ZONE_INFO (STRUCT) ¶ TYPE RTCLK_TIME_ZONE_INFO : STRUCT InOut: Name Type Comment iBias INT Offset in minutes (local time = UTC + iBias) sPeriode ARRAY [1..2] OF RTCLK_PERIODE_INFO 1 standard, 2 daylight
SYSTEMTIME (ALIAS) ¶ TYPE SYSTEMTIME : RTCLK_SYSTEMTIME
TIME_ZONE_INFO (ALIAS) ¶ TYPE TIME_ZONE_INFO : RTCLK_TIME_ZONE_INFO
GetSupplierVersion (FUN) ¶ FUNCTION GetSupplierVersion : WORD InOut: Scope Name Type Return GetSupplierVersion WORD Input xDummy BOOL
VersionConstants (GVL) ¶ InOut: Scope Name Type Initial Constant gc_byVersion BYTE 1 gc_byVersion_1 BYTE 0
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 17.05.2017, 14:27:42 companyName string 3S-Smart Software Solutions GmbH libraryFile CAA_RealTimeClock_Extern.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP10 Patch 2 contentFile CAA_RealTimeClock_Extern.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|System Author string 3S - Smart Software Solutions GmbH Company CAA Technical Workgroup DefaultNamespace RTCLK Description See: Description DocFormat reStructuredText LanguageModelAttribute qualified-access-only Placeholder CAA RTCLK Project CAA_RealTimeClock_Extern Title CAA Real Time Clock Extern Version string 0.01 Version version 3.5.10.0