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 #396 background imageLoading...
Page #396 background image
Chapter 5
Statistical Instructions
396 Rockwell Automation Publication 1756-RM006K-EN-P - November 2018
Operands
Function Block
Operand Type Format Description
block tag MOVING_STD_DEV structure MSTD structure
StorageArray REAL array Holds the In samples. This array
must be at least as large as
NumberOfSamples.
MOVING_STD_DEV 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 and Average
at their current values. 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 sets Out = 0.0 and Average = In,
except when InFault is set, in which case, the
instruction holds both Out and Average at their
current values. When Initialize transitions from
set to cleared, the instruction initializes the
standard deviation 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 and Average
value. When SampleEnable is cleared and
Initialize is cleared, the instruction holds Out and
Average at their current values.
Default is cleared.
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 the
instruction holds Out and Average at their current
values. When NumberOfSamples becomes valid
again, the instruction initializes the standard
deviation algorithm and continues executing.
Valid = 1 to size of the storage array
Default = 1

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