Elephant Robotics myCobot Pro 600 User Manual page 127

Table of Contents

Advertisement

5 set the coordinates of robot
Socket string format: set_coords(axis_x_coord, axis_y_coord,axis_z_coord,
axis_rx_coord, axis_ry_coord, axis_rz_coord,speed)
Example: set_coords(10.0,11.0,12.2,12.3,.11.1,16.0,500)
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_coords:[ok]. If any error
occurred, you will get set_coords:error_message.
6 set the coordinate of one axis
Socket string format: set_coord(axis,coordinate ,speed)
example: set_coord(x,50.5,500)
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_coord:[ok]. If any error
occurred, you will get set_coord:error_message.
7 get the signal of digital out pin
Socket string format: get_digital_out(pin_number)
example: get_digital_out(1) 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_digital_out:1. If any error occurred, you will get get_digital_out:
error_message.
8 set the signal of digital out pin
Socket string format: set_digital_out(pin_number,signal)
example: set_digital_out(1,1)
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_digital_out:[ok]. If any error
occurred, you will get set_digital_out:error_message.
9 get the signal of digital in pin
Socket string format: get_digital_in(pin_number)
example: get_digital_in(1)
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_digital_in:1. If any error
occurred, you will get get_digital_in:error_message.
10 set the signal of analog out pin
Socket string format: set_analog_out(pin_number,signal)
example: set_digital_out(1,1.5)
127

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