Configuration
The integration and configuration of the "TCP/UDP RT" object is described here, starting from an existing TwinCAT project.
The "TCP/UDP RT" object is instantiated and configured. The configuration essentially consists of assigning the network card to be used.
Windows Firewall The Windows firewall cannot be used, since the TF6311 is directly integrated in the TwinCAT system. |
The "TCP/UDP RT" object also contributes some parameters, which are documented here.
“TCP/UDP RT” module configuration
- 1. Create the “TCP/UDP RT” module under the RT Ethernet adapter by selecting “Add Object(s)…” in the context menu.
- 2. Then select the “TCP/UDP RT” module:
- The TCP/UDP RT object is created under the adapter.
- 3. Parameterize the previously created instance of the module (here: Module1) under “Interface Pointer” “TcpProt” with the OID of the created “TCP/UDP RT” object:
- 4. For PLC projects this configuration is also done at the instance, under the tab “Symbol Initialization”:
- The configuration is thus completed
Disconnection by the operating system in Promiscuous mode If Promiscuous mode is active at the RT Ethernet adapter in the “Adapter” tab, any TCP connection attempts are blocked by the operating system, since it does not recognize a port opened in the TCP/UDP RT object. |
Further Information