File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 20.04.2021, 15:33:22 companyName string 3S-Smart Software Solutions GmbH libraryFile CmpApp.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile CmpApp.clean.json version version 2.0.0.0 ProjectInformation LinkInSimulation bool True Released True LastModificationDateTime date 20.04.2021, 15:33:22 LibraryCategories library-category-list System|SysLibs Author string 3S - Smart Software Solutions GmbH Company System CompiledLibraryCompatibilityVersion CODESYS V3.5 SP15 Patch 2 Description See: Description Placeholder CmpApp Project CmpApp Title CmpApp Version version 3.5.17.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. CmpEventMgr ¶ Library Identification ¶ Placeholder: CmpEventMgr Default Resolution: CmpEventMgr, * (System) Namespace: CmpEventMgr Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpEventMgr SysTypes2 Interfaces ¶ Library Identification ¶ Name: SysTypes2 Interfaces Version: newest Company: System Namespace: SysTypes_Interfaces Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysTypes2 Interfaces, * (System)
APPLICATION_INFO (STRUCT) ¶ TYPE APPLICATION_INFO : STRUCT <category>Application information</category> <description> Contains the application information as specified in the application property dialog in CoDeSys. </description> <element name=”pstProjectName” type=”OUT”>Pointer project name</element> <element name=”pstAuthor” type=”OUT”>Pointer to author</element> <element name=”pstVersion” type=”OUT”>Pointer to version as string in the format “x.x.x.x”</element> <element name=”pstDescription” type=”OUT”>Pointer to description</element> <element name=”pstProfile” type=”OUT”>Pointer to used CoDeSys profile name</element> <element name=”dtLastChanges” type=”OUT”>Time and date of last modification of the application (UTC)</element> InOut: Name Type pstProjectName POINTER TO STRING(255) pstAuthor POINTER TO STRING(255) pstVersion POINTER TO STRING(255) pstDescription POINTER TO STRING(255) pstProfile POINTER TO STRING(255) dtLastChanges DT
APPLICATION (STRUCT) ¶ TYPE APPLICATION : STRUCT InOut: Name Type Comment pAppParent POINTER TO APPLICATION POINTER TO parent application iId UDINT Id of the application. Is always unique. CodeGuid ARRAY [0..15] OF BYTE GUID for IEC code DataGuid ARRAY [0..15] OF BYTE GUID for IEC data udiState UDINT State of the application. See definitions Application states udiOpState UDINT Operating state of the application. See definitions Application operation states hBootproject RTS_IEC_HANDLE Handle to bootproject hDebugTask RTS_IEC_HANDLE Handle to debug task pfGlobalInit POINTER TO BYTE Global Init Function pfGlobalExit POINTER TO BYTE Global Exit Function hSessionIdPool RTS_IEC_HANDLE Handle a pool of session-ids hForcePool RTS_IEC_HANDLE Handle a pool of force entries hBPPool RTS_IEC_HANDLE Handle a pool of breakpoints bPersistentForce DINT Is persistent force enabled szName STRING(MAX_LEN_APPLNAME) Application name udiPSVersion UDINT Version number of Programming system (set in download) udiTargetSettingVersion UDINT Version number of Target settings used by PS (set in download)
APP_MEMORY_SEGMENT (STRUCT) ¶ TYPE APP_MEMORY_SEGMENT : STRUCT <category>Application memory segment</category> <description> Describes a memory segment of an application. </description> <element name=”wType” type=”IN”>Type of the segment. See category “Area Types” in SysMemItf.h.</element> <element name=”wArea” type=”IN”>Area in which the segment is residing</element> <element name=”dwOffset” wType=”IN”>Offset in the area, in which the segment is residing</element> <element name=”dwSize” wType=”IN”>Size of the segment in bytes</element> <element name=”dwHighestUsedAddress” wType=”IN”>Highest used address in the segment (has no significance for input, output, memory)</element> InOut: Name Type wType WORD wArea WORD dwOffset DWORD dwSize DWORD dwHighestUsedAddress DWORD
AppCallGetProperty (FUN) ¶ FUNCTION AppCallGetProperty : RTS_IEC_RESULT InOut: Scope Name Type Return AppCallGetProperty RTS_IEC_RESULT Input pInstance POINTER TO BYTE ppGetMethod POINTER TO POINTER TO BYTE pbyValue POINTER TO BYTE ulSize __XWORD
AppCallGetProperty2 (FUN) ¶ FUNCTION AppCallGetProperty2 : RTS_IEC_RESULT InOut: Scope Name Type Return AppCallGetProperty2 RTS_IEC_RESULT Input pInstance POINTER TO BYTE ppGetMethod POINTER TO POINTER TO BYTE ppbyValue POINTER TO POINTER TO BYTE ulSize __XWORD
AppCallGetProperty2Release (FUN) ¶ FUNCTION AppCallGetProperty2Release : RTS_IEC_RESULT InOut: Scope Name Type Return AppCallGetProperty2Release RTS_IEC_RESULT Input pbyValue POINTER TO BYTE
AppCallGetProperty3 (FUN) ¶ FUNCTION AppCallGetProperty3 : RTS_IEC_RESULT InOut: Scope Name Type Return AppCallGetProperty3 RTS_IEC_RESULT Input pInstance POINTER TO BYTE ppGetMethod POINTER TO POINTER TO BYTE ppbyValue POINTER TO POINTER TO BYTE ulSize __XWORD ulOffset __XWORD
AppCallSetProperty (FUN) ¶ FUNCTION AppCallSetProperty : RTS_IEC_RESULT InOut: Scope Name Type Return AppCallSetProperty RTS_IEC_RESULT Input pInstance POINTER TO BYTE ppSetMethod POINTER TO POINTER TO BYTE pbyValue POINTER TO BYTE ulSize __XWORD