When Using Measurement Results Externally (Scan Edge Width)

Values 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 Expressions (Scan Edge Width)
Measurement items
Character string
Description
Judge
JG
Judgement result
Edge width Max.
MAXW
The maximum value of edge width
Edge width Min.
MINW
The minimum value of edge width
Edge width Ave.
AVEW
The average value of all the edge widths
Lost width count
LOST
The number of the scanned areas for which the detection of width failed

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 User's Manual, "How To Connect & Communicate With External Devices".
Table: External Reference Data List (Scan Edge Width)
No.
Data Name
Set/Get
Data Range
0
Judge
Get only
0: No judgement (unmeasured)
1: Judgement result OK
-1: Judgement result NG
1
Edge width Max.
Set/Get
0 to dist (X_MAX, Y_MAX)
2
Edge width Min.
Set/Get
0 to dist (X_MAX, Y_MAX)
3
Edge width Ave.
Set/Get
0 to dist (X_MAX, Y_MAX)
4
Lost width count
Set/Get
0 to 100
102
Calibration
Set/Get
0: OFF, 1: ON
103
Reflect to overall Judgement
Set/Get
0: ON, 1: OFF
120
Edge color specification
Set/Get
0: OFF, 1: ON
121
Edge color R
Set/Get
0 to 255
122
Edge color G
Set/Get
0 to 255
123
Edge color B
Set/Get
0 to 255
124
Difference. R
Set/Get
0 to 127
125
Difference. G
Set/Get
0 to 127
126
Difference. B
Set/Get
0 to 127
127
Detection mode
Set/Get
0: Color IN, 1: Color OUT
129
Edge level
Set/Get
0 to 100
130
Noise level
Set/Get
0 to 442
131
Noise width
Set/Get
0 to 9999
132
Edge color level
Set/Get
0 to 442
133
Upper limit of the maximum width
Set/Get
0 to dist (X_MAX, Y_MAX)
134
Lower limit of the maximum width
Set/Get
0 to dist (X_MAX, Y_MAX)
135
Upper limit of the minimum width
Set/Get
0 to dist (X_MAX, Y_MAX)
136
Lower limit of the minimum width
Set/Get
0 to dist (X_MAX, Y_MAX)
137
Upper limit of the average width
Set/Get
0 to dist (X_MAX, Y_MAX)
138
Lower limit of the average width
Set/Get
0 to dist (X_MAX, Y_MAX)
139
Upper limit of the lost width count
Set/Get
0 to 100
140
Lower limit of the lost width count
Set/Get
0 to 100
141
Monochrome edge detection mode
Set/Get
0: Light Icon Dark, 1: Dark Icon Light
142
Edge level absolute value
Set/Get
0 to 442
143
Edge level specification mode
Set/Get
0: %, 1: Absolute value
145
Scan lines
Set/Get
1 to 100
146
Scan width
Set/Get
1 to 200
147
Display Area
Set/Get
1 to 99
148
Display Area (Direction)
Set/Get
0: Forward, 1: Reverse
* dist (X_MAX,Y_MAX) = sqrt (X_MAX*X_MAX+Y_MAX*Y_MAX)