@gauravb
I see that you posted a similar question in another discussion:
https://dof.robotiq.com/discussion/2509/how-to-open-a-cap-of-bottle-using-robotiq-2f-85-gripper-and-ft-300-sensor
A support ticket (25182) have been open and our team gave some instructions. Do not hesite to reply to this ticket if you need more help.
I have a configuration where UR-5 robot is mounted with 2f-185 finger and FT-300 sensor. My task is to uncap a threaded cap. Since the last axis of UR robot is not having infinite rotation, after every 180 degree turn I am opening the gripper and moving up and going back to initial configuration and again repeating the same. Since the cap is threaded I need to move robot a little bit up along its tool axis after every turn so as to not to damage the gripper or cap. I have two options: One is to move robot a little up (along z axis of its tool) programmatically or setting the gripper (robot) in compliance mode along z axis. I am considering to go by option 2 as it looks more logical. Now I want to know how to achieve this? I have tried using FT mode but it didn't help or maybe I am doing something wrong. Please help.