Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Stäubli Driver
#1
Hey

I am facing the exact same problem within following thread: staubli tx40 comunication issues (robodk.com).
I can connect to the roboter, and also get the robot's position. When I move the robot with the controller, the movement is shown on the screen. 

But if I try to move the robot manually in roboDK, the robot doesn't move. Also if I try to use a program (for example the program SampleOnlineProgramming.py, from Robotertreiber - RoboDK Dokumentation). The error is attached bellow. Even if I just program a simple Script with 3 Movements and then try to "Run on Robot" - nothing happens. Neither an error is shown.

I also can't open the driver manually. I'm getting another error, also attached bellow.

How can I get my robot moving?

Thanks!


Attached Files Image(s)
       
#2
Hi Janis,

Are you using the latest version of RoboDK?

We improved the Stäubli driver recently. Can you try again with the latest version and let us know if you still have issues?
I recommend you to try connecting using the user interface first and show us the log if the connection fails.

Albert
#3
Hi Albert

Yes, i am working with the latest Version of RoboDK. I am able to connect to the robot through the user interface, i'm also gettin the green bar and the connection seems to be OK. It is also possible to get the real robots position on RoboDK - even if i move my robot with the controller manually, the position ist being updated in RoboDK. But I can not get my robot to move through RoboDK. And i don't get any error. 

Janis
#4
I'm still trying to find out, where the problem is.

Attached is a picture of the log. As you can see, RoboDK tries to send a command, but the roboter is not moving at all...


Attached Files Thumbnail(s)
   
#5
I found it out!
For anyone who may be facing the same problem:
Stäubli has a file named /usr/configs/iomap.cfx (you have to create it, if it doesn't exist),
which includes settings about the remote-access and other stuff.

The Code has to look like this

Code:
<?xml version="1.0" encoding="utf-8">
<IoMap>
<String name="enablePower" type="din" value="DE55... (link of input)">
</IoMap>


The value of the string "enablePower" has to be the link to a physical address on the robotcontroller. If you are in the remote mode and a rising edge is detected on this physical address, the state of the arm power will toggle. Since the Stäubli Driver does not work with setting digital inputs (maybe in the future?), you have to set the value on this physical link with something other than RoboDK (maybe a button or a trigger attached to your robotercontroller).
#6
This is great feedback. We'll add the option to customize this. @Phillip will get back to you with an update in the next few days.

Thank you

Albert
  




Users browsing this thread:
1 Guest(s)