IgH EtherCAT Master for Linux
Go to file
Florian Pose 2543cc55bd Version 1.6.8: Fixed FAKE_EC_HOMEDIR usage. 2025-10-06 17:15:04 +02:00
devices Fix igb for opensuse 15.6 (kernel 6.4) 2025-07-01 10:15:20 +02:00
documentation doc: fix references to init scripts 2025-02-17 12:45:41 +01:00
doxygen-layout@0f7d719f77 Remove datetime from footer for reproducible builds. 2024-10-14 09:30:26 +02:00
examples Implemented new timer interface for mini example since kernel 6.15. 2025-06-10 11:53:59 +02:00
fake_lib Version 1.6.8: Fixed FAKE_EC_HOMEDIR usage. 2025-10-06 17:15:04 +02:00
include Reviewed API usage. 2024-06-06 15:07:25 +02:00
lib Remove unnecessary inline statement causing build -O0 problems 2024-11-18 10:54:00 +01:00
master Switched from hrtimer_init() to hrtimer_setup() with Linux 6.15. 2025-06-10 12:08:09 +02:00
script Update init.d support 2025-02-17 12:45:39 +01:00
tool Using uint(x) as datatype in EtherLab Pdos output. 2025-06-27 10:16:04 +02:00
tty tty/module.c: fix ec_tty_send_xchar() prototype for Linux >= 6.8 2024-12-31 10:42:49 +01:00
.clang-format Clang-formatted fake library. 2025-07-24 11:49:14 +02:00
.gitignore Update init.d support 2025-02-17 12:45:39 +01:00
.gitlab-ci.yml Merge branch 'add_fake_library' into 'stable-1.6' 2024-07-26 11:18:49 +00:00
.gitmodules Use IgH doxygen theme 2022-11-16 10:31:01 +01:00
.hgignore update ccat driver to v0.14 2015-11-05 16:54:49 +01:00
AUTHORS Changed email and postal address. 2023-01-09 09:59:08 +01:00
CONTRIBUTING.md Add a contributing guide 2025-06-27 10:55:57 +02:00
COPYING Removed --foreign switch for autotools. 2006-11-06 09:43:36 +00:00
COPYING.LESSER Fixed COPYING.LESSER to be LGPL 2.1 (like in file headers). 2012-07-13 11:18:52 +02:00
CodingStyle.md Coding style in markdown. 2023-01-30 11:00:53 +01:00
Doxyfile.in Updated doxyfile to 1.11.0. 2024-07-26 11:57:02 +02:00
FEATURES.md Markdown fixes. 2023-01-30 10:45:31 +01:00
INSTALL.md Update init.d support 2025-02-17 12:45:39 +01:00
Kbuild.in Add rtai modules to KBUILD_EXTRA_SYMBOLS 2024-02-05 10:04:35 +01:00
Makefile.am add fake ethercat library to build system. 2024-07-04 19:00:42 +02:00
Makefile.kbuild support out-of-tree build 2023-09-11 11:43:39 +02:00
NEWS.md Version 1.6.8: Fixed FAKE_EC_HOMEDIR usage. 2025-10-06 17:15:04 +02:00
README.EoE Fixed mail address; limited lines to 78 characters; removed $Id$. 2024-02-01 15:15:41 +01:00
README.md Add a contributing guide 2025-06-27 10:55:57 +02:00
TODO Fixed mail address; limited lines to 78 characters; removed $Id$. 2024-02-01 15:15:41 +01:00
bootstrap Fixed mail address; limited lines to 78 characters; removed $Id$. 2024-02-01 15:15:41 +01:00
configure.ac Version 1.6.8: Fixed FAKE_EC_HOMEDIR usage. 2025-10-06 17:15:04 +02:00
ethercat.spec.in Fixed typo and updated URLs. 2024-07-26 12:49:24 +02:00
globals.h Also changed license of gloabl headers to LGPL. 2021-07-23 13:33:54 +02:00

README.md

This is the README file of the IgH EtherCAT Master.

Contents:

[[TOC]]

General Information

This is an open-source EtherCAT master implementation for Linux 2.6 or newer.

See the features file for a list of features. For more
information, see https://etherlab.org/ethercat.

or contact

Dipl.-Ing. (FH) Florian Pose fp@igh.de
Ingenieurgemeinschaft IgH
Nordsternstraße 66
D-45329 Essen
http://igh.de

Documentation

Handbook

The PDF documentation is generated via LaTeX and can be build with the
following steps:

cd documentation
make

The PDF is automatically held up-to-date and can be downloaded from
GitLab
.

Doxygen

To generate the Doxygen documentation, the following commands can be used.
Therefore, the configure script must have run (see the install
file
).

git submodule update --init
make doc

An up-to-date Doxygen output can be found on
docs.etherlab.org.

Requirements

Software requirements

Configured sources for the Linux 2.6 (or newer) kernel are required to build
the EtherCAT master.

Hardware requirements

A table of supported hardware can be found at:
https://docs.etherlab.org/ethercat/1.6/doxygen/devicedrivers.html

Building and installing

See the install file.

Dry-run and Field Simulation

A limited set of the userspace API is available in libfakeethercat,
a library which can be used to run an userspace application
without an EtherCAT master or with emulated EtherCAT slaves.
Please find some details here.

Realtime and Tuning

Realtime patches for the Linux kernel are supported, but not required. The
realtime processing has to be done by the calling module (see API
documentation). The EtherCAT master code itself is passive (except for the
idle mode and EoE).

To avoid frame timeouts, deactivating DMA access for hard drives is
recommended (hdparm -d0 <DEV>).

License

Copyright (C) 2006-2023 Florian Pose, Ingenieurgemeinschaft IgH

This file is part of the IgH EtherCAT Master.

The IgH EtherCAT Master is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License version 2, as
published by the Free Software Foundation.

The IgH EtherCAT Master is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
details.

You should have received a copy of the GNU General Public License along with
the IgH EtherCAT Master; if not, write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

I have a question / I want to contribute

Please see the contributiong document.

Coding Style

Developers shall use the coding style rules in the coding style
file
.