Allen-Bradley Logix5000 Reference Manual page 382

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

Advertisement

Chapter 8
Array (File)/Misc. Instructions (FAL, FSC, COP, CPS, FLL, AVE, SRT, STD, SIZE)
Condition
Prescan
Rung-condition-in is false.
Examine .DN Bit
.EN bit is cleared.
.ER bit is cleared.
Rung-condition-out is set
to false.
Rung-condition-in is true
Postscan
382
Execution:
Relay Ladder Action
The .EN bit is cleared.
The .DN bit is cleared.
The .ER bit is cleared.
The rung-condition-out is set to false.
.DN Bit = 0
.DN Bit = 1
End
The AVE instruction calculates the average by adding all the specified elements in the array and
dividing by the number of elements.
Internally, the instruction uses a FAL instruction to calculate the average:
Expression = average calculation
Mode = ALL
For details on how the FAL instruction executes, see
The rung-condition-out is set to false.
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
page
351.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents