When Using Measurement Results Externally (Defect)

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 items and contents displayed in the sub-menu are shown in the following table.
For how to set up expression,seeStructure and Creation of Expression.
Table: Values Available in Expression (Defect)
Measurement items
Character string
Description
Judge
JG
Judgement result
Defect
F
Measurement defect level
Position X
X
X Coordinate of measurement defect position
Position Y
Y
Y Coordinate of measurement defect position
Defect area
AR
The measured maximum defect area
Defect gravity X
GX
The gravity center X coordinates of the measured maximum defect area
Defect gravity Y
GY
The gravity center Y coordinates of the measured maximum defect area

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 (Defect)
No.
Data Name
Set/Get
Data Range
0
Judge
Get only
0: No judgement (unmeasured)
1 : Judgement result OK
-1 : Judgement result NG
5
Defect level
Get only
0 to 999
6
Defect coordinate X
Get only
0 to 99999.9999
7
Defect coordinate Y
Get only
0 to 99999.9999
8
Defect area
Get only
0 to 999999999.9999
9
Defect gravity X
Get only
0 to 99999.9999
10
Defect gravity Y
Get only
0 to 99999.9999
103
Reflect in to overall judgement
Set/Get
0: ON
1: OFF
120
Upper of defect detection size
Set/Get
0: 4
1: 8
2: 12
3: 16
4: 24
5: 32
6: 64
121
Lower of defect detection size
Set/Get
0: 4
1: 8
2: 12
3: 16
4: 24
5: 32
6: 64
122
Defect judgement
Set/Get
0 to 999
123
Detect Color (for monochrome cameras only)
Set/Get
0: Both, 1: White, 2: Black
124
Area measurement
Set/Get
0: OFF, 1: ON
125
Area measurement level
Set/Get
0 to 999
126
Area judgement
Set/Get
0 to 999999999.9999