SysProcessGetCurrentHandle (FUN) ¶ FUNCTION SysProcessGetCurrentHandle : RTS_IEC_HANDLE <description>Function to get a handle to the current process</description> <result><p>RESULT: Returns the handle of the process actually running by the processor or RTS_INVALID_HANDLE if failed.</p></result> InOut: Scope Name Type Comment Return SysProcessGetCurrentHandle RTS_IEC_HANDLE Input pResult POINTER TO RTS_IEC_RESULT <param name=”pResult” type=”OUT”>Pointer to runtime system error code (see CmpErrors.library)</param>
SysProcessGetOSId (FUN) ¶ FUNCTION SysProcessGetOSId : UDINT <description>Function to determine an operating system dependent identification of a process. This identification must be unique in the system at a defined time! SysProcessGetOSId can only applied to the process actually executed or to processes having been generated by SysProcessCreate.</description> <result><p>RESULT: Returns the operating system specific identification of the process</p></result> InOut: Scope Name Type Comment Return SysProcessGetOSId UDINT Input hProcess RTS_IEC_HANDLE <param name=”hProcess” type=”IN”>Handle of the process</param> pResult POINTER TO RTS_IEC_RESULT <param name=”pResult” type=”OUT”>Pointer to runtime system error code (see CmpErrors.library)</param>
SysProcessGetPriority (FUN) ¶ FUNCTION SysProcessGetPriority : RTS_IEC_RESULT <description>This function retrieves the priority of the process specified by its handle.</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysProcessGetPriority RTS_IEC_RESULT Input hProcess RTS_IEC_HANDLE <param name=”hProcess” type=”IN”>Handle of the process</param> pulPriority POINTER TO UDINT <param name=”pulPriority” type=”OUT”>Pointer to variable being assigned to priority of the process</param>
SysProcessGetState (FUN) ¶ FUNCTION SysProcessGetState : RTS_IEC_RESULT <description>This function retrieves the status of the process specified by its handle.</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysProcessGetState RTS_IEC_RESULT Input hProcess RTS_IEC_HANDLE <param name=”hProcess” type=”IN”>Handle of the process</param> pulState POINTER TO UDINT <param name=”pulState” type=”OUT”>Pointer to variable being assigned to value 1 for running processes and value 2 for terminated processes</param>
SysProcessResume (FUN) ¶ FUNCTION SysProcessResume : RTS_IEC_RESULT <description>This function starts the process specified by its handle. For example, the function can be used for processes having been created in suspended mode by use of the flag SYSPROCESS_CREATEFLAG_CREATESUSPENDED.</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysProcessResume RTS_IEC_RESULT Input hProcess RTS_IEC_HANDLE <param name=”hProcess” type=”IN”>Handle of the process</param>
SysProcessSetPriority (FUN) ¶ FUNCTION SysProcessSetPriority : RTS_IEC_RESULT <description>This function sets the priority of the process specified by its handle.</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysProcessSetPriority RTS_IEC_RESULT Input hProcess RTS_IEC_HANDLE <param name=”hProcess” type=”IN”>Handle of the process</param> ulPriority UDINT <param name=”ulPriority” type=”IN”>Process priority</param>
SysProcessTerminate (FUN) ¶ FUNCTION SysProcessTerminate : RTS_IEC_RESULT <description>This function terminates the process specified by its handle.</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysProcessTerminate RTS_IEC_RESULT Input hProcess RTS_IEC_HANDLE <param name=”hProcess” type=”IN”>Handle of the process</param>
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. 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)
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 20.04.2021, 16:06:18 companyName string 3S-Smart Software Solutions GmbH libraryFile SysProcess Implementation.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile SysProcess Implementation.clean.json version version 2.0.0.0 ProjectInformation IsEndUserLibrary bool False Released True LastModificationDateTime date 20.04.2021, 16:06:17 LibraryCategories library-category-list System|SysLibs Author string CODESYS Development GmbH Company System CompiledLibraryCompatibilityVersion CODESYS V3.5 SP15 Patch 3 DefaultNamespace Description See: Description DocFormat reStructuredText Placeholder SysProcess Implementation Project SysProcess Implementation Title SysProcess Implementation Version version 3.5.17.0
SysPortAsyncFB (FB) ¶ FUNCTION_BLOCK SysPortAsyncFB EXTENDS AsyncBaseClass Methods: SysPortInAsync SysPortInDAsync SysPortInWAsync SysPortOutAsync SysPortOutDAsync SysPortOutWAsync SysPortInAsyncWrapper SysPortInDAsyncWrapper SysPortInWAsyncWrapper SysPortOutAsyncWrapper SysPortOutDAsyncWrapper SysPortOutWAsyncWrapper Structure: SysPortInAsync (Method) SysPortInDAsync (Method) SysPortInWAsync (Method) SysPortOutAsync (Method) SysPortOutDAsync (Method) SysPortOutWAsync (Method) Wrapper SysPortInAsyncWrapper (Method) SysPortInDAsyncWrapper (Method) SysPortInWAsyncWrapper (Method) SysPortOutAsyncWrapper (Method) SysPortOutDAsyncWrapper (Method) SysPortOutWAsyncWrapper (Method)