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