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.
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>
SysTimeRtcConvertHighResToDate (FUN) ¶ FUNCTION SysTimeRtcConvertHighResToDate : RTS_IEC_RESULT <description>Convert a high resolution timestamp to a structure format. 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 SysTimeRtcConvertHighResToDate RTS_IEC_RESULT Inout pTimestamp SYSTIME <param name=”pTimestamp” type=”IN”>Milliseconds since 1.1.1970 00:00:000 UTC</param> pDate SYSTIMEDATE <param name=”pDate” type=”OUT”>Structure format</param>
High Resolution ¶ SysTimeRtcConvertDateToHighRes (Function) SysTimeRtcConvertHighResToDate (Function) SysTimeRtcConvertHighResToLocal (Function) SysTimeRtcConvertLocalToHighRes (Function) SysTimeRtcHighResGet (Function) SysTimeRtcHighResSet (Function)
SysTimeRtcConvertHighResToLocal (FUN) ¶ FUNCTION SysTimeRtcConvertHighResToLocal : RTS_IEC_RESULT <description> Convert a high resolution timestamp [UTC] to a structure format [Localtime] </description> <errorcode name=”RTS_RESULT Result” TYPE=”ERR_OK”>Timestamp can be converted</errorcode> <errorcode name=”RTS_RESULT Result” type=”ERR_FAILED”>Timestamp failed to convert</errorcode> <errorcode name=”RTS_RESULT Result” type=”ERR_NOTIMPLEMENTED”>Conversion is not available on the target</errorcode> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysTimeRtcConvertHighResToLocal RTS_IEC_RESULT Inout pTimestamp SYSTIME <param name=”pTimestamp” type=”IN”>Milliseconds since 1.1.1970 00:00:000 [UTC]</param> pDate SYSTIMEDATE <param name=”pDate” type=”OUT”>Structure format [Localtime]</param>
SysTimeRtcConvertLocalToHighRes (FUN) ¶ FUNCTION SysTimeRtcConvertLocalToHighRes : RTS_IEC_RESULT <description> This function converts the time given by time structure [Localtime] into a High Resolution Time of format SysTime [UTC]. </description> <errorcode name=”RTS_RESULT Result” TYPE=”ERR_OK”>DATE can be converted</errorcode> <errorcode name=”RTS_RESULT Result” type=”ERR_FAILED”>Date failed to convert</errorcode> <errorcode name=”RTS_RESULT Result” type=”ERR_NOTIMPLEMENTED”>Conversion is not available on the target</errorcode> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysTimeRtcConvertLocalToHighRes RTS_IEC_RESULT Inout pDate SYSTIMEDATE <param name=”pDate” type=”IN”>Structure format [Localtime]</param> pTimestamp SYSTIME <param name=”pTimestamp” type=”OUT”>Milliseconds since 1.1.1970 00:00:000 [UTC]</param>
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 03.07.2018, 10:35:37 companyName string 3S-Smart Software Solutions GmbH libraryFile SysTime23.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP13 contentFile SysTime23.clean.json version version 2.0.0.0 ProjectInformation Released bool True Support32BitOnly True LastModificationDateTime date 03.07.2018, 10:35:37 LibraryCategories library-category-list System|SysLibs23 Author string 3S - Smart Software Solutions GmbH Company System Description See: Description Placeholder SysTime23 Project SysTime23 Title SysTime23 Version version 3.5.13.0