StackFactory.CreateDynamicStack (METH)ΒΆ
METHOD FINAL CreateDynamicStack : IStack2
Creates a dynamic stack. Note: Function blocks which are created with this factory are NOT online change safe.
- InOut:
Scope
Name
Type
Comment
Return
CreateDynamicStack
Input
udiInitialSize
UDINT
Initial size of elements. Must not be 0.
uiGrowFactor
UINT
Grow factor for dynamic memory reallocation if the number of elements is greater than udiInitialSize. Use 1 to disable dynamic memory reallocation.
Output
eError
FBF.ERROR