CDRFLEx.set_tcp
Features
This is a function for setting the information on the TCP currently mounted among the TCP information registered in the robot controller in advance. When there is currently no TCP mounted, if an empty character string is delivered, the currently set information is initialized.
Parameter
Parameter Name | Data Type | Default Value | Description |
strSymbol | string | - | Tool Name |
Return
Value | Description |
0 | Error |
1 | Success |
Example
drfl.set_tcp(“tcp#1);
float point[6] = { 756.6f, 511.6f, 876.0f, 44.5f, 86.7f, 55.7f };
float vel[2] = {30, 0 };
float acc[2] = {30, 0 };
drfl.MoveL(point, vel, vel);