When Using Measurement Results Externally (Character Inspection)

Values Available in Expression

When this processing unit is selected in the "Unit" area of the Setting Expression window, the measurement items available in expressions are displayed in the sub-menu.
The measurement items displayed in the sub-menu are explained below.
For how to set up expression, see Structure and Creation of Expression.
Table: Value Available in Expression (Character Inspection)
Measurement items
Character string
Description
Judge
JG
Judgement result
Char count
NUM
Character count
NG Cause
NG
NG Cause
For following items, additional expression data with 32 characters is allocated for each character. (N represents the character index.)
Detect unit number N
CUNO*
Detect unit number for the Nth character
Detect index number N
CINDEX*
Detect index number for the Nth character
Detect model number N
CMODEL*
Detect model number for the Nth character
Detect character code N
CCHAR*
Character code for the Nth character
NG factor
CNG*
NG factor for the Nth character

External Reference List

The data types and their numbers that are available to refer from other processing units and external devices are shown below. For the input method, see "Input Format" in User's Manual, "How To Connect & Communicate With External Devices".
Table: External Reference List (Character Inspection)
No.
Data Name
Set/Get
Data Range
0
Judge
Get only
0: No judgement (unmeasured)
1: Judgement result OK
-1: Judgement result NG
1
Char count
Get only
0 to 32
2
NG cause
Get only
0x0000 to 0x0007
103
Reflect in OR
Set/Get
0: ON
1: OFF
120 to 123
Dictionary unit number
Set/Get
-1: OFF
0 to 9999
124
Inspection mode
Set/Get
0: OCR
1: OCR + Count
2: OCV
125
Direction
Set/Get
0: Icon
1: Icon
2: Icon
3: Icon
126
Character output
Set/Get
0: OFF
1: ON
127
Character output device
Set/Get
0: RS-232C/RS-422
1: Ethernet
129
Horizontal succession
Set/Get
0 to 99
130
Vertical succession
Set/Get
0 to 99
132
Dictionary candidate points LV usage flag
Set/Get
0: Not used
1: Used
133
Rough candidate
Set/Get
0 to 100
134
Detail candidate
Set/Get
0 to 100
135
Dictionary correlation usage flag
Set/Get
0: Not used
1: Used
136
Lower limit of the correlation
Set/Get
0 to 100
137
Upper limit of the number of characters
Set/Get
1 to 32
138
Lower limit of the number of characters
Set/Get
1 to 32
140 to 283
Model usage flag
Set/Get
0: Not used
1: Used
1000 to 1031
Detected unit number
Get only
-1: None, 0 to 9999
1032 to 1063
Detected index number
Get only
0 to 35
1064 to 1095
Detected model number
Get only
0 to 4
1096 to 1127
Detected character code
Get only
0 to 0xFFFF (UTF-16 encoded)
1128 to 1159
Detected NG factor
Get only
0 to 7
1160 to 1191
Correlation
Get only
0 to 100
1192 to 1223
Detected coordinate X
Get only
-99999.9999 to 99999.9999
1224 to 1255
Detected coordinate Y
Get only
-99999.9999 to 99999.9999
1256 to 1287
Detected Angle
Get only
-180 to 180
1288 to 1319
Reference coordinate X
Get only
-99999.9999 to 99999.9999
1320 to 1351
Reference coordinate Y
Get only
-99999.9999 to 99999.9999
1352 to 1383
Reference angle
Get only
-180 to 180