The SockRaw Link Layer is always part of the EC-Master for Linux package. It does not need the atemsys driver and uses already established Ethernet adapters, e.g. eth0, eth1, etc. It is strongly recommended to use a separate network adapter to connect EtherCAT devices. If the main network adapter is used for both EtherCAT devices and the local area network there may be a main impact on the local area network operation.
The SockRaw cannot be used for real time applications and may need cycle time of 4 ms or higher. Root privileges are required.
The parameters to the SockRaw Link Layer are setup-specific. The function
EcSelectLinkLayer.cpp demonstrates how to initialize the Link Layer instance.
Common link parameters. Signature must be set to EC_LINK_PARMS_SIGNATURE_SOCKRAW
Native ETH device name, e.g. “eth0” (zero terminated)
Prevent adding Ethernet padding to work-around EtherCAT corruption bugs from native Linux driver(s).