Reading and Verifying Character Strings
110
FQ2-S4 User’s Manual
Outputting Read Characters to an External Device
After a measurement, you can automatically output the character string that was read with the OCR inspection
item to a PLC or other external device. The character strings are output after outputting the output data (output
data settings 0 to 31), such as the inspection item parameters and calculation result. Refer to the description
for the communications format for the setting procedure and output specifications to output the character string.
Outputting Character Strings
• EtherNet/IP: p. 346
• PLC Link: p. 383
• TCP No-protocol Communications: p. 408
Measurement Data That Can Be Used for External Outputs and Calculations
The following values can be used as measurement data and output to external devices via Ethernet or used in
calculations.
Expression text string Data name Description Data range
JG Judgement This is the judgement result. −2: No judgment (not measured),
0: Judgement is OK,
−1: Judgement is NG,
−13: Teaching not performed error,
−14: Figure not registered error,
−15: Out of range error
−16: Measurement timeout error,
−17: Format not entered error
IN Index This is the verification result (i.e., the
master data number).
−2: Verification OFF, or reading error
−1: Verification is NG,
0 to 31: Master data No.
N Number of read characters This is the total number of charac-
ters that were read for all four lines.
0 to 128
SIM Similarity This is the lowest similarity of the
read characters.
0 to 100
STB Stability This is the lowest stability of the read
characters.
0 to 100
N1 Number of read characters (line 1)
N1
This is the number of read charac-
ters for line 1.
32 characters max.
N2 Number of read characters (line 2)
N2
This is the number of read charac-
ters for line 2.
32 characters max.
N3 Number of read characters (line 3)
N3
This is the number of read charac-
ters for line 3.
32 characters max.
N4 Number of read characters (line 4)
N4
This is the number of read charac-
ters for line 4.
32 characters max.
SM Individual similarity This is the similarity of read charac-
ter N (N = 0 to 127).
0 to 100
SB Individual stability This is the stability of read character
N (N = 0 to 127).
0 to 100