Skip to main content
Skip table of contents

CDRFLEx.open_connection

Features

This is a function for connecting with the robot controller using TCP/IP communication. As TCP/IP is internally fixed, there is no need to designate it separately. When two or more robot controllers are used, the IP address should be changed in the T/P application.

Parameter

Parameter Name

Data Type

Default Value

Description

strIpAddr

string

“192.168.137.100”

Controller IP

Return

Value

Description

0

Error

1

Success

Example

PY
CDRFLEx drfl;
bool bConnected = drfl.open_connection("192.168.137.100");
if (bConnected) {
	SYSTEM_VERSION tSysVerion = {'\0', };
	Drfl.get_system_version(&tSysVerion)
	cout << "System version: " << tSysVerion._szController << endl;
}

JavaScript errors detected

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

If this problem persists, please contact our support.