Home Programming

Discussion

Left ArrowBack to discussions page
MarieMarie Posts: 1 Recruit
Hello @Samuel_Bouchard could you please explain to me how did you manage to send a command/program the gripper to open and close using RoboDK on your video/post “Assembly Using Universal Robot and Robotiq Gripper + Force Torque Sensor”? 

I have been trying to move the gripper through roboDK but haven’t figured out yet how to!
I’ve made my simulation for a pick and place task, but I don’t know how to make the gripper close/open on robodk. 

Thank you beforehand and best regards!

Comments

  • David_GariepyDavid_Gariepy Beta Tester Beetle, Wrist Camera URCap 1.3.0, Vacuum Beta tester Posts: 189 Handy
    Hello Marie, 

    I never used RoboDK and it is not a software that we support so I can't really help here but i check to see what i could found
    The video has been posted on youtube by RoboTomo
    Here's his answer to someone's question: 
    In RoboDK, functions for moving the robot (for instance MoveJ) are generated by postprocessor to an urscript code with no problem, that means you can run the code directly from the PC - virtual robot and real robot move simultaneously. But RoboDK function for attach and detach Robotiq gripper is not generated (for example attach should be generated to rq_close), so you have to edit with script (add function in Robodk) and yes, also combine with teach pendant like in my case. In teach pendant you have to make "before start sequence" for communication which includes rq_before_start.script and rq_script.script - you can find those online, after this sequence you download robot program from RoboDK and execute it with teach pendant. But I think that with a little further investigation it is possible to combine before start sequence with main program in RoboDK and run the complete program directly from PC without having it combine with teach pendant.

    Basically, robotiq function are unknown to the robot even if the URCap is installed. The definition of these functions is loaded every time a program is run. Therefore, you have to send the definition with each commend you send to the robot. 

    The following post could help you create the script file you need to control the gripper: 

    https://dof.robotiq.com/discussion/1987/how-to-control-robotiq-product-through-port-30002-on-universal-robot#latest


    Hope that helps

    David Gariépy
    Integration Coach
Sign In or Register to comment.
Left ArrowBack to discussions page