OperatingState (GVL) ¶ <category>Operating state</category> Application operating states. InOut: Scope Name Type Initial Constant OS_NONE UDINT 16#0 OS_PROGRAM_LOADED UDINT 16#1 OS_DOWNLOAD UDINT 16#2 OS_ONLINE_CHANGE UDINT 16#4 OS_STORE_BOOTPROJECT UDINT 16#8 OS_FORCE_ACTIVE UDINT 16#10 OS_EXCEPTION UDINT 16#20 OS_RUN_AFTER_DOWNLOAD UDINT 16#40 OS_STORE_BOOTPROJECT_ONLY UDINT 16#80
OperationReason (GVL) ¶ <category>Operation reason</category> Reason specifies the cause of the specific operation. InOut: Scope Name Type Initial Constant APP_REASON_UNKNOWN UDINT 16#0 APP_REASON_SHUTDOWN UDINT 16#1 APP_REASON_RESET UDINT 16#2 APP_REASON_EXCEPTION UDINT 16#3 APP_REASON_USER UDINT 16#4 APP_REASON_IECPROGRAM UDINT 16#5 APP_REASON_DELETE UDINT 16#6 APP_REASON_DEBUGGING UDINT 16#7 APP_REASON_RUNSTOP_SWITCH UDINT 16#8 APP_REASON_REDUNDANCY_SYNC UDINT 16#9
Operations (GVL) ¶ InOut: Scope Name Type Initial Comment Constant OP_APP_STOP UDINT 1 <category>Operations</category> <description>Operations of the application component. Can be disabled with the event CMPID_CmpMgr::EVT_CmpMgr_DisableOperation!</description> OP_APP_DOWNLOAD UDINT 2 OP_APP_ONLINECHANGE UDINT 3 OP_APP_WRITE_VARIABLES UDINT 4 OP_APP_FORCE_VARIABLES UDINT 5 OP_APP_SET_BREAKPOINT UDINT 6 OP_APP_RESET UDINT 7 OP_APP_START UDINT 8 OP_APP_DELETE_APPLICATION UDINT 9 OP_APP_RESET_ORIGIN UDINT 10
PROJECT_INFO (STRUCT) ¶ TYPE PROJECT_INFO : STRUCT <category>Project information</category> <description> Contains the project information as specified in the project information dialog in CoDeSys. To use this, the checkbox “Automatically generate POUs for property access” in the project information dialog be enabled. </description> <element name=”stProjectName” type=”OUT”>Project name without ending</element> <element name=”stTitle” type=”OUT”>Title</element> <element name=”stVersion” type=”OUT”>Version as string in the format “x.x.x.x”</element> <element name=”stAuthor” type=”OUT”>Author</element> <element name=”stDescription” type=”OUT”>Description</element> InOut: Name Type stProject STRING stTitle STRING stVersion STRING stAuthor STRING stDescription STRING
RESET_OPTION (ENUM) ¶ TYPE RESET_OPTION : <category>Reset option</category> InOut: Name Initial RTS_RESET 0 RTS_RESET_COLD 1 RTS_RESET_ORIGIN 2 RTS_RESET_ORIGIN_DEVICE 3
RetainBackupState (GVL) ¶ InOut: Scope Name Type Initial Comment Constant APP_RBS_UNKNOWN UINT 0 <category>Retain backup state</category> <description> State values for event EVT_RetainBackupState/EVTPARAM_CmpAppRetainBackupState.uiBackupState. </description> <element name=”APP_RBS_UNKNOWN” type=”IN”>Unknown state</element> <element name=”APP_RBS_BACKUP_PREPARE” type=”IN”>Preparation of file backup (gathering information)</element> <element name=”APP_RBS_BACKUP_BEGIN” type=”IN”>File backup begin</element> <element name=”APP_RBS_BACKUP_END” type=”IN”>File backup end</element> <element name=”APP_RBS_RESTORE” type=”IN”>Restore retains from file</element> APP_RBS_BACKUP_PREPARE UINT 1 APP_RBS_BACKUP_BEGIN UINT 2 APP_RBS_BACKUP_END UINT 3 APP_RBS_RESTORE UINT 4
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)