Skip to main content
Skip table of contents

CDRFLEx.get_tcp

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

CPP
string strTCP = drfl.get_tcp(); 
// Checks currently mounted TCP.
if (strTCP != “tcp#1) {
    drfl.set_tcp(“tcp#1); 
}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.