Click or drag to resize
MechanismCanReachAsync Method (RsRobTarget, RsWorkObject, RsToolData)
Checks if the specified target position can be reached with the specified tool. A mechanism can often reach the specified target with different arm configurations. This method returns true as long as there is at least one arm configuration with which the robot can reach the target.

Namespace:  ABB.Robotics.RobotStudio.Stations
Assembly:  ABB.Robotics.RobotStudio.Stations (in ABB.Robotics.RobotStudio.Stations.dll) Version: 7.0.8747.636
Syntax
C#
public Task<bool> CanReachAsync(
	RsRobTarget robTarget,
	RsWorkObject workObject,
	RsToolData tool
)

Parameters

robTarget
Type: ABB.Robotics.RobotStudio.StationsRsRobTarget
The target position. This is the position that shall coincide with the tool.
workObject
Type: ABB.Robotics.RobotStudio.StationsRsWorkObject
The workobject to use.
tool
Type: ABB.Robotics.RobotStudio.StationsRsToolData
The tool that should coincide with the target. The RobotHold property is used to determine if the tool is stationary or held by the robot.

Return Value

Type: TaskBoolean
True, if the mechanism can move to the target position, otherwise false.
Version Information

Supported in: 1.0.0.0
See Also