When Using Measurement Results Externally (Gravity and Area)

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 (Gravity and Area)
Measurement items
Character string
Description
Judge
JG
Judgement result
Area
AR
Area
Gravity X
X
Center of gravity coordinate X
Gravity Y
Y
Center of gravity coordinate Y
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 (Gravity and Area)
No.
Data Name
Set/Get
Data Range
0
Judge
Get only
0: No judgement (unmeasured)
1: Judgement result OK
-1: Judgement result NG
5
Area
Get only
0 to 999999999.9999
6
Gravity X
Get only
-99999.9999 to 99999.9999
7
Gravity Y
Get only
-99999.9999 to 99999.9999
8
Reference Area
Get only
0 to 999999999.9999
9
Reference X
Get only
-99999.9999 to 99999.9999
10
Reference Y
Get only
-99999.9999 to 99999.9999
101
Output Coordinate
Set/Get
0: After scroll
1: Before scroll
102
Calibration
Set/Get
0:OFF, 1:ON
103
Reflect to overall judgement
Set/Get
0:ON, 1:OFF
120
Register the max color hue
Set/Get
0 to 359
121
Register the min color hue
Set/Get
0 to 359
122
Register the max color saturation
Set/Get
0 to 255
123
Register the min color saturation
Set/Get
0 to 255
124
Register the max color value
Set/Get
0 to 255
125
Register the min color value
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
Fill profile
Set/Get
0:OFF, 1:ON
129
Color inv.
Set/Get
0:OFF, 1:ON
132
Reference Area
Set/Get
0 to 999999999.9999
133
Reference X
Set/Get
0 to 99999.9999
134
Reference Y
Set/Get
0 to 99999.9999
135
Upper of area
Set/Get
0 to 999999999.9999
136
Lower of area
Set/Get
0 to 999999999.9999
137
Gravity X Upper
Set/Get
-99999.9999 to 99999.9999
138
Gravity X Lower
Set/Get
-99999.9999 to 99999.9999
139
Gravity Y Upper
Set/Get
-99999.9999 to 99999.9999
140
Gravity Y Lower
Set/Get
-99999.9999 to 99999.9999
141
Upper limit of the binary level
Set/Get
0 to 255
142
Lower limit of the binary level
Set/Get
0 to 255
143
Binary image
Set/Get
0:OFF, 1:ON