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>
SysProjectInfo23 Library Documentation ¶ Company System Title SysProjectInfo23 Version 3.5.13.0 Categories System|SysLibs23 Author 3S - Smart Software Solutions GmbH Description 1 ¶ Library to access the project information. Contents: ¶ POUs SysGetProjectId (Function) SysGetProjectInfo (Function) SysGetProjectInfoPrepare (Function) SysGetProjectRetainSize (Function) Indices and tables ¶ 1 Based on SysProjectInfo23.library, last modified 03.07.2018, 10:35:11. LibDoc 4.4.0.0-b.27 The content file SysProjectInfo23.clean.json was generated with CODESYS V3.5 SP13 on 03.07.2018, 10:35:11.
SysGetProjectId (FUN) ¶ FUNCTION SysGetProjectId : DWORD This function should return the project id. This function is not supported in V3. It returns allways 0 InOut: Scope Name Type Return SysGetProjectId DWORD
POUs ¶ SysGetProjectId (Function) SysGetProjectInfo (Function) SysGetProjectInfoPrepare (Function) SysGetProjectRetainSize (Function)
SysGetProjectInfo (FUN) ¶ FUNCTION SysGetProjectInfo : BOOL To use this Lib, the flag “automatically generate POUs for Property Access” must be activated and the function must be called, before the project info could be read out. dtDate is not supported InOut: Scope Name Type Return SysGetProjectInfo BOOL Input ProjectInfo POINTER TO PROJECT_INFO
SysGetProjectInfoPrepare (FUN) ¶ FUNCTION SysGetProjectInfoPrepare : BOOL This function must be called at least one time, before the function SysGetProjectInfo could be called. InOut: Scope Name Type Return SysGetProjectInfoPrepare BOOL Input pGetBooleanProperty DWORD pGetTextProperty DWORD pGetNumberProperty DWORD pGetVersionProperty DWORD
SysGetProjectRetainSize (FUN) ¶ FUNCTION SysGetProjectRetainSize : DWORD This function retrieves the retain area size of the first application. Only one application is supported InOut: Scope Name Type Return SysGetProjectRetainSize DWORD