Rockwell Automation 5370-OCR2 PAK User Manual
Page 73
![background image](/manuals/580696/73/background.png)
Chapter 8
Communications and Results Processing
8–2
The following table shows the inspection results available for an OCR Tool.
The Inspection Result names are used by the Math tool, Communications
Message Editor, and Discrete I/O Editor.
Inspection Result
Definition & Usage
Field Type
Pass
1 if the OCR Tool passes. 0 if the tool fails.
Uword
Warn
Always zero.
Uword
Fail
Fail code:
0 = PASS
9472 = No binary correlator coprocessor installed
9473 = No font assigned, or font could not be loaded
9474 = No characters present in the font
9475 = Match fail or no characters recognized
(Refer to CVIM2 Communications Manual Appendix C for additional
Fail codes which pertain to any CVIM2 tool).
Uword
String 1
Result string #1.
String
Fail 1
Result string #1 Fail code:
0 = PASS
9475 = Match fail or no characters recognized
Uword
String 2
Result string #2.
String
Fail 2
Result string #2 Fail code (see Fail 1).
Uword
String 3
Result string #3.
String
Fail 3
Result string #3 Fail code (see Fail 1).
Uword
String 4
Result string #4.
String
Fail 4
Result string #4 Fail code (see Fail 1).
Uword
String # and Fail # results are only available for a given string if the string’s Mode is not Disabled.
When accessing OCR data using the math tool, strings are converted to numbers. See Accessing OCR Re-
sults from Math Tools in this chapter for details.
If the tool’s fail code is anything other than this, it indicates an error condition in which the tool cannot be pro-
cessed. In this case, Fail 1 through Fail 4 are invalid, and usually set to zero.