Roboter Epson: Dist Function

Distanz zwischen zwei Punkten

Returns the distance between two robot points.

Syntax

Dist (point1, point2)

Parameters
point1, point2 Specifies two robot point expressions.

Return Values
Returns the distance between both points (real value in mm).

Description
Even if you are using the additional axis, only the robot travel distance is returned.
It doesn’t include the travel distance of additional axis while you use the additional axis as running axis.
For the Joint type robot, the return value of this function means nothing.

See Also
CU, CV, CW, CX, CY, CZ

Dist Function Example

Real distance
distance = Dist(P1, P2)