Elephant Robotics myCobot Pro 600 User Manual page 130

Table of Contents

Advertisement

Socket string format: get_speed()
example: get_speed()
the speed unit is mm/s
the return string is formated in key-value pair, the key is the funciton name,
the value is the value from robot, like this: get_speed:500. If any error occurred,
you will get get_speed:error_message
22 check the state of the robot
Socket string format: state_check()
example: state_check()
the return string is formated in key-value pair, the key is the funciton name,
the value is the value from robot, if the robot is in normal state, you will get:
state_check:1, if the robot is not in normal state, you will get: state_check:0. If
any error occurred, you will get get_speed:error_message
23 check if the robot is running
Socket string format: check_running()
example: check_running()
the return string is formated in key-value pair, the key is the funciton name,
the value is the value from robot, if the robot is running, you will get:
check_running:1, if the robot is not running, you will get: check_running:0. If
any error occurred, you will get get_speed:error_message
24 set the torque limit of the robot
Socket string format: set_torque_limit(axis,torque)
example: set_torque_limit(x,10.0)
the axis can be x,y or z
the unit of torque is N
the return string is formated in key-value pair, the key is the funciton name,
the value is the value from robot, like this: set_torque_limit:[ok]. If any error
occurred, you will get set_torque_limit:error_message.
25 open a g_code formated text file
Socket string format: program_open(file_path_name)
example: program_open(/usr/a,txt)
the return string is formated in key-value pair, the key is the funciton name,
the value is the value from robot, if success: program_open:0. If any error
occurred, you will get program_open:error_message.
26 run a g_code formated text file from the given line
130

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the myCobot Pro 600 and is the answer not in the manual?

Questions and answers

Table of Contents