Statistics block – Rockwell Automation 5370 CVIM Communications Manual User Manual
Page 179

Appendix C
Numerical Results Data
C–16
The Statistics Block can be formatted and read through any of the
communications ports. The Statistics Block has user defined contents. This
block may contain up to 64 words of data; see Table C.6.
Table C.6
Statistics Block
Word #
Bit #
Function
Notes
0
0 – 15
Block Transfer Signature
1 – 63
0 – 15
User Defined Statistics Data
Each type of statistic requires a specific number of words. Use the following
as a guideline when setting up a programmable block transfer.
Block Signature
= 1 Word
Number of Samples
= 1 Word (2 Byte Integer)
Minimum and Maximum
= 4 Bytes
Window (Object and Pixel)
32 Bit Integer
Window (Luminance)
16 Point 16
Widow (Template)
32 Bit Integer
Brightness Probe
16 Point 16
Reference Window
16 Bit Integer &
16 Point 16
Gage (Linear Measure)
16 Point 16
Gage (Edge, Pixel, Object)
32 Bit Integer
Average
= 4 Bytes
(16 Point 16 for fixed
point values)
Standard Deviation
= 4 Bytes (16 Point 16)
Each tool statistic consists of 18 bytes with the exception of reference
windows which contain 18 bytes for each feature or a total of 54 bytes. The
statistics block is transmitted as two hexadecimal characters for each byte.
The total number of bytes including the block signature should not exceed
128 bytes.
Statistics Block