When Using Measurement Results Externally (Classification)

Value 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: Values Available in Expression (Classification)
Measurement items
Character string
Description
Judge
JG
Judgement result
Index
IN
Index No. with the biggest Correlation
Model No.
NO
Model No. with the biggest Correlation
Correlation
CR
Correlation related with models
Position X
X
X coordinate of the position where the model is detected
Position Y
Y
Y coordinate of the position where the model is detected
Angle
TH
Angle of the position where the model is detected
Reference Position X
SX
Reference X of the registered model
Reference Position Y
SY
Reference Y of the registered model
Detection point RX
RX
X coordinate of the registered model
Detection point RY
RY
Y coordinate of the registered model

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 the User's Manual, "How To Connect & Communicate With External Devices".
Table: External Reference List (Classification)
No.
Data Name
Set/Get
Data Range
0
Judge
Get only
0: No judgement (unmeasured)
1: Judgement result OK
-1: Judgement result NG
5
Index
Get only
-1: No models found
0 to 4
6
Model No.
Get only
-1: No models found
0 to 35
7
Correlation
Get only
0 to 100
8
Measured coordinate X
Get only
-99999.9999 to 99999.9999
9
Measured coordinate Y
Get only
-99999.9999 to 99999.9999
10
Angle
Get only
-180 to 180
11
Reference position X
Get only
-99999.9999 to 99999.9999
12
Reference position Y
Get only
-99999.9999 to 99999.9999
13
Reference angle
Get only
-180 to 180
14
Detection coordinate X
Get only
-99999.9999 to 99999.9999
15
Detection coordinate Y
Get only
-99999.9999 to 99999.9999
101
Output coordinates
Set/Get
0: After scroll
1: Before scroll
102
Calibration
Set/Get
0: OFF
1: ON
103
Reflect in OR
Set/Get
0: ON, 1: OFF
120
Search mode
Set/Get
0: CR (Correlation)
1: PT (Pattern)
121
Rotation
Set/Get
0: OFF
1: ON
122
Upper limit of the angle
Set/Get
-180 to 180
123
Lower limit of the angle
Set/Get
-180 to 180
124
Skipping angle
Set/Get
1 to 30
125
Smart mode
Set/Get
0: OFF
1: ON
126
Stab. (CR)
Set/Get
1 to 15
127
Prec. (Precision)
Set/Get
1 to 3
128
Stab. (PT)
Set/Get
1 to 5
129
Reference coordinate X
Set/Get
0 to 99999.9999
130
Reference coordinate Y
Set/Get
0 to 99999.9999
132
Detection point X
Set/Get
0 to 99999.9999
133
Detection point Y
Set/Get
0 to 99999.9999
134
Sub-pixel
Set/Get
0: OFF
1: ON
135
Candidate LV
Set/Get
0 to 100
136
Upper limit of Position X
Set/Get
-99999.9999 to 99999.9999
137
Lower limit of Position X
Set/Get
-99999.9999 to 99999.9999
138
Upper limit of Position Y
Set/Get
-99999.9999 to 99999.9999
139
Lower limit of Position Y
Set/Get
-99999.9999 to 99999.9999
140
Upper limit of the angle
Set/Get
-180 to 180
141
Lower limit of the angle
Set/Get
-180 to 180
142
Upper limit of the correlation
Set/Get
0 to 100
143
Lower limit of the correlation
Set/Get
0 to 100