Allen-Bradley Logix5000 Reference Manual page 377

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

Advertisement

Description:
IMPORTANT
Arithmetic Status Flags:
Fault Conditions:
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Array (File)/Misc. Instructions (FAL, FSC, COP, CPS, FLL, AVE, SRT, STD, SIZE)
The number of bytes filled is:
Byte count = Length ∗ (number of bytes in the Destination data type)
You must test and confirm that the instruction doesn't change data that you don't
want it to change.
The FLL instruction operates on contiguous data memory. In some cases, the
instruction writes past the array into other members of the tag. This happens if the
length is too big and the tag is a user-defined data type.
If the tag is
Then
User-defined data type
If the Length is too big, the instruction writes past the end of the
array into other members of the tag. It stops at the end of the tag. No
major fault is generated.
NOT user-defined data type
If the Length is too big, the instruction stops at the end of the array.
No major fault is generated.
The Length is too big if it is more than the total number of elements in the
Destination array.
For best results, the Source and Destination should be the same type. If you want
to fill a structure, use the COP instruction (see example 3 on
mix data types for the Source and Destination, the Destination elements are filled
with converted Source values.
If The Source Is
SINT, INT, DINT, or REAL
SINT, INT, DINT, or REAL
SINT, INT, DINT, or REAL
SINT, INT, DINT, or REAL
SINT
INT
DINT
REAL
Not affected
None
And The Destination Is
The Source Is Converted
To
SINT
SINT
INT
INT
DINT
DINT
REAL
REAL
Structure
SINT (not converted)
Structure
INT (not converted)
Structure
DINT (not converted)
Structure
REAL (not converted)
Chapter 8
page
367). If you
377

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents