SysTimerCreateEvent (FUN) ¶ FUNCTION SysTimerCreateEvent : RTS_IEC_HANDLE <description>This function creates a new timer and sets an event at timer elapsed.</description> <result>Handle of the timer or RTS_INVALID_HANDLE</result> InOut: Scope Name Type Comment Return SysTimerCreateEvent RTS_IEC_HANDLE Input hEvent RTS_IEC_HANDLE <param name=”hEvent” type=”IN”>Handle to the event that is sent after the interval expires</param> tIntervalNs SYSTIME <param name=”tIntervalNs” type=”IN”>Period of the timer (timebase = 1 ns)</param> ulPriority UDINT <param name=”ulPriority” type=”IN”>Priority of the timer object</param> pfExceptionHandler PFTIMEREXCEPTIONHANDLER <param name=”pfExceptionHandler” type=”IN”>Pointer to an optional exception handler. Can be NULL.</param> pResult POINTER TO RTS_IEC_RESULT <param name=”pResult” type=”OUT”>Pointer to runtime system error code (see CmpErrors.library)</param>
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>
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>
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>
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>
TCP Library Documentation ¶ Company 3S - Smart Software Solutions GmbH Title TCP Version 3.5.19.0 Categories Intern|Networking Namespace TCP Author 3S - Smart Software Solutions GmbH Placeholder TCP Description 1 ¶ Encapsulates socket calls in an easy to use TCP library Contents: ¶ TCP Enums Function Blocks Functions GlobalConstants Structs Indices and tables ¶ 1 Based on TCP.library, last modified 02.03.2023, 10:51:59. LibDoc 4.4.0.0-b.27 The content file TCP.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 02.03.2023, 10:52:01.
Enums ¶ ERROR (Enum) STREAM_STATE (Enum)