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