CreateRangePool (FUN)ΒΆ

FUNCTION CreateRangePool : IRangePool

Creates a pool for IRange instances in the specified memory space

InOut:

Scope

Name

Type

Initial

Comment

Return

CreateRangePool

IRangePool

Input

pbyPool

POINTER TO BYTE

Pointer to the first byte of the memory.
This address should aligned to a __XWORD boundary!

udiPoolSize

UDINT

Size of the allocated memory for the range pool.
This size must not be smaller than SIZEOF(_RangePool), because it includes an instance of _RangePool(FB)

usiExtensionFactor

USINT

0

Optional extension factor of the IRangePool instance

Output

eErrorID

ERROR