422 Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Chapter 9 Array (File)/Shift Instructions (BSL, BSR, FFL, FFU, LFL, LFU)
LIFO Load (LFL)
The LFL instruction copies the Source value to the LIFO.
Operands:
Relay Ladder
If you use a user-defined structure as the data type for the Source or LIFO
operand, use the same structure for both operands.
Operand Type Format Description
Source SINT
INT
DINT
REAL
string
structure
Immediate
Tag
Data to be stored in the LIFO
The Source converts to the data type of the array tag. A smaller integer
converts to a larger integer by sign-extension.
LIFO SINT
INT
DINT
REAL
string
structure
Array tag LIFO to modify
Specify the first element of the LIFO
Do not use CONTROL.POS in the subscript
Control CONTROL Tag Control structure for the operation
Typically use the same CONTROL as the
associated LFU
Length DINT Immediate Maximum number of elements the LIFO can
hold at one time
Position DINT Immediate Next location in the LIFO where the
instruction loads data
initial value is typically 0