Expression Usage Examples - Omron XPECTIA FZ3 User Manual

Vision sensor
Hide thumbs Also See for XPECTIA FZ3:
Table of Contents

Advertisement

DIST (Linear coefficient
A, linear coefficient B,
linear coefficient C, X
coordinate, Y coordinate)
X (first linear coefficient
A, first linear coefficient B,
first linear coefficient C,
second linear coefficient
A, second linear
coefficient B, second
linear coefficient C)
4
Y (first linear coefficient
A, first linear coefficient B,
first linear coefficient C,
second linear coefficient
A, second linear
coefficient B, second
linear coefficient C)

Expression Usage Examples

Perform Judgement by Combining Unit Judgement Results
Example 2: Perform judgement by combining the judgement results of unit 0 and unit 1
If a judgement of OK for both unit 0 and unit 1 is achieved, a judgement of OK for the calculation will be
achieved.
Step
1: The sum of the judgement results (U0.JG, U1.JG) for unit 0 and unit 1 is set in the
expression.
The sum of adding the judgement value (1: OK/-1: NG) based on the unit 0 judgement conditions and
the judgement value (1: OK/-1: NG) based on the unit 1 judgement conditions is displayed in "Result".
Step
2: The expression result of step 1 is judged based on judgement upper and lower limits.
When "2" is set for both the judgement upper and lower limits, the calculation judgement of OK is
336
Calculation
A line and a point are specified to obtain the vertical distance between the line
and point.
(Example) Obtain the distance between the linear regression at scan edge
position 1 and edge position 2
X (U1.A, U1.B, U1.C, U2.X, U2.Y)
Calculates intersection (X coordinate) of data for 2 lines
(Example) Obtain the X coordinate of the intersection between the lines at scan
edge position 1 and scan edge position 2
X (U1.A, U1.B, U1.C, U2.A, U2.B, U2.C)
Calculates intersection (Y coordinate) of data for 2 lines
(Example) Obtain the Y coordinate of the intersection between the lines at scan
edge position 1 and scan edge position 2
Y (U1.A, U1.B, U1.C, U2.A, U2.B, U2.C)
FZ3 Processing Items List Manual

Advertisement

Table of Contents
loading

Table of Contents