Stack.Peek (METH) ¶ METHOD Peek : COLLECTION_ERROR Get the head element of the stack. The element will not be removed. InOut: Scope Name Type Comment Return Peek COLLECTION_ERROR Output itfElement IElement The top level element of the stack.
Stack.Pop (METH) ¶ METHOD Pop : COLLECTION_ERROR Get the head of the stack. The element will be removed from the stack. InOut: Scope Name Type Comment Return Pop COLLECTION_ERROR Output itfElement IElement The top level element of the stack.
Stack.RemoveAllElements (METH) ¶ METHOD RemoveAllElements : COLLECTION_ERROR Removes all elements from the collection. InOut: Scope Name Type Return RemoveAllElements COLLECTION_ERROR
Stack.RemoveElement (METH) ¶ METHOD RemoveElement : COLLECTION_ERROR Removes the element itfElement from the collection. InOut: Scope Name Type Comment Return RemoveElement COLLECTION_ERROR Input itfElement IElement The element to remove.
Stack.SafeElementIterator (METH) ¶ METHOD SafeElementIterator : COLLECTION_ERROR Returns an thread safe iterator over all elements. InOut: Scope Name Type Return SafeElementIterator COLLECTION_ERROR Input itfIterator ISafeListIterator
StackFactory.Create (METH) ¶ METHOD FINAL Create : IStack3 Creates a IStack Note: Function blocks which are created with this factory are NOT online change safe. InOut: Scope Name Type Return Create IStack3 Input udiMaxElements UDINT Output eError FBF.ERROR
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 IStack2 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
StackFactory.prvInstCount (PROP) ¶ PROPERTY prvInstCount : CAA.COUNT
StackFactory.prvInstPoolExtendsFactor (PROP) ¶ PROPERTY prvInstPoolExtendsFactor : USINT
StackFactory.prvInstSize (PROP) ¶ PROPERTY prvInstSize : CAA.SIZE