Breadcrumbs

CDRFLEx.connect_rt_control

Features

This function connects to robot controller via Real-time External Control.

Parameter

Parameter Name

Data Type

Default Value

Description

strIPAddr

string

192.168.137.100

IP Address

usPort

unsigned int

12347

Port Number

Note

  • Real-time external control uses udp/ip communication.

  • This channel is independent from the original tcp/ip api. It doesn’t care control authority.

  • For the integrated controller (v3), versions v3.3 or below can be connected to 192.168.137.50.

Caution

Currently, 1 and 1 communication is allowed.

Return

Value

Description

1

The condition is True

0

The condition is False

Example

C++
Drfl.connect_rt_control(); //connect udp. if your controller version is below v3.2.2, ip address will be 192.168.137.50.