RobotX3 Result
Applies To
Vision Object: BoxFinder
Description
Returns the X (X3) coordinate position for corner points of rectangles detected in a robot coordinate system.
Usage
VGet Sequence.Object.RobotX3[(result)], 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.
- result
- Optional result number. If omitted, the result number is the CurrentResult. Used for objects that return multiple results.
Values
Real number in millimeters.
Remarks
The robot coordinates for the four corners of a rectangle can be retrieved as Robot X1, 2, 3, 4 results and Robot Y1, 2, 3, 4 results. RobotX3 is used to retrieve the X coordinate for the Corner3 point shown in the diagram below.
The Robot X3 result always displays the position of the robot coordinates in millimeters.
It should be noted that the RobotX3 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 the RobotX3 result will cause an error.
See Also
RobotX1 Result, RobotX2 Result, RobotY1 Result, RobotY2 Result, RobotY3 Result, RobotX4 Result, RobotY4 Result, BoxFinder Object