Hello dear forum,
I have the following situation. I have created a code in RoboDK. I have just added it:
from robodk import robolink # RoboDK API
from robodk import robomath # Robot toolbox
RDK = robolink.Robolink()
robot = RDK.ItemUserPick(‘Wählen Sie den Roboter’, robolink.ITEM_TYPE_ROBOT)
if not robot.Valid():
print(“Kein Roboter ausgewählt oder verfügbar.”)
exit()
robot.RunInstruction(‘RG6(50, 40)’, 1)
robot.MoveJ(RDK.Item(‘PickApp’))
robot.RunInstruction(‘RG6(0, 40)’, 1)
robot.MoveJ(RDK.Item(‘HomePos’))
The problem I have is that everything works normally when I upload it to the robot and then run it in local mode.
But when I am in remote control and press the Python script in RoboDK on “Run on robot” the robot moves the arm, but leaves the gripper out. I have a connection, so the ping test is completed successfully.
Robot: URe5
Gripper: RG6 Onrobot
RoboDK v5.4.0 (64 bit)
It would safe a ton of time if this would work in remote controll succesfully.
Thank you in advance.