Entering parameters – Rockwell Automation 1747-PT1, D1747NP002 Hand-Held Terminal User Manual
Page 312

Chapter 22
File Copy and File Fill Instructions
22–4
The FLL instruction loads either an element of data or a program constant
from the source to a destination file, as illustrated below.
Source: Element
Destination: File
Typically, the FLL instruction might be used to reset or clear several integer
values all at once.
Entering Parameters
•
Source – The program constant (decimal) or element address. (The file
indicator # is not required for an element address.)
•
Destination – The address of the first word of the file you want to fill.
You must use the file indicator # in the address.
•
Length – The number of elements in the file you want filled. If the
destination file type is 3 words per element, you can specify a maximum
length of 42. If the destination file type is 1 word per element, you can
specify a maximum length of 128.
All elements are filled from the source value (typically a program constant)
into the specified destination file each scan the rung is true. Elements are
filled in ascending order until the number of elements (length that you
entered) is reached.
The instruction will not write over a file boundary (such as between files
N16 and N17) at the destination.
Note that an error is declared if a write is attempted over a file boundary.