Data Type: Stack Instance Attributes - v1.1
This data type is used to store the instance data of the function _stack.
Parameters
Section titled “Parameters”| Parameter | Type | Initial Value | Description |
|---|---|---|---|
length | Dint | 0 | Current length of the stack |
total | Dint | 0 | Total/maximum length of the stack |
isEmpty | Bool | 1 | 1=The stack is empty |
isFull | Bool | 0 | 1=The stack is full |
isInitialized | Bool | 0 | 1=The stack is initialized and ready to work |
mutex | Bool | 0 | Used to lock or enable access to the stack (user defines the rules) |