Omron XPECTIA FZ3 User Manual page 337

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

Advertisement

AND (operand 1, operand
2)
OR (operand 1, operand
2)
NOT (operand)
ABS (operand)
MAX (operand 1, operand
2)
MIN (operand 1, operand
2)
MOD (dividend, divisor)
SQRT (operand)
ANGL (Y-axis
component, X-axis
component)
ANGL (first linear
coefficient A, first linear
coefficient B, first linear
coefficient C, second
linear coefficient A,
second linear coefficient
B, second linear
coefficient C)
DIST (X-coordinate of first
point, Y-coordinate of first
point, X-coordinate of
second point,
Y-coordinate of second
point)
FZ3 Processing Items List Manual
Calculates the logical product.
When one of two operands is 0, calculation will return a result of 0, and for all
other cases, will return a result of -1.
Calculates the logical sum.
When both operands are 0, calculation will return a result of 0 and for all other
cases, will return a result of -1.
Calculates the logical NOT.
When the operands equal 0, calculation will return a result of -1 and for all other
cases, will return a result of 0 be returned.
Calculates the absolute value.
The larger of 2 operands will be returned.
The smaller of 2 operands will be returned.
Calculates the remainder when dividing the dividend with the divisor.
To calculate the remainder, if the number being used is a real number, round
off the portion after the decimal point of the real number and then execute the
calculation. The result is the remainder after division of the integer.
(Example)
MOD (13.4) Result: 1 (the remainder when dividing 13 by 4)
MOD (25.68,6.99) Result: 5 (the remainder when dividing 26 by 7)
Calculates the square root.
When the operand is a negative number, calculation will return a result of 0.
Judgement will be NG.
Calculates the angle made by straight line that connects 2 points (center of
gravity/center of model).
Calculates the angle relative to the horizontal line. The result will be returned
within the range of -180 to 180.
Data of 2 lines is used to obtain the angle formed by the 2 lines.
(Example) Use line data at scan edge position 1 and scan edge position 2 to
obtain the angle formed by the two lines
ANGL (U1.A, U1.B, U1.C, U2.A, U2.B,U2.C)
Calculates the distance between 2 points (center of gravity/center of model).
Calculation
335
4

Advertisement

Table of Contents
loading

Table of Contents