EasyManua.ls Logo

Allen-Bradley Logix5000

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
Loading...
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011 357
Array (File)/Misc. Instructions (FAL, FSC, COP, CPS, FLL, AVE, SRT, STD, SIZE) Chapter 8
Example 4: When enabled, the FAL instruction adds value_1 and value_2 and stores the
result in the current position of array_1.
Example 5: When enabled, the FAL instruction divides the value in the current position of
array_2 with the value in the current position of array_3 and stores the result in
the current position of array_1.
Example 6: When enabled, the FAL instruction adds the value at the current position in
array_1 to value_1 and stores the result in the current position in array_3. The
instruction must execute 10 times for the entire array_1 and array_3 to be
manipulated.
Arithmetic Operation: (Element + Element) to Array
Expression:
value_1 + value_2
Destination:
array_1[control_1.pos]
Arithmetic Operation: (Array / Array) to Array
Expression:
array_2[control_2.pos] / array_3[control_2.pos]
Destination:
array_1[control_2.pos]
Arithmetic Operation: (Array + eEement) to Array
Expression:
array_1[control_1.pos] + value_1
Destination:
array_3[control_1.pos]

Table of Contents

Other manuals for Allen-Bradley Logix5000

Related product manuals