SysTimerDelete (FUN) ¶ FUNCTION SysTimerDelete : RTS_IEC_RESULT <description>This function deletes a timer</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysTimerDelete RTS_IEC_RESULT Input hTimer RTS_IEC_HANDLE <param name=”hTimer” type=”IN”>Handle of the timer</param>
SysTimerGetInterval (FUN) ¶ FUNCTION SysTimerGetInterval : RTS_IEC_RESULT <description>Returns the interval of a timer</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysTimerGetInterval RTS_IEC_RESULT Input hTimer RTS_IEC_HANDLE <param name=”hTimer” type=”IN”>Handle of the timer</param> ptIntervalNs POINTER TO SYSTIME <param name=”ptIntervalNs” type=”OUT”>Interval of the timer in nanoseconds</param>
SysTimerGetTimeStamp (FUN) ¶ FUNCTION SysTimerGetTimeStamp : RTS_IEC_RESULT <description>This function returns the timestamp in ticks since timer start</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysTimerGetTimeStamp RTS_IEC_RESULT Input hTimer RTS_IEC_HANDLE <param name=”hTimer” type=”IN”>Handle of the timer</param> ptTimestampNs POINTER TO SYSTIME <param name=”ptTimestampNs” type=”out”>Timestamp in nanoseconds</param>
SysTimerMaxTimer (FUN) ¶ FUNCTION SysTimerMaxTimer : RTS_IEC_RESULT <description>This function returns the maximal number of timers</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysTimerMaxTimer RTS_IEC_RESULT Input pulMaxTimer POINTER TO UDINT <param name=”pulMaxTimer” type=”out”>Number of Timers</param>
SysTimerSetInterval (FUN) ¶ FUNCTION SysTimerSetInterval : RTS_IEC_RESULT <description>This function returns the interval of a timer</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysTimerSetInterval RTS_IEC_RESULT Input hTimer RTS_IEC_HANDLE <param name=”hTimer” type=”IN”>Handle of the timer</param> tIntervalNs SYSTIME <param name=”tIntervalNs” type=”IN”>Interval of the timer in nanoseconds</param>
SysTimerStart (FUN) ¶ FUNCTION SysTimerStart : RTS_IEC_RESULT <description>This function starts a timer</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysTimerStart RTS_IEC_RESULT Input hTimer RTS_IEC_HANDLE <param name=”hTimer” type=”IN”>Handle of the timer</param> ulType UDINT <param name=”ulType” type=”IN”>Type of timer</param>
SysTimerStop (FUN) ¶ FUNCTION SysTimerStop : RTS_IEC_RESULT <description>This function stops a timer</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysTimerStop RTS_IEC_RESULT Input hTimer RTS_IEC_HANDLE <param name=”hTimer” type=”IN”>Handle of the timer</param>
TimerType (GVL) ¶ <category>Timer type</category> InOut: Scope Name Type Initial Comment Constant RTS_TIMER_NONE UDINT 0 <param name=”RTS_TIMER_NONE” type=”IN”>Not Defined</param> RTS_TIMER_PERIODIC UDINT 1 <param name=”RTS_TIMER_PERIODIC” type=”IN”>Periodical timer</param> RTS_TIMER_ONESHOT UDINT 2 <param name=”RTS_TIMER_ONESHOT” type=”IN”>Oneshot timer</param>
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 20.04.2021, 16:11:59 companyName string 3S-Smart Software Solutions GmbH libraryFile SysTimer.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile SysTimer.clean.json version version 2.0.0.0 ProjectInformation Released bool True LastModificationDateTime date 20.04.2021, 16:11:59 LibraryCategories library-category-list System|SysLibs Author string `` 3S - Smart Software Solutions GmbH `` Company System CompiledLibraryCompatibilityVersion CODESYS V3.5 SP15 Description See: Description Placeholder SysTimer Project SysTimer Title SysTimer Version version 3.5.17.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. SysTime ¶ Library Identification ¶ Placeholder: SysTime Default Resolution: SysTime, * (System) Namespace: SysTime Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysTime 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)