07-13-2026, 10:19 PM
(This post was last modified: 07-13-2026, 10:20 PM by Muhammad Faizan Ahmed.)
Hello everyone,
I'm currently controlling Jaka Zu7 using Python script, running directly in RoboDK. Now, I want to control the OnRobot RG6 gripper which is attached to the robot. I tried to use the following command but it did not work.
Command: robot.setDO(0,1) # first value represents the digital ouput while second shows the control value
I also tried program.setDO(0,1) command and program = RDK.AddProgram(ProgramName) but it also did not work. Kindly guide me how can I control the gripper using python code. Looking forward to hearing from you all. Thank you
I'm currently controlling Jaka Zu7 using Python script, running directly in RoboDK. Now, I want to control the OnRobot RG6 gripper which is attached to the robot. I tried to use the following command but it did not work.
Command: robot.setDO(0,1) # first value represents the digital ouput while second shows the control value
I also tried program.setDO(0,1) command and program = RDK.AddProgram(ProgramName) but it also did not work. Kindly guide me how can I control the gripper using python code. Looking forward to hearing from you all. Thank you
