DISTANCE real-valued function DISTANCE real-valued function Syntax DISTANCE (location_1, location_2) Function Determine the distance between the points defined by two location values. Parameter location_1 Transformation value that defines the first point of interest. This can be a function, a variable, or a compound transformation. location_2 Transformation value that defines the second point of interest. This can be a function, a variable, or a compound transformation. Details Returns the distance in millimeters between the points defined by the two specified locations. The order in which the locations are specified does not matter.
Also, the orientations defined by the locations have no effect on the value returned. Example The statement x = DISTANCE(HERE, part) sets the value of the real variable x to be the distance between where the robot tool point is currently located and the point defined by the transformation part. Related Keyword IDENTICAL real-valued function eV+Language Reference Guide, v2.x, 18319-000 Rev A Page 179