ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

ELMO ethercat driver help

asked 2017-03-07 11:56:08 -0600

jakeweinmann gravatar image

Hello,

Has anyone written a fully implemented ELMO EtherCAT communication driver? I would like to use ROS to communicate with ELMO gold twitter drivers over EtherCAT and I'm having a difficult time understanding how to use SOEM. Has anyone written some code to control drivers over EtherCAT I can use as a starting point?

Thanks in advance.

edit retag flag offensive close merge delete

Comments

Hi,has the problem been solved?. Before I communicate with ELMO engineers,they recommend the use of G-mas controller for the Ethercat communication between G-Twitter and IPC, but we do not use. I’m wondering whether the Ipc can directly control the driver via EtherCat?

asdxcsd gravatar image asdxcsd  ( 2017-04-20 04:20:26 -0600 )edit

2 Answers

Sort by » oldest newest most voted
1

answered 2018-01-30 00:42:44 -0600

TraiBo gravatar image

" SOEM is an open source EtherCAT master library written in c" which is available @ https://github.com/OpenEtherCATsociet.. . . After that try to go through the example codes in following link https://github.com/OpenEtherCATsociet.. .

1) Download the repository SOEM-master and create a build directory in the path according to you ../../SOEM-master/ 2) Then again crate a test directory in side your build directory ../../SOEM-master/build/test/ 3) Now compile the package alone using cmake .. & make commands in the path ../../SOEM-master/ 4) Then find the executables generated in the path ../../SOEM-master/build/test/ 5) Connect your motor drive using Ethernet cable to your PC 6) Try to run the simple_test executable with sudo permissions as follows sudo ./simpple_test eth0 or eth1 7) Try to understand the response got from the ethercat slave drive like name, id , revision and cross check with the manufacturer data sheet 8) Now decide yourself in which mode you want to run the ethercat slaves for example cyclic synchronous torque mode you can get the example code in the following link https://gist.github.com/manuelvonthro.. . 9) Below are the best web links to extend the application code for your requirement http://www.elmomc.com/support/manuals.. . https://www.google.co.in/url?sa=t&rct.. .

edit flag offensive delete link more

Comments

Can you provide the last two links again? Only part of them are shown so that the links cannot be used.

yuuubc gravatar image yuuubc  ( 2018-06-09 13:51:32 -0600 )edit
0

answered 2019-03-12 02:44:03 -0600

mgruhler gravatar image

As I starting point I could refer you to this example code which drives 2 Elmo Gold DC Whistle drives using SOEM. Most important thing is to set up the PDO-Mappings correctly.

Note also that SOEM is released as a ROS package, so I suggest to use this.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2017-03-07 11:56:08 -0600

Seen: 1,860 times

Last updated: Mar 12 '19