SysTaskGetCurrent (FUN) ¶ FUNCTION SysTaskGetCurrent : RTS_IEC_RESULT <description>Returns the handle of the current running task.</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysTaskGetCurrent RTS_IEC_RESULT Input phTask POINTER TO RTS_IEC_HANDLE <param name=”phTask” type=”OUT”>Pointer to task handle</param>
SysTaskGetCurrentOSHandle (FUN) ¶ FUNCTION SysTaskGetCurrentOSHandle : RTS_IEC_RESULT <description>Returns the operating system handle of the current running task.</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysTaskGetCurrentOSHandle RTS_IEC_RESULT Input puiTaskOSHandle POINTER TO RTS_IEC_HANDLE <param name=”puiTaskOSHandle” type=”OUT”>Pointer to operating system task handle</param>
SysTaskGetInfo (FUN) ¶ FUNCTION SysTaskGetInfo : RTS_IEC_RESULT <description>Returns the task info of the specified task.</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysTaskGetInfo RTS_IEC_RESULT Input hTask RTS_IEC_HANDLE <param name=”hTask” type=”IN”>Handle to task</param> ppInfo POINTER TO POINTER TO SYS_TASK_INFO <param name=”ppInfo” type=”OUT”>Pointer pointer to get task info structure</param>
SysTaskGetInterval (FUN) ¶ FUNCTION SysTaskGetInterval : RTS_IEC_RESULT <description>Get the actual interval of a cyclic task. If the specified task is no cyclic task, the function return an error.</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysTaskGetInterval RTS_IEC_RESULT Input hTask RTS_IEC_HANDLE <param name=”hTask” type=”IN”>Handle to the task</param> Inout pulInterval UDINT <param name=”pulInterval” type=”OUT”>Interval of the task in microseconds!</param>
SysTaskGetName (FUN) ¶ FUNCTION SysTaskGetName : POINTER TO STRING <description>Returns the task name of the specified task.</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysTaskGetName POINTER TO STRING Input hTask RTS_IEC_HANDLE <param name=”hTask” type=”IN”>Handle to task</param> pResult POINTER TO RTS_IEC_RESULT <param name=”pResult” type=”OUT”>Pointer to runtime system error code (see CmpErrors.library)</param>
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>