AppGetSegmentSize (FUN) ¶ FUNCTION AppGetSegmentSize : __UXINT <description> This function retuns the start size of an IEC segment. All segments resides within an area. This is used to get access for example to the size of the output processimage segment (%Q = AreaType.DA_OUTPUT). </description> <param name=”pApp” type=”IN”>Pointer to Application</param> <param name=”wType” type=”IN”>Area type</param> <param name=”pResult” type=”IN”>Pointer to Result</param> <result>Segment size</result> InOut: Scope Name Type Return AppGetSegmentSize __UXINT Input pApp POINTER TO APPLICATION wType WORD pResult POINTER TO RTS_IEC_RESULT
AppNumOfActiveSessions (FUN) ¶ FUNCTION AppNumOfActiveSessions : RTS_IEC_RESULT InOut: Scope Name Type Return AppNumOfActiveSessions RTS_IEC_RESULT Input pApp POINTER TO APPLICATION pulNumSessions POINTER TO UDINT
AppRegisterPropAccessFunctions (FUN) ¶ FUNCTION AppRegisterPropAccessFunctions : RTS_IEC_RESULT InOut: Scope Name Type Return AppRegisterPropAccessFunctions RTS_IEC_RESULT Input pApp POINTER TO APPLICATION ppfGetBooleanProperty POINTER TO POINTER TO BYTE ppfGetTextProperty POINTER TO POINTER TO BYTE ppfGetNumberProperty POINTER TO POINTER TO BYTE ppfGetVersionProperty POINTER TO POINTER TO BYTE
AppReset (FUN) ¶ FUNCTION AppReset : RTS_IEC_RESULT InOut: Scope Name Type Return AppReset RTS_IEC_RESULT Input pApp POINTER TO APPLICATION usResetOption WORD
AppRestoreRetainsFromFile (FUN) ¶ FUNCTION AppRestoreRetainsFromFile : RTS_IEC_RESULT InOut: Scope Name Type Return AppRestoreRetainsFromFile RTS_IEC_RESULT Input pApp POINTER TO APPLICATION pszFilName REFERENCE TO STRING
AppStartApplication (FUN) ¶ FUNCTION AppStartApplication : RTS_IEC_RESULT InOut: Scope Name Type Return AppStartApplication RTS_IEC_RESULT Input pApp POINTER TO APPLICATION
AppStopApplication (FUN) ¶ FUNCTION AppStopApplication : RTS_IEC_RESULT InOut: Scope Name Type Return AppStopApplication RTS_IEC_RESULT Input pApp POINTER TO APPLICATION
AppStoreRetainsInFile (FUN) ¶ FUNCTION AppStoreRetainsInFile : RTS_IEC_RESULT InOut: Scope Name Type Return AppStoreRetainsInFile RTS_IEC_RESULT Input pApp POINTER TO APPLICATION pszFilName REFERENCE TO STRING
ApplicationFlags (GVL) ¶ InOut: Scope Name Type Initial Comment Constant AF_SYSTEM_APPLICATION UDINT 16#10000 Application flags AF_IOCONFIG_BYTE_ADDRESSING UDINT 16#20000 AF_IOCONFIG_BIT_WORD_ADDRESSING UDINT 16#40000 AF_KEEP_AT_PARENT_ONLINE_CHANGE UDINT 16#80000 AF_ALLOW_SYMBOLIC_VARIABLE_ACCESS_IN_SYNC_WITH_IEC_TASK UDINT 16#100000 AF_SIGNED_APPLICATION UDINT 16#200000 AF_ENCRYPTED_APPLICATION UDINT 16#400000 AF_DEVICE_APPLICATION UDINT 16#800000 AF_APPLICATION_STOP_PARENT_APPS_ON_EXCEPTION UDINT 16#1000000
ApplicationState (GVL) ¶ InOut: Scope Name Type Initial Comment Constant AS_NONE UDINT 16#0 Application states AS_RUN UDINT 16#1 AS_STOP UDINT 16#2 AS_DEBUG_HALT_ON_BP UDINT 16#3 AS_DEBUG_STEP UDINT 16#4 AS_SINGLE_CYCLE UDINT 16#5