Inspecting with the Area Inspection Item
FQ2 User’s Manual
4
Setting Up Inspections
145
Measurement Data That Can Be Used for External Outputs and Calculations
The following values can be used as measurement data and output to external devices via the Ethernet or used
in calculations.
4-13 Calculations and Judgements Using Inspection Item Data: p. 155
Measurement Data That Can Be Logged for Area
The following values can be logged as measurement data.
* When logging data is output, the data is output in the order of the above table.
7-6 Logging Measurement Data and Image Data: p. 208
Errors
Errors in Teaching
A teaching error message will appear if the reference area registered during teaching is 0. Perform the
following.
• If the color of the measurement object has changed from the specified color, set the color again and try
teaching again.
If the specified color is not found during teaching, the reference area will be registered as 0. If having no area is
OK, adjust the judgement parameters with this value as the reference.
Expression text string Data name Description Data range
JG Judgement This is the judgement result. −2: No judgement (not measured),
0: Judgement is OK,
−1: Judgement is NG,
−13: Teaching not performed error,
−14: Figure not registered error,
−15: Out of range error
AR Area This is the area in the measurement region
with the specified color.
0 to 999999999.9999
X Gravity X This is the X coordinate of the center of the
measurement area with the specified color.
−99999.9999 to 99999.9999
Y Gravity Y This is the Y coordinate of the center of the
measurement area with the specified color.
−99999.9999 to 99999.9999
SA Reference area This is the area with the specific color to be
measured when a range is set.
0 to 999999999
SX Ref. point X (reference
point X)
This is the X coordinate of the center of
gravity when a range is set.
−99999.9999 to 99999.9999
SY Ref. point Y (reference
point Y)
This is the Y coordinate of the center of
gravity when a range is set.
−99999.9999 to 99999.9999
Measured item Range of value Description
Judgement 0: Judgement is OK,
−1: Judgement is NG,
−13: Teaching not performed error,
−14: Figure not registered error,
−15: Out of range error
This is the measurement judgement results.
Area 0 to 99999.9999 This is the measured color area.
Gravity X −99999.9999 to 99999.9999 This is the detected center of gravity X coordinate.
Gravity Y −99999.9999 to 99999.9999 This is the detected center of gravity Y coordinate.