398 Rockwell Automation Publication 1756-RM006K-EN-P - November 2018
valid, the instruction initializes the standard deviation algorithm and continues
executing.
You can make runtime changes to the NumberOfSamples parameter. If you
increase the number, the instruction incrementally processes new data from the
current sample size to the new sample size. If you decrease the number, the
instruction re-calculates the standard deviation from the beginning of the sample
array to the new NumberOfSamples value.
Initializing the Standard Deviation Algorithm
Certain conditions, such as instruction first scan and instruction first run, require
the instruction to initialize the standard deviation algorithm. When this occurs,
the instruction considers the StorageArray empty and incrementally processes
samples from 1 to the NumberOfSamples value. For example:
Affects Math Status Flags
No
Major/Minor Faults
None specific to this instruction. See Common Attributes for operand-related
faults.