Ethercat SDK Provided by Rt-Labs: Visit Us at
Ethercat SDK Provided by Rt-Labs: Visit Us at
Visit us at :
http://www.rt-labs.com/
https://github.com/OpenEtherCATsociety
EtherCAT the simple way
Get here:
Add the SOES slave stack project
File->Import->General->Existing Projects into workspace->Select archive file
Get here:
Create the EtherCAT slave application
File->New->DAVE Project-><Projet Type of your choice>
Choose XMC4300 or XMC4800
Link the the slave stack project
File->Import->General->File system, check ”Create links in workspace”
Add slave stack includes
<Project>->Properties->C/C++ Build->Settings
EtherCAT SDK - Slave editor project
File->Other->EtherCAT->EtherCAT Slave Description
Slave editor project (2)
Create a slave description project file and whre to place it.
Slave editor project (3)
Enter the base parameters
Slave editor project (4)
Slave TAB: Edit and add base parameters
Slave editor project (5)
Configuartion TAB: Basic configuration setting
Slave editor project (6)
EEPROM TAB: Use this PDI Control settings, they’re aligned with ReadOnly ESC
values.
Slave editor project (7)
Application TAB: Add application IO for PDO range 0x6000 and 0x7000, parameters
for 0x8000.
Slave editor project (8)
Object Dictionary TAB: Overview of the resulting Object Dictinay
Slave editor project (9)
Generate output: - for ESI data XML & EEPROM, - C code, Object Dictionary &
Slave application
Slave editor project (10)
Generated output:
linked
Create linkable EEPROM and link
Add and pre-build option to copy and create a linkable object file.
The only required change is to add your EEPROM bin in the copy command, eg.
replace xmc4300_slave.bin with your name.
• To continue editing, just double click the Slave Editor project file, re-generate the
code, build and debug.