Publication 1762-RM001C-EN-P
File Instructions 14-3
FLL - Fill File
Instruction Type: output
The FLL instruction loads elements of a file with either a constant or an
address data value for a given length. The following figure shows how file
instruction data is manipulated. The instruction fills the words of a file
with a source value. It uses no status bits. If you need an enable bit,
program a parallel output that uses a storage address.
This instruction uses the following operands:
•
Source - The source operand is the address of the value or constant
used to fill the destination. The data range for the source is from
-32768 to 32767 (word) or -2,147,483,648 to 2,147,483,647 (long
word).
•
Destination - The starting destination address where the data is
written.
•
Length - The length operand contains the number of elements. The
length can range from 1 to 128 (word), 1 to 64 (long word), or 1 to 42
(3 word element such as counter).
FLL
Fill File
Source N7:0
Dest #N7:1
Length 1
FLL
Table 14.4 Execution Time for the FLL Instruction
Controller Data Size When Rung Is:
True False
MicroLogix 1200 word 14 + 0.6
µ
s/word 0.0
µ
s
long word 15 + 1.2
µ
s/long word 0.0
µ
s
MicroLogix 1500 word 12.1 + 0.43
µ
s/word 0.0
µ
s
long word 12.3 + 0.8
µ
s/long word 0.0
µ
s
NOTE
A constant cannot be used as the source in a timer (T),
counter (C), or control (R) file.
NOTE
The source and destination operands must be of the same
file type, unless they are bit (B) and integer (N).
Destination
Source
Word to File