IPSocket OpIPSocketCtrl

Documentation Home Page RT-LAB Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

IPSocket OpIPSocketCtrl

Block

Mask

Description

The OpIPSocketCtrl block is used to control TCP/IP or UDP/IP communication with third-party applications by the use of an Asynchronous Process launched during model initialization.

The block parameters allow the user to set up the specific communication parameters with the remote device. The communication port of this remote device must be enabled before the Asynchronous Process is started, i.e before the RT-LAB model is loaded on the target computer.

Data reception and transmission is managed by OpAsyncSend and OpAsyncRecv blocks.

Parameters

Controller ID

This ID number, in the range 0 to 255, is used to uniquely identify one communication process. OpAsyncSend and OpAsyncRecv blocks associated with this communication process will share the same Controller ID.

Protocol

This popup menu enables the user to choose between TCP/IP and UDP/IP protocol.

Remote Adress

Enter the IP adress of the computer you want to communicate with.

Remote Port

Enter the port number of the remote computer you want to communicate with. The port number must be in the range 0 to 65535.

Local Port

Enter the port number of the local computer (the RT-LAB target node). The port number must be in the range 0 to 65535.

Multi-Cast Group

If you want to receive data from a multicast group with UDP/IP protocol, enter the multicast address. Enter 0.0.0.0 to disable the multicasting.

Name of the executable

Name of the executable file of the asynchronous application that handles the low-level communication transactions. Note: the executable must be found on the target during model initialization. It can be located either in the model directory or on the system path.



Inputs

This block has no inputs.

Outputs

This block has no outputs.

Characteristics and Limitations

Direct Feedthrough

No

Discrete sample time

No

XHP support

No

Work offline

No

OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323
Follow OPAL-RT: LinkedIn | Facebook | YouTube | X/Twitter