User Tools

Site Tools


eeros_architecture:ethercat:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
eeros_architecture:ethercat:start [2019/04/01 16:32] gehrigeeros_architecture:ethercat:start [2019/04/16 11:26] (current) – removed gehrig
Line 1: Line 1:
-====== EhterCAT ====== 
-===== Overview ===== 
-Understanding the inner working of EtherCAT is crucial for using EtherCAT effectively. 
-Read [[https://wiki.ntb.ch/infoportal/embedded_systems/ethercat/understanding_ethercat | this article]] to get a better understanding of EtherCAT. 
- 
-==== Components ===== 
-In order to use an EEROS application with EtherCAT, the following components are required: 
- * **EEROS**: The robotic framework 
-  * **EtherCAT stack**: The EtherCAT stack from Acontis. Detailed describtion [[https://wiki.ntb.ch/infoportal/embedded_systems/ethercat/understanding_acontis | here]] 
-  * **ecmasterlib**: This library provides an easy interface to the EtherCAT stack. The library initializes the stack and takes over the periodic sending and receiving of the bus data. It provides the following interfaces: 
-    * **EtherCATInterfaceBase**: Basic interface for //ecmasterlib// 
-    * **EtherCATInterfaceElmo**: Based on //EtherCATInterfaceBase//. An interface designed for Elmo drives. You may need to implement your own interface for different drives. 
-  
- 
- 
-===== Preperations ===== 
-==== Install EtherCAT ==== 
-First, read [[https://wiki.ntb.ch/infoportal/embedded_systems/ethercat/start | this]] article on how to install EtherCAT on your system and how to run a demo application without EEROS. 
- 
-If the demo application runs successfully, you can write your own EEROS application with EtherCAT. 
- 
- 
-==== Install EEROS ==== 
-Once the EtherCAT stack has been installed and the demo application is running, the //ecmasterlib// can be installed. 
- 
-Clone, build and install //ecmasterlib// 
-TODO:  
-<code> 
-$ cd path/to/working/directory 
-$ git clone url-to-ecmasterlib 
-$ cd ecmasterlib 
-$ mkdir build-x86-64 
-$ cd build-x86-64 
-$ cmake -DCMAKE_INSTALL_PREFIX=/absolute/path/to/working/directory/install-x86-64 .. 
-$ make 
-$ make install 
-</code> 
- 
-Build and install EEROS after you have installed //ecmasterlib// 
-Install EEROS as described in [[getting_started:compile_eeros|this tutorial]], but use the command line option ''-DUSE_ETHERCAT=TRUE'' when calling cmake. 
-<code> 
-... 
-cmake -DCMAKE_INSTALL_PREFIX=/absolute/path/to/working/directory/install-x86-64 -DUSE_ETHERCAT=TRUE .. 
-... 
-</code> 
- 
- 
  
eeros_architecture/ethercat/start.1554129129.txt.gz · Last modified: 2019/04/01 16:32 by gehrig