EVTPARAM_CmpAppRetainBackupState (STRUCT) ¶ TYPE EVTPARAM_CmpAppRetainBackupState : STRUCT <category>Event parameter</category> <element name=”pszBootprojectName” type=”IN”>Name of boot project</element> <element name=”uiBackupState” type=”IN”>State of retain backup (see category “Retain backup state”</element> InOut: Name Type pszBootprojectName POINTER TO STRING uiBackupState UINT
EVTPARAM_CmpAppSourceDownload (STRUCT) ¶ TYPE EVTPARAM_CmpAppSourceDownload : STRUCT <category>Event parameter</category> <element name=”pArchiveName” type=”IN”>Name of the source project archive name</element> <element name=”usiBegin” type=”IN”>1: if download start, 0: if download ends</element> InOut: Name Type pszArchiveName POINTER TO STRING usiBegin USINT
EVTPARAM_CmpAppStateChanged (STRUCT) ¶ TYPE EVTPARAM_CmpAppStateChanged : STRUCT <category>Event parameter</category> <element name=”pApp” type=”IN”>Pointer to application object. pApp^.udiState contains the actual state! See “ApplicationState” for details.</element> <element name=”udiPrevState” type=”IN”>Previous application state</element> InOut: Name Type pApp POINTER TO APPLICATION udiPrevState UDINT
EVTPARAM_CmpAppStop (STRUCT) ¶ TYPE EVTPARAM_CmpAppStop : STRUCT <category>Event parameter</category> <element name=”pApp” type=”IN”>Pointer to application description</element> InOut: Name Type pApp POINTER TO APPLICATION ulStopReason DWORD
Exception (GVL) ¶ InOut: Scope Name Type Initial Comment Constant RTSEXCPT_APP_TARGET_MISMATCH DWORD 16#26 <category>Exception code</category> <description>Application is running on wrong target. Can be used for library protection!</description>
GlobalConstants (GVL) ¶ InOut: Scope Name Type Initial Comment Constant MAX_LEN_APPLNAME UDINT 60 Common Defines
MAKE_EVENTID (FUN) ¶ FUNCTION MAKE_EVENTID : DWORD InOut: Scope Name Type Return MAKE_EVENTID DWORD Input Class UINT EventId UINT
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