LIFO ( Last In First Out )
Function name | X |
---|---|
Function version | 1.0 |
Function state | stable |
Compatibility with IEC61131-3 | not compatible |
Graphic symbol :
Input / Output :
Name | Belonging Group | Access | Types of data | Description |
---|---|---|---|---|
ON | Left Power Flow | IEC1131-3 enable input | ||
TBL | Name array | Name of the table | ||
DATA | Normal | W , RW | F , B , W , L , S | Extracted data |
ENO | Right Power Flow | IEC1131-3 enable output |
The operation Last In First Out (LIFO) cancels the last record of the table (TBL) and returns the value in the specified address from DATA. For each executed record, the number of records (pointer) of the table is decreased of 1.
The error conditions that set ENO = 0: empty table.