5.24. emllRemote

The emllRemote is used to tunnel EtherCAT frames within a TCP socket between EC-Master and EC-Simulator.

The parameters to the Remote Driver are setup-specific. The function CreateLinkParmsFromCmdLineRemote() in EcSelectLinkLayer.cpp demonstrates how to initialize the driver instance.

Public Members

Common link parameters. Signature must be set to EC_LINK_PARMS_SIGNATURE_REMOTE

Socket type. Must be set to 1 (emrassocktype_tcp)

Source adapter IP address (listen)

Source port number (listen)

Destination adapter IP address (connect)

Destination port number (connect)

MAC address

Frame buffer count for interrupt service thread (IST)

While EC-Master listens on the given port using emllRemote, the EC-Master can connect to it using emllRemote.

EcSimulatorHilDemo command line example:
EcSimulatorHilDemo -remote 1 0 0.0.0.0 10001 0.0.0.0 0 -f eni.xml
EcMasterDemo command line example:
EcMasterDemo -remote 1 1 0.0.0.0 0 127.0.0.1 10001