Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

1 Example project

There is not no EoE Example availebleavailable. Take the source from ECS simpleConfig Example and Socket Interface Example

...

ptConfigReq->tData.tBasicCfg.ulComponentInitialization |= ECAT_SET_CONFIG_DEVICEINFO | ECAT_SET_CONFIG_EOE;

3 ESI

Add in the ESI the EoE following EoE parameters to the ESI, in the Mailbox area:

<Mailbox DataLinkLayer="1">

...

Install the new ESI in TwinCAT.

Now the EoE can be seen in TwinCAT in the advanced settings.

...

The MAC and IP settings will be written to the slave with the following startup parameter.

There is no other way to set the IP to the EtherCAT Slave.

5

...

Application

To use the EoE in the application the socket API is necessary. Go to the Socket Interface Example for more application sourcecode:

...