Connector.ResolveHostName (METH) ¶ METHOD ResolveHostName : ERROR Resolves the host name to an ip address. Attention! This function is blocking until the host name is resolved or an error occurred! InOut: Scope Name Type Input sHostName STRING Return ResolveHostName ERROR Output sIPAddress STRING
Listener (FB) ¶ FUNCTION_BLOCK Listener Listener fb opens a socket on a port and listens for new incomming streams. Represents a TCP Server. Order of calls: Start: Binds the listening socket and starts listening on it. Listen: This method may be called at any time after start. The new Streams are appended to the already listening streams. Accept: Returns a new connected TCP Stream. Stop: Stops listening on the port. Properties: IPAddress Port Socket Methods: Accept Listen Start Stop Structure: Accept (Method) IPAddress (Property) Listen (Method) Port (Property) Socket (Property) Start (Method) Stop (Method)
SysTimeLock (FUN) ¶ FUNCTION SysTimeLock : WORD <description>Function to lock the actual timestamp for all IEC timers.</description> <result><p>RESULT: Returns always 0</p></result> InOut: Scope Name Type Comment Return SysTimeLock WORD Input ulTick TIME <param name=”ulTick” type=”IN”>Actual tick value for the timer to lock</param> tTimeout TIME <param name=”tTimeout” type=”IN”>Timeout in milliseconds until the lock is released at least!</param>
SysTimeSet (FUN) ¶ FUNCTION SysTimeSet : WORD <description>Function to set the actual timestamp for all IEC timers. Differnt to SysTimeLock, the timer continues</description> <result><p>RESULT: Returns always 0</p></result> InOut: Scope Name Type Comment Return SysTimeSet WORD Input ulTick TIME <param name=”ulTick” type=”IN”>Actual tick value for the timer to set</param> tTimeout TIME <param name=”tTimeout” type=”IN”>Timeout in milliseconds until the setting is released at least!</param>
SysTimeUnSet (FUN) ¶ FUNCTION SysTimeUnSet : WORD <description>Function to un-set the actual timestamp for all IEC timers.</description> <result><p>RESULT: Returns always 0</p></result> InOut: Scope Name Type Return SysTimeUnSet WORD
SysTimeUnlock (FUN) ¶ FUNCTION SysTimeUnlock : WORD <description>Function to unlock the actual timestamp for all IEC timers.</description> <result><p>RESULT: Returns always 0</p></result> InOut: Scope Name Type Return SysTimeUnlock WORD
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.
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>