SysTimeRtcSetTimezone (FUN) ¶ FUNCTION SysTimeRtcSetTimezone : RTS_IEC_RESULT <description>Set the specified timezone information</description> InOut: Scope Name Type Comment Return SysTimeRtcSetTimezone RTS_IEC_RESULT Inout pTimezone TimezoneInformation <param name=”pTimezone” type=”IN”>Pointer to timezone information. See corresponding category.</param>
TimezoneInformation (STRUCT) ¶ TYPE TimezoneInformation : STRUCT <category>Timezone information</category> <description> This infomation describes a local timezone with standard- and daylight-saving-time (also known as summer- and wintertime). </description> InOut: Name Type Comment ulStandardDate UDINT <element name=”ulStandardDate” type=”IN”>Date to switch to standard time (from summer- to wintertime) [local time in seconds since 1.1.1970 00:00:00]</element> ulDaylightDate UDINT <element name=”ulDaylightDate” type=”IN”>Date to switch to daylight savings time (from winter- to summertime) [local time in seconds since 1.1.1970 00:00:00]</element> szStandardName STRING(32) <element name=”szStandardName” type=”IN”>Standard name of the timezone (wintertime) [string with max. 32bytes]</element> szDaylightName STRING(32) <element name=”szDaylightName” type=”IN”>Daylight savings time name (summertime) [string with max. 32bytes]</element> iBias INT <element name=”iBias” type=”IN”>UTC = local time + bias [minutes]</element> iStandardBias INT <element name=”iStandardBias” type=”IN”>Additional offset at standard time (wintertime) [minutes]</element> iDaylightBias INT <element name=”iDaylightBias” type=”IN”>Additional offset at daylight savings time (summertime) [minutes]</element>
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 20.04.2021, 16:12:07 companyName string 3S-Smart Software Solutions GmbH libraryFile SysTimeRtc.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile SysTimeRtc.clean.json version version 2.0.0.0 ProjectInformation LinkInSimulation bool True Released True LastModificationDateTime date 20.04.2021, 16:12:07 LibraryCategories library-category-list System|SysLibs Author string 3S - Smart Software Solutions GmbH Company System CompiledLibraryCompatibilityVersion CODESYS V3.5 SP15 Description See: Description Placeholder SysTimeRtc Project SysTimeRtc Title SysTimeRtc Version version 3.5.17.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. SysTimeCore ¶ Library Identification ¶ Placeholder: SysTimeCore Default Resolution: SysTimeCore, * (System) Namespace: SysTimeCore Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysTimeCore 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)
SysTimer Library Documentation ¶ Company System Title SysTimer Version 3.5.17.0 Categories System|SysLibs Author 3S - Smart Software Solutions GmbH Placeholder SysTimer Description 1 ¶ Interface functions for system timers. Contents: ¶ PFTIMERCALLBACK (Alias) PFTIMEREXCEPTIONHANDLER (Alias) SysTimerCreateCallback (Function) SysTimerCreateCallback2 (Function) SysTimerCreateEvent (Function) SysTimerDelete (Function) SysTimerGetInterval (Function) SysTimerGetTimeStamp (Function) SysTimerMaxTimer (Function) SysTimerSetInterval (Function) SysTimerStart (Function) SysTimerStop (Function) TimerType (GVL) Indices and tables ¶ 1 Based on SysTimer.library, last modified 20.04.2021, 16:11:59. LibDoc 4.4.0.0-b.27 The content file SysTimer.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 20.04.2021, 16:11:59.
PFTIMERCALLBACK (ALIAS) ¶ TYPE PFTIMERCALLBACK : POINTER TO BYTE
PFTIMEREXCEPTIONHANDLER (ALIAS) ¶ TYPE PFTIMEREXCEPTIONHANDLER : POINTER TO BYTE
SysTimerCreateCallback (FUN) ¶ FUNCTION SysTimerCreateCallback : RTS_IEC_HANDLE <description>This function creates a new timer and calls a callback function.</description> <result><p>RESULT: Handle of the timer or RTS_INVALID_HANDLE if failed</p></result> InOut: Scope Name Type Comment Return SysTimerCreateCallback RTS_IEC_HANDLE Input pfTimerCallback PFTIMERCALLBACK <param name=”pfTimerCallback” type=”IN”>Pointer to a callback function</param> hParam RTS_IEC_HANDLE <param name=”hParam” type=”IN”>Parameter for callback routine</param> tIntervalNs SYSTIME <param name=”tIntervalNs” type=”IN”>Interval 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>
SysTimerCreateCallback2 (FUN) ¶ FUNCTION SysTimerCreateCallback2 : RTS_IEC_HANDLE <description>This function creates a timer and calls a callback function.</description> <result><p>RESULT: Handle of the timer or RTS_INVALID_HANDLE if failed</p></result> InOut: Scope Name Type Comment Return SysTimerCreateCallback2 RTS_IEC_HANDLE Input pfTimerCallback PFTIMERCALLBACK <param name=”pfTimerCallback” type=”IN”>Pointer to a callback function</param> hParam RTS_IEC_HANDLE <param name=”hParam” type=”IN”>Parameter for callback routine</param> tIntervalNs SYSTIME <param name=”tIntervalNs” type=”IN”>Interval of the timer (timebase = 1 ns)</param> ulPriority UDINT <param name=”ulPriority” type=”IN”>Priority of the timer object</param> ulType UDINT <param name=”ulType” type=”IN”>Timer type. See corresponding category.</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>
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>