EasyManua.ls Logo

Allen-Bradley micrologix 1500 - LFL - Last In, First out (LIFO) Load

Allen-Bradley micrologix 1500
424 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Publication 1762-RM001C-EN-P
14-14 File Instructions
LFL - Last In, First Out
(LIFO) Load
Instruction Type: output
On a false-to-true rung transition, the LFL instruction loads words or long
words into a user-created file called a LIFO stack. This instructions
counterpart, LIFO unload (LFU), is paired with a given LFL instruction to
remove elements from the LIFO stack. Instruction parameters have been
programmed in the LFL - LFU instruction pair shown below.
EN
DN
EM
LFL
LIFO Load
Source N7:0
LIFO #N7:1
Control R6:0
Length 1<
Position 0<
LFL
Table 14.14 Execution Time for the LFL Instruction
Controller Data Size When Rung Is:
True False
MicroLogix 1200 word 25.5
µ
s 10.4
µ
s
long word 31.6
µ
s 10.4
µ
s
MicroLogix 1500 word 22.2
µ
s9.7
µ
s
long word 27.4
µ
s9.7
µ
s
(DN)
(EN)
(DN)
(EM)
LFL
LIFO LOAD
Source N7:10
LIFO #N7:12
Control R6:0
Length 34
Position 9
(EU)
(EM)
LIFO UNLOAD
LIFO #N7:12
Dest N7:11
Control R6:0
Length 34
Position 9
LFU
Destination Position
N7:11 N7:12 0
N7:13 1
LFU instruction
unloads data from
stack #N7:12 at
position 0, N7:12
N7:14 2
3
4
5 34 words are allocated
for FIFO stack starting
at N7:12, ending at
N7:45
6
7
Source 8
N7:10 9
LFL instruction loads
data into stack
#N7:12 at the next
available position, 9
in this case.
N7:45 33
Loading and Unloading of Stack #N7:12
LFL and LFU Instruction Pair

Table of Contents

Other manuals for Allen-Bradley micrologix 1500

Related product manuals