![background image](http://html1.mh-extra.com/html/omron/fq2-s-ch-series/fq2-s-ch-series_user-manual_742878332.webp)
Calculations and Judgments Using Inspection Item Data
330
FQ2-S/CH User’s Manual
Setting Judgment Parameters for Expressions
SQRT
Finds the square root.
If the argument is negative, the result is 0. The judgement will be NG.
SQRT
(argument)
DIST
• Finds the distance between two points (the center of gravity and the center of the model).
DIST
(first_position_X, first_position_Y, second_position_X, second_position_Y
)
Example: Finding the distance between the centers of gravity of region 0 and region 1
DIST
(R0.X,R0.Y,R1.X,R1.Y)
The following calculation is performed internally.
• Finds the length of a perpendicular line from point (x,y) to line ax + by + c = 0.
DIST
(X_coordinate_of_point, Y_coordinate_of_point, coefficient_a_of_line, coefficient_b_of_line,
coefficient_c_of_line)
1
Press [Judgement] on the [Settings] Tab Page.
2
Press an expression between 0 to 31 and set
the corresponding judgement parameters us-
ing the slider.
3
Press the [OK] Button.
Function
Description
( R 1 . X
−
R 0 . X )
2
+
( R 1 . Y
−
R 0 . Y )
2
Summary of Contents for FQ2-S/CH Series
Page 1: ...User s Manual Smart Camera FQ2 S CH Series Cat No Z337 E1 06...
Page 12: ...10 FQ2 S CH User s Manual MEMO...
Page 74: ...Setting Up Ethernet 72 FQ2 S CH User s Manual MEMO...
Page 366: ...Editing the Model Region Measurement Region from Run Mode 364 FQ2 S CH User s Manual MEMO...
Page 432: ...Functions Related to the System 430 FQ2 S CH User s Manual MEMO...
Page 587: ...Index FQ2 S CH User s Manual 585 Index 9...
Page 589: ......