Omron F250-UME Software Manual page 631

Table of Contents

Advertisement

Calculation
Submenus
Function
ATAN
Calculates the arc tangent for the Y component/X component.
The result is given as a radian of
ATAN(Y component, X component)
Example: Set the following to calculate the angle between a
straight line joining the center of gravity for region 0 and the cen-
ter of gravity for region 1 and a horizontal line.
ATAN(R1.Y-R0.Y,R1.X-R0.X)
If both arguments are 0, the calculation result will also be 0 and
the judgement will be NG.
DIST
Calculates the distance between two points, such as the center of
gravity and the center of the model.
DIST(X coordinate of first point, Y coordinate of first point, X coor-
dinate of second point, Y coordinate of second point)
Example: Set the following to calculate the distance between the
center of gravity for region 0 and center of gravity for region 1.
DIST(R0.X,R0.Y,R1.X,R1.Y)
The following calculation is performed internally.
AND
Calculates the LOGICAL AND.
If one of the arguments is 0, the calculation result will be 0. Other
arguments will give
AND(argument 1, argument 2)
OR
Calculates the LOGICAL OR.
If both arguments are 0, the calculation result will be 0. Other
arguments will give
OR(argument 1, argument 2)
NOT
Calculates the LOGICAL NOT.
If the argument is 0, the calculation result will be
will be 0.
NOT(argument)
The following table shows the processing items that can be used in calcula-
tions.
Classification
Position com-
Binary position compensation
pensation items
EC position compensation
Edge position compensation
Model position compensation
Circle position compensation
Scroll
Meaning
-
2
R1.X R0.X
+
-
1.
-
1.
Processing item
Section 2-29
pi to pi.
2
R1.Y R0.Y
-
1. Otherwise it
Page
page 2-29-(11)
page 2-29-(11)
page 2-29-(13)
page 2-29-(13)
page 2-29-(14)
page 2-29-(14)
2-29-(9)

Advertisement

Table of Contents
loading

Table of Contents