Lifo Unload (Lfu); Relay Ladder - Allen-Bradley Logix5000 Reference Manual

1756 controllogix, 1768 compactlogix, 1769 compactlogix, 1789 softlogix, 1794 flexlogix, powerflex 700s with drivelogix
Hide thumbs Also See for Logix5000:
Table of Contents

Advertisement

Chapter 9
Array (File)/Shift Instructions (BSL, BSR, FFL, FFU, LFL, LFU)

LIFO Unload (LFU)

428
The LFU instruction unloads the value at .POS of the LIFO and stores 0 in that
location.
Operands:

Relay Ladder

Operand
LIFO
Destination
Control
Length
Position
If you use a user-defined structure as the data type for the LIFO or Destination
operand, use the same structure for both operands.
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Type
Format
SINT
Array tag
INT
DINT
REAL
string
structure
SINT
Tag
INT
DINT
REAL
string
structure
The Destination value converts to the data type of the Destination tag. A
smaller integer converts to a larger integer by sign-extension.
CONTROL
Tag
DINT
Immediate
DINT
Immediate
Description
LIFO to modify
Specify the first element of the LIFO
Do not use CONTROL.POS in the subscript
Value that exits the LIFO
Control structure for the operation
Typically use the same CONTROL as the
associated LFL
Maximum number of elements the LIFO can
hold at one time
Next location in the LIFO where the
instruction unloads data
Initial value is typically 0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents