Setting up: Device Ethernet and TCP/IP notes

Table of contents

• Explanation of TCP/IP v4
• Application CU2508
• Settings for the dedicated TCP/IP port
• EoE settings

Explanation TCP/IP v4

TransmissionControlProtocol/InternetProtocol (TCP/IP) is the name given to a bundle of procedures from the 1970s, which defines a packet-mediated forwarding of data. This mediation procedure is used in contemporary everyday communication, in particular on the Ethernet physics (e.g. Fast Ethernet, Gbit) and the hardware-orientated MAC addressing normally used there. The basic principles of this set are

The Windows operating system manages TCP/IP communication with its Ethernet adapters in the so-called NDIS network mediation layer. The adapter settings can be accessed via the Windows Control Panel->Network Settings or the Windows CE CXconfig tool from Beckhoff.

These circumstances make TCP/IP-supported communication unsuitable for an application with higher real-time requirements, but very suitable for flexible (variable) connections via many hubs (intermediate stations) with an arbitrarily high data traffic.

Application CU2508

Two methods are available if TCP/IP frames are to be transmitted via the CU2508 (with no real-time requirement):

The setting is made in the Ports tab for the CU2508 and does not change the mode of operation of the CU2508, but only the handling of TCP/IP Frames in the CU2508 driver.

Setting up: Device Ethernet and TCP/IP notes 1:
Setting the TCP/IP operating mode

It is not possible to operate the CU2508 as an independent switch with forwarding rules according to MAC rules (switch) or IP rules (router).

Settings for the dedicated TCP/IP port

The specified CU2508 port (100Mbit/FastEthernet) is then connected directly to the Windows network mediation layer; real-time operation of this port is no longer possible. Free TCP/IP network traffic is then no longer possible on the other CU2508 ports.

Notes

Setting up: Device Ethernet and TCP/IP notes 2:
Declaration of a CU2508 downlink port as a TCP/IP port

EoE settings

The virtual EoE switch of the CU2508 driver is tied into the CU2508 Ethernet adapter and accessible in the Switch tab of the RT Ethernet adapter. The VirtualEthernetSwitch is activated automatically if devices that use Ethernet-over-EtherCAT are used in the lower-level EtherCAT systems - the numbers of max. frames and ports are adapted accordingly.

Notes

Setting up: Device Ethernet and TCP/IP notes 3:
Flow of data when using the CU2508 as an EoE switch

The switch settings for the EoE mediation are accessible in the System Manager, see fig. EoE switch settings. The limit values are adapted automatically to the types and numbers of the devices during the creation of the configuration.

Setting up: Device Ethernet and TCP/IP notes 4:
EoE switch settings

Name

Explanation

Max. Ports

Number of ports of the virtual switch. Each EoE device (e.g. EL6601, AX5000) in the lower-level EtherCAT systems occupies one port.

Max Frames

Max. number of temporarily stored Ethernet frames. Can be increased if there are noticeable throughput bottlenecks.

Max MAC Ids

MAC addresses of the connected devices stored in the internal Switch-Look-Up table. Must be larger than the maximum number of Ethernet devices ever connected to all systems.

Connect to TCP/IP Stack

Connects the EoE switch to the internal Windows NDIS network layer
IP range must thereby correspond

IP Enable Router

This function is provided by the Windows operating system and is accessible via the registry or, in the case of embedded CX systems under Windows CE/WEC, via the CX-config tool.

If activated, the NDIS network layer also mediates IP packets whose IP addresses do not correspond to the subnet mask .