Using Measurement Results Externally (Color Data)

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 specify an expression, see Structure and Creation of Expression.
For color cameras
Table: Values Available in Expressions (Color Data)
Measurement items
Character string
Description
Judge
JG
Judgement condition
Average R
AR
R (red) element average value
Average G
AG
G (green) element average value
Average B
AB
B (blue) element average value
Color difference
AD
The color difference between the average color and reference color in the measurement region
Color deviation
DV
Color deviation in the measurement region
For monochrome cameras
Table: Values Available in Expressions (Color Data)
Measurement items
Character string
Description
Judge
JG
Judgement result
Density average
AD
Difference between the average density of the measurement region and the reference density in the measurement region
Density deviation
DV
Deviation in the measurement region

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 (Color Data)
No.
Data Name
Set/Get
Data Range
0
Judge
Get only
0: No judgement (unmeasured)
1: Judgement result OK
-1: Judgement result NG
5
Average R component value
Get only
0 to 255
6
Average G component value
Get only
0 to 255
7
Average B component value
Get only
0 to 255
8
Averaging color difference
Get only
0 to 442
9
Color deviation
Get only
0 to 221
10
Density average value
(for monochrome cameras only)
Get only
0.000 to 255.000
11
Density deviation value
(for monochrome cameras only)
Get only
0.000 to 127.000
12
Reference color difference
Get only
0.000 to 255.000
13
Reference color deviation
Get only
0.000 to 127.000
103
Reflect in OR
Set/Get
0: ON
1: OFF
120
Normalization
Set/Get
0: OFF
1: ON
121
R reference color
Set/Get
0 to 255
122
G reference color
Set/Get
0 to 255
123
B reference color
Set/Get
0 to 255
124
Upper limit for color difference
Set/Get
0 to 442
125
Lower limit for color difference
Set/Get
0 to 442
126
Upper limit for color deviation
Set/Get
0 to 221
127
Lower limit for color deviation
Set/Get
0 to 221
128
Reference average density
Set/Get
0 to 255
129
Reference density deviation
Set/Get
0 to 127
130
Upper limit for average density
(for monochrome cameras only)
Set/Get
0 to 255
131
Lower limit for average density
(for monochrome cameras only)
Set/Get
0 to 255
132
Upper limit for density deviation
(for monochrome cameras only)
Set/Get
0 to 127
133
Lower limit for density deviation
(for monochrome cameras only)
Set/Get
0 to 127