When Using measurement Results Externally (Edge Position)

Value Available in Expression

When this 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: Edge position - The value that can be used by the Arithmetic Expression
Measurement items
Character string
Description
Judge
JG
Judgement result
Edge position X
X
X coordinate of the measured edge position
Edge position Y
Y
Y coordinate of the measured edge position
Reference position X
SX
Reference coordinate X
Reference position Y
SY
Reference coordinate 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 (Edge Position)
No.
Data Name
Set/Get
Data Range
0
Judge
Get only
0: No judgement (unmeasured)
1: Judgement result OK
-1: Judgement result NG
5
Edge position X
Get only
0 to 99999.9999
6
Edge position Y
Get only
0 to 99999.9999
7
Reference coordinate X
Get only
0 to 99999.9999
8
Reference coordinate Y
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 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
Reference coordinate X
Set/Get
0 to 99999.9999
130
Reference coordinate Y
Set/Get
0 to 99999.9999
131
Edge No.
Set/Get
0 to 99
132
Edge level
Set/Get
0 to 100
133
Noise level
Set/Get
0 to 442
134
Noise width
Set/Get
0 to 9999
135
Edge color level
Set/Get
0 to 442
136
Upper limit of the edge position X
Set/Get
-99999.9999 to 99999.9999
137
Lower limit of the edge position X
Set/Get
-99999.9999 to 99999.9999
138
Upper limit of the edge position Y
Set/Get
-99999.9999 to 99999.9999
139
Lower limit of the edge position Y
Set/Get
-99999.9999 to 99999.9999
140
Monochrome edge detection mode
Set/Get
0: Light Icon Dark
1: Dark Icon Light
141
Edge level absolute value
Set/Get
0 to 442
142
Edge level specification mode
Set/Get
0: %, 1: Absolute value
143
Clockwise/Counterclockwise
Set/Get
0: Clockwise, 1: Counterclockwise