EasyManuals Logo
Home>Allen-Bradley>Controller>LOGIX 5000

Allen-Bradley LOGIX 5000 User Manual

Allen-Bradley LOGIX 5000
561 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 #383 background imageLoading...
Page #383 background image
Statistical Instructions
Chapter 5
Rockwell Automation Publication 1756-RM006K-EN-P - November 2018 383
MOVING_AVERAGE Structure
Input Parameter Data Type Description
EnableIn BOOL Enable input. If cleared, the instruction does not execute
and outputs are not updated.
Default is set.
In REAL The analog signal input to the instruction.
Valid = any float
Default = 0.0
InFault BOOL Bad health indicator for the input. If In is read from an
analog input, then InFault is normally controlled by fault
status on the analog input. When set, InFault indicates the
input signal has an error, the instruction sets the
appropriate bit in Status, and the instruction holds Out at
its current value. When InFault transitions from set to
cleared, the instruction initializes the averaging algorithm
and continues executing.
Default is cleared.
Initialize BOOL Initialize input to the instruction. When set, the instruction
holds Out = In, except when InFault is set, in which case,
the instruction holds Out at its current value. When
Initialize transitions from set to cleared, the instruction
initializes the averaging algorithm and continues
executing.
Default is cleared.
SampleEnable BOOL Enable for taking a sample of In. When set, the instruction
enters the value of In into the storage array and calculates a
new Out value. When SampleEnable is cleared and Initialize
is cleared, the instruction holds Out at its current value.
Default is set.
NumberOfSamples DINT The number of samples to be used in the calculation. If this
value is invalid, the instruction sets the appropriate bit in
Status and holds Out at its current value. When
NumberOfSamples becomes valid again, the instruction
initializes the averaging algorithm and continues
executing.
Valid = 1 to (minimum size of StorageArray or
WeightArray, if used)
Default = 1
UseWeights BOOL Averaging scheme input to the instruction. When set, the
instruction uses the weighted method to calculate the Out.
When cleared, the instruction uses the uniform method to
calculate Out.
Default is cleared.

Table of Contents

Other manuals for Allen-Bradley LOGIX 5000

Questions and Answers:

Question and Answer IconNeed help?

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

Allen-Bradley LOGIX 5000 Specifications

General IconGeneral
BrandAllen-Bradley
ModelLOGIX 5000
CategoryController
LanguageEnglish

Related product manuals