Skip to main content
Skip table of contents

CDRFLEx.add_tcp

Features

This is a function for using robot TCP information by registering it in advance for security reasons. The TCP information registered using this function should be reset after rebooting, as it is stored in the memory. However, if it is registered in the T/P application, it can be reused, as it is added in the initialization process.

Parameter

Parameter Name

Data Type

Default Value

Description

strSymbol

string

-

TCP Name

fPosition

float[6]

-

TCP Information

Return

Value

Description

0

Error

1

Success

Example

PY
float fTCP[6] = { 10, 10, 10, 0, 0, 0 };
// Registers TCP.
drfl.add_tcp("tcp#1", fTCP);

// Sets current TCP
drfl.set_tcp("tcpl#1");

// Releases registration of TCP.
drfl.del_tcp(“tcp#1);
JavaScript errors detected

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

If this problem persists, please contact our support.