1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-23 00:00:01 +01:00
VILLASnode/documentation/clients/OPAL.md

35 lines
1.2 KiB
Markdown
Raw Normal View History

2015-09-22 15:27:23 +02:00
# OPAL-RT Asynchronous Process {#opal}
The communication between OPAL-RT models and the S2SS is established by using ansychronous programs.
Asynchronous programs are are a feature of RT-LAB. They are used to exchange data between Simulink models and custom C programs.
For this purpose the C program handels IP/UDP communication via BSD sockets.
## Configuration
2015-09-22 15:27:23 +02:00
Every `opal` node supports the following special settings:
2015-09-22 15:27:23 +02:00
#### `send_id` *(integer)*
2015-09-22 15:27:23 +02:00
#### `recv_id` *(integer)*
#### `reply` *(boolean)*
## Arguments for OPAL-RT block
RT-LAB already provides a block to establish simple TCP/IP communication: ???
This block is based on a more generic block used for aynchronous programs: ???
@todo Insert name of RT-LAB blocks.
| Param | Description | Example Value |
| :------------- | :------------ |:-------------- |
| FloatParam[0] | Protocol | |
| FloatParam[1] | RemotePort | 10200 |
| FloatParam[2] | LocalPort | 10201 |
| StringParam[0] | RemoteAddr | 192.168.0.10 |
| StringParam[1] | LocalAddr | 192.168.0.11 |
| StringParam[2] | InterfaceName | eth2 |
@todo Complete documentation for the OPAL-RT Simulink module.