[Home]EtherCatDriver

LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org

Difference (from prior major revision) (no other diffs)

Changed: 5c5
This driver tries to provide an easy-to-expand framework for the connection of LinuxCNC to EtherCAT devices.
This driver tries to provide an easy-to-expand framework for the connection of LinuxCNC to EtherCAT devices.

Changed: 23c23
** EK1100* - EtherCAT Coupler
** EK1100* - EtherCAT Coupler

Changed: 42c42
** EL1808* - HD EtherCAT Terminal, 8-channel digital input 24 V DC, 2-wire connection
** EL1808* - HD EtherCAT Terminal, 8-channel digital input 24 V DC, 2-wire connection

Changed: 55c55
** EL2808* - HD EtherCAT Terminal, 8-channel digital output 24 V DC, 0.5 A
** EL2808* - HD EtherCAT Terminal, 8-channel digital output 24 V DC, 0.5 A

Changed: 88c88
If you are using the current LinuxCNC Distribution (LCNC 2.6 Debian Wheezy based at time
If you are using the current LinuxCNC Distribution (LCNC 2.6 Debian Wheezy based at time

Changed: 102c102
* start working with Ethercat enabled LinuxCNC
* start working with Ethercat enabled LinuxCNC

EtherCAT realtime HAL driver

Overview

This driver tries to provide an easy-to-expand framework for the connection of LinuxCNC to EtherCAT devices. Some of the often used Beckhoff devices like digital and analog I/O, encoder input and pulse train output are already supported just as the [Stöber] MDS5000 series of servo drives. The driver is based on [IgH's EtherCAT master] and builds a glue layer like the etherlab component. It consists of an userspace component for configuration and a RT HAL module for the data processing.

The config module reads in and parses a xml config file and provides a prepared form of configuration data via shared memory to the RT part. The RT module is organised in a global part that is common to all submodules and a .c and .h file for each supported (class off) hardware device.

Since this driver is sill under development you can find the code [here]. Feel free to test or review the code and send me suggestions and hints. There is a discussion thread about this driver in the [forum].

Currently supported devices

Devices with an asterisk (*) are tested, all other devices are supported due to an equal process image. If you have hardware that is supported and not tested and you like to test it or you have hardware that is not supported yet und you like to support development for this device, just drop me a line.

Installation

If you are using the current LinuxCNC Distribution (LCNC 2.6 Debian Wheezy based at time of writing) the installation is pretty simple:

  deb http://repo.modusoft.de/linuxcnc/wheezy ./
  The etherlabmaster should be installed automaticaly.
  Currently you will get a warning about missing key.
  this sould show your connected slaves

Building

If you like to build the driver by you own, you could just clone the git

and do a

and

You need etherlabmaster-dev (from the repos mentioned above) and linuxcnc-dev to be installed for this.

Configuration

You can find some examples under /usr/share/linuxcnc-ethercat/examples

... to be continued

( [Configuration tutorial for IndraDrives.] )

Usage


LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org
This page is read-only. Follow the BasicSteps to edit pages. | View other revisions
Last edited October 26, 2017 4:45 pm by KimK (diff)
Search:
Published under a Creative Commons License