FB_Collection (Function Block)
Abstract class/Function Block that all collections inherit. Contains inheritable helper methods and base implementation for methods and properties for creating a collection.
Implements: I_Collection
Properties
_Count
Type: T_Capacity
Number of items in the collection.
_Empty
Type: BOOL
Checks if collection is empty.
_Error_Status
Type: T_Error
Error status of the collection.
Methods
Clear_Error
Decrement_Count
Decrement collection count by 1.
Increment_Count
Increments collection count by 1