Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added Note about writing to EEPROM.

...

Platform

Supported

atmega2560YES

NO*

stm32f103rb

YES

linux

YES

rl78/g14

YES (disable logging)

lpc55s69

YES

Info

*This example doesn’t start properly due to insufficient RAM.

Establish a connection

To establish a cyclic connection you can use the Industrial Communication Explorer. Flash the device (see here), connect it to your computer and start the Industrial Communication Explorer.

Note

The content of the EEPROM of the SoM must match the appropriate application. Please refer to this page, to write the ESI to the EEPROM to ensure full EtherCAT functionality.

  • Click right on your network interface and choose “Enable EtherCAT” as shown in the figure.

...

  • Click the button “Scan Network” to find the device.

...

  • Choose the found device in “Network Navigator”, choose the tab “EtherNet/IP Master” and click “Scan Device”.

...

This EtherCAT example demonstates a simple EtherCAT slave. By default no data mapper is used. It contains two five each 32 bit wide objects (0x2000, 0x2001, 0x200D, 0x200E, 0x200F) - 0x2000 and 0x2001 are mapped to each a receive and a transmit PDO. Additionally, the feature EtherCAT Distributed Clocks (DC) will be activated, if the platform supports it. The DC Sync signals increment two application variables triggered by an interrupt on the platform.

...