When Using measurement results externally (Edge Pitch)

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,seeStructure and Creation of Expression.
Table: Values Available in Expression (Edge Pitch)
Measurement items
Character string
Description
Judge
JG
Judgement result
Edge Pitch
N
The number of detected edges
Average pitch
P
The average pitch of detected edges
Max. pitch
PH
The maximum pitch of detected edges
Min. pitch
PL
The minimum pitch of detected edges
Average width
W
The average width of detected edges
Max. width
WH
The maximum width of detected edges
Min. width
WL
The minimum width of detected edges

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 (Edge Pitch)
No.
Data Name
Set/Get
Data Range
0
Judge
Get only
0: No judgement (unmeasured)
1: Judgement result OK
-1: Judgement result NG
5
Edges
Get only
0 to 999
6
Average pitch
Get only
0 to 99999.9999
7
Max. pitch
Get only
0 to 99999.9999
8
Min. pitch
Get only
0 to 99999.9999
9
Average width
Get only
0 to 99999.9999
10
Max. width
Get only
0 to 99999.9999
11
Min. width
Get only
0 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 OR
Set/Get
0: ON
1: OFF
120
Edge color R
Set/Get
0 to 255
121
Edge color G
Set/Get
0 to 255
122
Edge color B
Set/Get
0 to 255
123
Edge color Difference R
Set/Get
0 to 127
124
Edge color Difference G
Set/Get
0 to 127
125
Edge color Difference B
Set/Get
0 to 127
127
Edge level
Set/Get
0 to 100
128
Noise level
Set/Get
0 to 442
129
Noise width
Set/Get
0 to 9999
130
Upper of Edge Pitch
Set/Get
0 to 1000
131
Lower of Edge Pitch
Set/Get
0 to 1000
132
Upper of Average pitch
Set/Get
0 to 99999.9999
133
Lower of Average pitch
Set/Get
0 to 99999.9999
134
Upper limit of the pitch
Set/Get
0 to 99999.9999
135
Lower limit of the pitch
Set/Get
0 to 99999.9999
136
Upper of Average width
Set/Get
0 to 99999.9999
137
Lower of Average width
Set/Get
0 to 99999.9999
138
Upper limit of the width
Set/Get
0 to 99999.9999
139
Lower limit of the width
Set/Get
0 to 99999.9999
140
Edge color level
Set/Get
0 to 442
141
Color to count
Set/Get
0: White
1: Black
142
Mode
Set/Get
0: Normal
1: Precise