Click or drag to resize
RsTargetJumpToAsync Method (RsToolData, Boolean, ConfigurationMode)
Jumps the tool and the attached robot to the target. Optionally updates the joint values in the virtual controller. Updating the joint values in the controller is time consuning compared to only updating the Mechanism joint value. If you need to frequently call this method, it is recomended to update the joint values in the controller, only for the last call.

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<JumpResult> JumpToAsync(
	RsToolData tool,
	bool updateController,
	ConfigurationMode cfgMode
)

Parameters

tool
Type: ABB.Robotics.RobotStudio.StationsRsToolData
The tool data to perform the jump with
updateController
Type: SystemBoolean
Specifies if the joint values in the controller shall be updated in addition to the joint values of the mechanism.
cfgMode
Type: ABB.Robotics.RobotStudio.StationsConfigurationMode
Specifies how the arm configuration stored in the target shall be used. In this case this method returns true only if the mechanism can move to the specified target with its specified arm configuration.

Return Value

Type: TaskJumpResult
Examples
JumpTo Target.
Jump To Target Example
Project.UndoContext.BeginUndoStep("Jump To Target");
try
{
    // Instance active station.
    Station stn = Station.ActiveStation;

    // Get a target.
    RsTarget target = stn.ActiveTask.Targets[0];

    // Jump to the target. Requires an active tool in the station and a running VC.
    target.JumpTo(stn.ActiveTask.ActiveTool);
}
catch
{
    Project.UndoContext.CancelUndoStep(CancelUndoStepType.Rollback);
    throw;
}
finally
{
    Project.UndoContext.EndUndoStep();
}
Version Information

Supported in: 1.0.0.0
See Also