Features
This is a function for retrieving the TCP information currently set in the robot controller. When there is no currently set information on a tool, an empty character string is returned.
Parameter
None
Return
|
Value |
Description |
|
string |
TCP Name |
Example
C++
string strTCP = drfl.get_tcp();
// Checks currently mounted TCP.
if (strTCP != “tcp#1) {
drfl.set_tcp(“tcp#1);
}