CODESYS on Raspberry Pi and EtherCAT

Want create site? Find Free WordPress Themes and plugins.

Setup of CODESYS soft-PLC for an industrial automation setup with an EtherCAT master running on Raspberry Pi.

CODESYS configuration and the device description files

The CODESYS runtime can be configured to run as the master in an EtherCAT network. To interact with the devices connected on the network the EtherCAT master must know their details. This is achieved by adding the devices to the CODESYS project device tree via their descriptor files. Some “slaves” are alread know by CODEYS, as they’re distributed with the software, but in general the desciptor file for a particular device (or a family of them) is provided by the manufacturer in the form of an XML file that can be imported in CODESYS

The list of the device known by CODESYS can be accessed from Tools > Device Manager

Screen Shot 2016-04-11 at 01.02.52

 

Beckhoff EtherCAT coupler and IO modules

  • Beckhoff EK1100 EtherCAT Coupler
  • Beckhoff EL1008 – 8x Digital Input
  • Beckhoff EL2008 – 8x Digital Output

The XML description files of the EtherCAT modules from Beckhoff EK1100 webpage (select XML device description from the tree on the left and then right click and Save link as… on the archive file – around 15MB ).

The archive contains the descriptors for all the Beckhoff hardware including EKxxxx, EL1xxx and EK2xxx.

Screen Shot 2016-04-10 at 13.05.36

 

Bonfiglioli ACU drive with EtherCAT interface

The ACU frequency inverters from Bonfiglioli can be connected to an EtherCAT network using the communication module CM-EtherCAT

 

Wago EtherCAT coupler

 

 

EtherCAT advanced topics

Distributed Clocks (DCs)

 

Did you find apk for android? You can find new Free Android Games and apps.

Leave a Reply

Your email address will not be published. Required fields are marked *