Omron FH-3 Series Reference Manual page 625

Vision sensor fh/fz5 series
Hide thumbs Also See for FH-3 Series:
Table of Contents

Advertisement

e
Function Button Area
Buttons for inputting functions.
Function
SIN (equation)
COS (equation)
ATAN (Y-axis component,
X-axis component)
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)
FH/FZ5 Processing Item Function Reference Manual
Calculates the sine. The result will be returned within the range of -1 to 1.
Indicates the angle designated in the numerical expression in degrees.
Calculates the cosine. The result will be returned within the range of -1 to 1.
Indicates the angle designated in the numerical expression in degrees.
Calculates the arc tangent of the Y-axis component/X-axis component.
The result will be returned in radians within the range of -π and π.
(Example)
For calculation of the angle between the X axis and the straight line that joins the
centers of gravity of region 0 and region 1.
ATAN ( R1.Y-R0.Y, R1.X-R0.X)
When both operands equal 0, calculation will return a result of 0 and OK will
display.
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 X axis. The result will be returned within the
range of -180 to 180.
(Example) When calculating the angle produced by the straight lines that join
the gravity of Area 0 and that Area 1
ANGL (R1.Y-R0.Y, R1.X-R0.X)
(X axis)
Point 1
Point 2
When both the two operands are equal to 0, "0" will be returned, and the judge
will become NG.
Description
4
623
Calculation

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents