SysMemAllocData (FUN)
FUNCTION SysMemAllocData : POINTER TO BYTE
Allocates data memory of the specified size RETURN: Pointer to the memory block. 0 if no memory is not available
- InOut:
Scope
Name
Type
Comment
Return
SysMemAllocDataPOINTER TO BYTE
Input
szComponentSTRING
Can be the library- or POU-name from IEC
udiSize__XWORDRequested size of the memory block
pResultPOINTER TO RTS_IEC_RESULT
Pointer to runtime system error code (see CmpErrors_Itfs.library)