SysTimeSet (FUN) ¶ FUNCTION SysTimeSet : WORD <description>Function to set the actual timestamp for all IEC timers. Differnt to SysTimeLock, the timer continues</description> <result><p>RESULT: Returns always 0</p></result> InOut: Scope Name Type Comment Return SysTimeSet WORD Input ulTick TIME <param name=”ulTick” type=”IN”>Actual tick value for the timer to set</param> tTimeout TIME <param name=”tTimeout” type=”IN”>Timeout in milliseconds until the setting is released at least!</param>
SysTimeUnSet (FUN) ¶ FUNCTION SysTimeUnSet : WORD <description>Function to un-set the actual timestamp for all IEC timers.</description> <result><p>RESULT: Returns always 0</p></result> InOut: Scope Name Type Return SysTimeUnSet WORD
SysTimeUnlock (FUN) ¶ FUNCTION SysTimeUnlock : WORD <description>Function to unlock the actual timestamp for all IEC timers.</description> <result><p>RESULT: Returns always 0</p></result> InOut: Scope Name Type Return SysTimeUnlock WORD
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 20.04.2021, 16:11:52 companyName string 3S-Smart Software Solutions GmbH libraryFile SysTimeLock.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile SysTimeLock.clean.json version version 2.0.0.0 ProjectInformation Released bool True LastModificationDateTime date 20.04.2021, 16:11:51 LibraryCategories library-category-list System|SysLibs Author string 3S - Smart Software Solutions GmbH Company System CompiledLibraryCompatibilityVersion CODESYS V3.5 SP15 DefaultNamespace Description See: Description Placeholder SysTimeLock Project SysTimeLock Title SysTimeLock Version version 3.5.17.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces.
SysTimeRtc Library Documentation ¶ Company System Title SysTimeRtc Version 3.5.17.0 Categories System|SysLibs Author 3S - Smart Software Solutions GmbH Placeholder SysTimeRtc Description 1 ¶ Library provides access to the target realtime clock. Contents: ¶ High Resolution SysTimeRtcConvertDateToHighRes (Function) SysTimeRtcConvertHighResToDate (Function) SysTimeRtcConvertHighResToLocal (Function) SysTimeRtcConvertLocalToHighRes (Function) SysTimeRtcHighResGet (Function) SysTimeRtcHighResSet (Function) RTS_SYSTIMEDATE (Struct) SYSTIMEDATE (Alias) Standard GVL (GVL) SysTimeRtcControl (Function) SysTimeRtcConvertDateToUtc (Function) SysTimeRtcConvertLocalToUtc (Function) SysTimeRtcConvertUtcToDate (Function) SysTimeRtcConvertUtcToLocal (Function) SysTimeRtcGet (Function) SysTimeRtcGetTimezone (Function) SysTimeRtcSet (Function) SysTimeRtcSetTimezone (Function) TimezoneInformation (Struct) Indices and tables ¶ 1 Based on SysTimeRtc.library, last modified 20.04.2021, 16:12:07. LibDoc 4.4.0.0-b.27 The content file SysTimeRtc.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 20.04.2021, 16:12:07.
High Resolution ¶ SysTimeRtcConvertDateToHighRes (Function) SysTimeRtcConvertHighResToDate (Function) SysTimeRtcConvertHighResToLocal (Function) SysTimeRtcConvertLocalToHighRes (Function) SysTimeRtcHighResGet (Function) SysTimeRtcHighResSet (Function)
SysTimeRtcConvertDateToHighRes (FUN) ¶ FUNCTION SysTimeRtcConvertDateToHighRes : RTS_IEC_RESULT <description> This function converts the time given by time structure into a High Resolution Time of format SysTime. Time values are always UTC!</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysTimeRtcConvertDateToHighRes RTS_IEC_RESULT Inout pDate SYSTIMEDATE <param name=”pDate” type=”IN”>Structure format</param> pTimestamp SYSTIME <param name=”pTimestamp” type=”OUT”>Milliseconds since 1.1.1970 00:00:000 UTC</param>
RTS_IEC_HANDLE (ALIAS) ¶ TYPE RTS_IEC_HANDLE : POINTER TO BYTE
RTS_IEC_RESULT (ALIAS) ¶ TYPE RTS_IEC_RESULT : UDINT