RobotX2 Result
RobotX2 Result
Applies To
Vision Objects: Line
Description
Returns the X coordinate of the ending point position (X2) of a Line object in the robot coordinate system.
Usage
VGet Sequence.Object.RobotX2, var
Sequence Name of a sequence or string variable containing a sequence name.
Object Name of an object or string variable containing an object name. The object must exist in the
specified sequence.
var Real variable that will contain the value of the result.
Values
Real number in millimeters.
Remarks
Every line has a starting point and ending point. The RobotX1 and RobotX2 results represent the X
coordinates of the line starting point (X1, Y1) and end point (X2, Y2) of the specified Line object. Since
Line object starting and end points can be assigned to other vision objects, the (RobotX1, RobotY1) and
(RobotX2, RobotY2) coordinate pairs can actually be robot coordinate positions which match the RobotX
and RobotY results for other vision objects. (In other words if a Line object's endpoint is defined by a
Correlation object, then the (RobotX, RobotY) results from the Correlation object will match the (RobotX2,
RobotY2) results for the Line object.)
The RobotX2 result is always in millimeters in the robot coordinate system.
It should be noted that the RobotX2 result can only be calculated for vision sequences which have been
calibrated with the robot coordinate system. If no calibration has been assigned to the vision sequence then
using VGet to retreive the RobotX2 result will cause an error to occur.
See Also
Angle Result, Line Object, Object Tab, PixelX Result, PixelX1 Result, PixelY Result, PixelY1 Result,
PixelY2 Result, RobotX Result, RobotX1 Result, Robot|XYU Result, RobotY Result, RobotY1 Result,
RobotY2 Result, X1 Property, X2 Property, Y1 Property, Y2 Property
124 Vision Guide 5.0 Reference (Ver.5.3) Rev.1