Validity: Rule, Task
Flag to enable the alarms stack to be used in LIFO instead of FIFO mode.
Syntax |
I32 as_lifo |
---|---|
Notes |
Default 0, corresponding to the FIFO mode. Assigning it 1 will switch to LIFO mode |
With LIFO mode the 33rd alarm eliminates the first alarm in the stack. With FIFO mode the 33rd alarm does not enter the stack.
Examples
$task 1 ; I initialize the alarms stack as "LIFO" as_lifo = 1 loopT1 ... ; Program R3 ... goto loopT1 |