EasyManuals Logo

Allen-Bradley Logix5000 Reference Manual

Allen-Bradley Logix5000
708 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #356 background imageLoading...
Page #356 background image
356 Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Chapter 8 Array (File)/Misc. Instructions (FAL, FSC, COP, CPS, FLL, AVE, SRT, STD, SIZE)
Example 1: When enabled, the FAL instruction copies each element of array_2 into the same
position within array_1.
Example 2: When enabled, the FAL instruction copies value_1 into the first 10 positions of
the second dimension of array_2.
Example 3: Each time the FAL instruction is enabled, it copies the current value of array_1 to
value_1. The FAL instruction uses incremental mode, so only one array value is
copied each time the instruction is enabled. The next time the instruction is
enabled, the instruction overwrites value_1 with the next value in array_1.
Array-to-Array Copy
Expression:
array_2[control_2.pos]
Destination:
array_1[control_2.pos]
Element-to-Array Copy
Expression:
value_1
Destination:
array_2[0,control_2.pos]
Array-to-Element Copy
Expression:
array_1[control_1.pos]
Destination:
value_1

Table of Contents

Other manuals for Allen-Bradley Logix5000

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley Logix5000 and is the answer not in the manual?

Allen-Bradley Logix5000 Specifications

General IconGeneral
BrandAllen-Bradley
ModelLogix5000
CategoryController
LanguageEnglish

Related product manuals