GetProperty (FUN) ¶ FUNCTION GetProperty : __XWORD InOut: Scope Name Type Return GetProperty __XWORD Input wProperty WORD
AppGetSegment (FUN) ¶ FUNCTION AppGetSegment : POINTER TO APP_MEMORY_SEGMENT InOut: Scope Name Type Return AppGetSegment POINTER TO APP_MEMORY_SEGMENT Input pApp POINTER TO APPLICATION uiType UINT pResult POINTER TO RTS_IEC_RESULT
AppGetSegmentAddress (FUN) ¶ FUNCTION AppGetSegmentAddress : POINTER TO BYTE <description> This function retuns the start address of an IEC segment. All segments resides within an area. This is used to get access for example to the beginning 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 start address</result> InOut: Scope Name Type Return AppGetSegmentAddress POINTER TO BYTE Input pApp POINTER TO APPLICATION wType WORD pResult POINTER TO RTS_IEC_RESULT
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