Robot.RestartTool Property

Gets the position and orientation offset for the tool or gripper of the robot that was set when the controller was restarted.

... Robot.RestartTool ( robot )

Prerequisites

None

Parameters

robot

An optional numeric expression that specifies the robot to be accessed (1-n).  If this value is 0 or unspecified, the Selected robot will be accessed.

Remarks

As a convenience, when the controller is restarted, the tool for each robot is automatically set equal to the position and orientation offset defined by its "Tool set at restart" (DataID 16051) value.  Since many applications utilize the same tool or gripper each day, this ensures that the Tool dimensions are correctly set when the system is restarted. This property returns a Cartesian Location value that is equal to the Tool dimensions that were set the last time that the system was restarted. Once set, these Tool dimensions can be easily modified using the Robot.Tool property.  See that property for additional information on the use and benefits of the Tool property.

Examples

Robot.Attached = 1
Robot.Tool = Robot.RestartTool() ' Set tool back to default

See Also

Robot Class | Robot.Tool