When Using Measurement Results Externally (Labeling)

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 (Labeling)
Measurement items
Character string
Description
Judge
JG
Judgement result
Number of labels
L
Number of labels
Area
AR
Area
Gravity X
X
Gravity X-coordinate
Gravity Y
Y
Gravity Y-coordinate
Reference area
SA
Reference area
Reference X
SX
Reference X
Reference Y
SY
Reference Y

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 (Labeling)
No.
Data Name
Set/Get
Data Range
0
Judge
Get only
0: No judgement (unmeasured)
1: Judgement result OK
-1: Judgement result NG
5
Number of labels
Get only
0 to 2500
6
Area
Get only
0 to 999999999.9999
7
Gravity X
Get only
-99999.9999 to 99999.9999
8
Gravity Y
Get only
-99999.9999 to 99999.9999
9
Reference area
Get only
0 to 999999999.9999
10
Reference position X
Get only
-99999.9999 to 99999.9999
11
Reference position 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 to overall judgement
Set/Get
0: ON
1: OFF
120
Hue Max.
Set/Get
0 to 359
121
Hue Min.
Set/Get
0 to 359
122
Saturation Max.
Set/Get
0 to 255
123
Saturation Min.
Set/Get
0 to 255
124
Brightness value Max.
Set/Get
0 to 255
125
Brightness value Min.
Set/Get
0 to 255
126
Extract image
Set/Get
0: OFF
1: ON
127
Background color
Set/Get
0: black
1: white
2: red
3: green
4: blue
128
Reference area
Set/Get
0 to 999999999.9999
129
Reference coordinate X
Set/Get
0 to 99999.9999
130
Reference coordinate Y
Set/Get
0 to 99999.9999
131
Color inverse
Set/Get
0: OFF
1: ON
132
Filling up holes
Set/Get
0: OFF
1: ON
133
Outside trimming
Set/Get
0: OFF
1: ON
134
Upper limit of the object area range
Set/Get
0 to 999999999.9999
135
Lower limit of the object area range
Set/Get
0 to 999999999.9999
136
Sort condition
Set/Get
0: Area descending
1: Area ascending
2: X descending
3: X ascending
4: Y descending
5: Y ascending
137
Label No.
Set/Get
0 to 2499
138
Upper limit of the number of labels
Set/Get
0 to 2500
139
Lower limit of the number of labels
Set/Get
0 to 2500
140
Upper limit of the area
Set/Get
0 to 999999999.9999
141
Lower limit of the area
Set/Get
0 to 999999999.9999
142
Upper limit of the gravity center X
Set/Get
-99999.9999 to 99999.9999
143
Lower limit of the gravity center X
Set/Get
-99999.9999 to 99999.9999
144
Upper limit of the gravity center Y
Set/Get
-99999.9999 to 99999.9999
145
Lower limit of the gravity center Y
Set/Get
-99999.9999 to 99999.9999
146
Upper limit of the binary level
(for monochrome cameras only)
Set/Get
0 to 255
147
Lower limit of the binary level
(for monochrome cameras only)
Set/Get
0 to 255
148
Reverse
(for monochrome cameras only)
Set/Get
0: No reverse
1: Reverse