Programmable Logic Controllers: File (Queue) Instructions
Programmable Logic Controllers: File (Queue) Instructions
Programmable Logic Controllers: File (Queue) Instructions
Controllers
10-1
FIFO Load Instruction
• On a false-to-true rung
transition, the FFL
instruction loads words
or long words into a
user-created file called
a FIFO stack.
10-2
FIFO Control Structure
10-3
FIFO Unload Instruction
• On a false-to-true rung
transition, the FFU
instruction unloads words or
long words from a user-
user
created file called a FIFO
stack.
• The data is unloaded using
first-in, first-out order.
• After the unload completes,
the data in the stack is
shifted one element toward
the top of the stack and the
last element is zeroed out.
• FFU operands are exactly as
described in the FFL
instruction.
• 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 instruction’s
counterpart, LIFO
unload (LFU),
(LFU) is paired
with a given LFL
instruction to remove
elements from the LIFO
stack.
Electrical & Computer Engineering Dr. D. J. Jackson Lecture 10-8
10-4
LIFO Loading & Unloading
10-5