Slave sample code, Workshop, 3 workshop – BECKHOFF EL9820 Evaluation Kits User Manual
Page 8: 2 slave sample code

Product overview
6
EL9820
2.2.2 Slave Sample Code
The EtherCAT Slave Sample Code is an example sourc
e code in ANSI C supporting both the μC and the
SPI interface. The code serves as a development base for implementation of EtherCAT in devices with
own processor.
EtherCAT handling in the controller
handling of the state machine
mailbox handling
protocol handling for:
o CoE (CANopen over EtherCAT)
o FoE (File Access over EtherCAT)
sample applications for all variants
2.3 Workshop
For the evaluation kit EL9820 the workshop TR8100 can be ordered additionally. This workshop is al-
ready included in the evaluation kit EL9821.
The workshop TR8100 is focused on Slave-Developers and treats the topics:
hardware for EtherCAT
TwinCAT 2.10 installation, including drivers and EtherCAT protocol
TwinCAT introduction
process data interfaces (PDIs):
o 8/16 bit microcontroller interface
o 32 bit digital I/O
o SPI interface
PDI timing
Slave Sample Source Code
EtherCAT Slave Controller: ASICs ET1100 and ET1200 and EtherCAT IP Core
network monitor
device description file (XML file)
Training location: Verl, Germany; duration: 1 day