Cancel
Showing results for 
Search instead for 
Did you mean: 

cannot reach robot location

Valued Contributor
Valued Contributor

Hi,

 

the Manipulate Location command is disabled when an unreachable location is selected.

 

there is any method to know the location cannot reach?

 

thanks

 

2018-08-15_153504.png

3 REPLIES 3
Highlighted

Re: cannot reach robot location

Phenom
Phenom

Hello @ErnestA

 

In the link below I posted how to jump a robot to a specific location. This procedure returns a TxJumpToLocationStatus, which you can use to know if a location can be reached or not. You can also check ITxRoboticControllerServices for additional functions that might be useful for you.

 

https://community.plm.automation.siemens.com/t5/Tecnomatix-Developer-Forum/How-to-use-JumpRobotToLoc...

Re: cannot reach robot location

Valued Contributor
Valued Contributor

Hello @FredCastro

 

Thanks for your answer.

 

the TxJumpToLocationStatus always return the Success, but the location config is changed. the Manipulate Location is Disabled when I selected the location, but the TxJumpToLocationStatus return the Success.

 

What could be the reason?

 

 TxOlpControllerUtilities txOlpControllerUtilities = new TxOlpControllerUtilities();
 ITxRoboticControllerServices txRoboticControllerServices = txOlpControllerUtilities.GetInterfaceImplementationFromController(
     robot.Controller.Name, typeof(ITxRoboticControllerServices), typeof(TxControllerAttribute), "ControllerName") as ITxRoboticControllerServices;

 if (txRoboticControllerServices == null)
 {
     txRoboticControllerServices = (ITxRoboticControllerServices)txOlpControllerUtilities.GetInterfaceImplementationFromController(
"default", typeof(ITxRoboticControllerServices), typeof(TxControllerAttribute), "ControllerName"); } if (txRoboticControllerServices != null) { txRoboticControllerServices.Init(robot); TxJumpToLocationData txJumpToLocationData = new TxJumpToLocationData(); //{ // GenerateMessage = true //}; TxJumpToLocationStatus txJumpToLocationStatus = TxJumpToLocationStatus.FailureNoLicense; txJumpToLocationStatus = txRoboticControllerServices.JumpToLocation(txRoboticLocationOperation, txJumpToLocationData);

Re: cannot reach robot location

Valued Contributor
Valued Contributor

thanks FredCastro, thanks DianaG

 

ReachTest