Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

No public property 'TIMEOUT' for class 'Robolink error with MoveL()

#1
Exclamation
Hello, I have a Matlab script controlling RoboDK station (attached). I want to use robot.MoveL() function to move to target called '44'. But I am getting an error" No public property 'TIMEOUT' for class 'Robolink'."
Here is my code:
Code:
%RoboDK inititalization
RDK = Robolink;

path = RDK.getParam('PATH_LIBRARY');
fprintf('Available items in the station:\n');
%disp(RDK.ItemList());
robot = RDK.Item('UR5e');
tool = RDK.Item('RobotiQ 2F85');
fprintf('Robot selected:\t%s\n', robot.Name());
robot.setVisible(1);
frameref = robot.Parent();
fprintf('Robot reference selected:\t%s\n', frameref.Name());
object = RDK.Item('base');
fprintf('Object selected:\t%s\n', object.Name());

targetMap = [3,3];
valueRow = targetMap(1);
valueColumn = targetMap(2);
home = RDK.Item('44');
robot.MoveL(home);
while robot.Busy()
暂停(100);
fprintf('Waiting for the robot to finish...\n');
end

Here is my Command window log with error mesages:
Code:
>> analysis_test
机器人选择:UR5e
Robot reference selected: UR5e Base
Object selected: UR5e Base
No public property 'TIMEOUT' for class 'Robolink'.

Error in RobolinkItem/WaitMove (line 706)
set(this.link.COM,'Timeout', this.link.TIMEOUT);

Error in Robolink/moveX (line 272)
itemrobot.WaitMove();% checks connection

Error in RobolinkItem/MoveL (line 578)
this.link.moveX(target,this,2,blocking);

Error in analysis_test (line 20)
robot.MoveL(home);


Attached Files
.rdk robot_station7x7.rdk(Size: 3.51 MB / Downloads: 353)


Messages In This Thread
No public property 'TIMEOUT' for class 'Robolink error with MoveL() - bydamian.leporis- 05-23-2020, 11:04 PM



Users browsing this thread:
1 Guest(s)