06-07-2023, 01:29 PM
(This post was last modified: 06-07-2023, 01:41 PM byAymane.Edit Reason: Attached file missing
)
Hello,
我想知道是否存在一种方法连接the real robot to RoboDK as shown in the attachement without actually clicking on the "connect" button. Preferably, i want to initiate the connection from a python file. I'm open to all suggestions. Thanks in advance.
Context :
I'm running a python script on the robot from RoboDK, but mid-way i want to close a gripper (RG2 OnRobot). For this i created a small program on the robot which serves this exact purpose. Afterwards, in my main python script i used socket communication (Dashboard server) to load and run the program that closes the gripper. At this point, the connection between RoboDK and UR5 is lost (The DriverRoboDK is not running anymore). For this reason i'm trying to find a way to re establish the connection.
RoboDK : 5.6.0
Python : 3
UR5 : CB 3.15
我想知道是否存在一种方法连接the real robot to RoboDK as shown in the attachement without actually clicking on the "connect" button. Preferably, i want to initiate the connection from a python file. I'm open to all suggestions. Thanks in advance.
Context :
I'm running a python script on the robot from RoboDK, but mid-way i want to close a gripper (RG2 OnRobot). For this i created a small program on the robot which serves this exact purpose. Afterwards, in my main python script i used socket communication (Dashboard server) to load and run the program that closes the gripper. At this point, the connection between RoboDK and UR5 is lost (The DriverRoboDK is not running anymore). For this reason i'm trying to find a way to re establish the connection.
RoboDK : 5.6.0
Python : 3
UR5 : CB 3.15