SysTimeRtcGetTimezone (FUN) ¶ FUNCTION SysTimeRtcGetTimezone : RTS_IEC_RESULT <description>Returns the timezone information</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysTimeRtcGetTimezone RTS_IEC_RESULT Inout pTimezone TimezoneInformation <param name=”pTimezone” type=”OUT”>Pointer to timezone information. See corresponding category.</param>
SysTimeRtcSet (FUN) ¶ FUNCTION SysTimeRtcSet : RTS_IEC_RESULT <description>Set the Rtc (realtime clock) value in UTC. <p>UTC time: current coordinated universal time; has replaced the Greenwich Mean Time. The time zones are given as positive or negative deviation from UTC.: e.g. „UTC+1“ corresponds to the Central European Time (CET) and ”UTC+2” corresponds to the Central European Summer Time (CEST)</p> </description> InOut: Scope Name Type Comment Return SysTimeRtcSet RTS_IEC_RESULT Input ulTimestamp DWORD <param name=”ulTimestamp” type=”IN”>Seconds since 1.1.1970 00:00:00 UTC</param>
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>
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.
PFTIMEREXCEPTIONHANDLER (ALIAS) ¶ TYPE PFTIMEREXCEPTIONHANDLER : POINTER TO BYTE
PFTIMERCALLBACK (ALIAS) ¶ TYPE PFTIMERCALLBACK : 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>