TSW (GVL) ¶ Attributes: qualified_only InOut: Scope Name Type Initial Comment Constant gc_tzTimeZoneCET TimeZone STRUCT(iBias := 60, asgPeriod := [STRUCT(sName := ‘CET’, dtDate := STRUCT(uiMonth := 10, eWeekday := WEEKDAY.SUNDAY, uiDay := 5, uiHour := 3)), STRUCT(sName := ‘CEST’, dtDate := STRUCT(uiMonth := 3, eWeekday := WEEKDAY.SUNDAY, uiDay := 5, uiHour := 2), iBias := 60)]) Central Europe Time gc_tzTimeZoneUTC TimeZone STRUCT(asgPeriod := [STRUCT(sName := ‘UTC’)]) Coordinated Universal Time
Interfaces ¶ IDateTimeProvider (Interface) GetDateTime (Method)
IDateTimeProvider (ITF) ¶ INTERFACE PUBLIC IDateTimeProvider EXTENDS __SYSTEM.IQueryInterface Provides access to the underlying system to get the current date and (UTC) time using the GetDateTime method. See: DateTimeProvider as a default implementation Methods: GetDateTime Structure: GetDateTime (Method)
IDateTimeProvider.GetDateTime (METH) ¶ METHOD GetDateTime : ULINT InOut: Scope Name Type Comment Return GetDateTime ULINT date and (UTC) time in milliseconds since 1.1.1970 00:00:00.000 Output eErrorID ERROR
Structs ¶ DateTime (Struct) Schedule (Struct) Segment (Struct) TimeZone (Struct)
YEAR (ALIAS) ¶ TYPE YEAR : UINT (0..2106) 0 or 1970…2106
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 02.03.2023, 10:46:40 companyName string 3S-Smart Software Solutions GmbH libraryFile Util.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile Util.clean.json version version 2.0.0.0 ProjectInformation AutoResolveUnbound bool True OnlineHelp True Released True ShowSmartCodingInfo True LastModificationDateTime date 02.03.2023, 10:46:37 LibraryCategories library-category-list Application|Common Author string 3S - Smart Software Solutions GmbH Company System CompiledLibraryCompatibilityVersion CODESYS V3.5 SP15 Patch 4 DefaultNamespace Description See: Description DocFormat reStructuredText DocLanguages `` en, de`` Placeholder Util Project Util Title Util UnitTestingDefine TestUtilLibrary Version version 3.5.19.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. CmpErrors2 Interfaces ¶ Library Identification ¶ Name: CmpErrors2 Interfaces Version: newest Company: System Namespace: CmpErrors Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpErrors2 Interfaces, * (System) Common Behaviour Model ¶ Library Identification ¶ Placeholder: CBML Default Resolution: Common Behaviour Model, * (3S - Smart Software Solutions GmbH) Namespace: CBML Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: CBML Standard ¶ Library Identification ¶ Placeholder: Standard Default Resolution: Standard, * (System) Namespace: Standard Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: Standard SysMem ¶ Library Identification ¶ Placeholder: SysMem Default Resolution: SysMem, * (System) Namespace: SysMem Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysMem SysTimeRtc ¶ Library Identification ¶ Placeholder: SysTimeRtc Default Resolution: SysTimeRtc, * (System) Namespace: SysTimeRtc Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysTimeRtc SysTypes2 Interfaces ¶ Library Identification ¶ Name: SysTypes2 Interfaces Version: newest Company: System Namespace: SysTypes Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysTypes2 Interfaces, * (System)
TimerSwitch.GetDateTime (METH) ¶ METHOD FINAL GetDateTime : ULINT InOut: Scope Name Type Comment Return GetDateTime ULINT date and (UTC) time in milliseconds since 1.1.1970 00:00:00.000 Output eErrorID ERROR
Schedule (STRUCT) ¶ TYPE Schedule : STRUCT InOut: Name Type Comment usiSwitch USINT Number of the output; Several time periods for each output are possible. [1..32] todFirstOn TOD First time from which the switch is to be switched on todLastOn TOD Last time until which the switch is to be switched on byDayFlags DAYS The day(s) in a week this switch is active