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

ELMO Motor Drive (EtherCAT) and ROS

asked 2016-07-28 01:53:30 -0600

piyu23srma gravatar image

Hello everyone,

I have a ELMO motor drive(http://www.elmomc.com/products/whistle-solo-servo-drive-gold.htm) and a brushless dc motor. I want to run these drive and motor using ROS.

I see people are using Pi and arduino for controlling.

How to do this using drive and motor only ?

edit retag flag offensive close merge delete

Comments

how things goes on? Can you share your views ?

Jack_ros gravatar image Jack_ros  ( 2016-09-28 03:52:17 -0600 )edit
1

I am able to run single bldc motor using SOEM, but controlling part is still need to be done to get it work in different different modes.

piyu23srma gravatar image piyu23srma  ( 2016-11-08 06:20:45 -0600 )edit

Did you choose any ELMO controller?

asdxcsd gravatar image asdxcsd  ( 2016-11-10 19:21:58 -0600 )edit
1

I am using elmo drive controller http://www.elmomc.com/products/whistl...

piyu23srma gravatar image piyu23srma  ( 2016-11-11 03:20:18 -0600 )edit

Can I controll a motor directly with my comper through ROS, without any controller(motion controller,something like that:http://www.elmomc.com/products/multi-axis-machine-motion-controller-g.htm),just motor drvier?

asdxcsd gravatar image asdxcsd  ( 2016-11-16 01:07:39 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
3

answered 2016-11-08 00:27:59 -0600

TraiBo gravatar image

updated 2016-11-08 06:20:40 -0600

Hi Piyush,

I have been working on it for the past 4 months, If you are still struck at the same issue above mentioned, The following information can be useful,

" 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

1

Please feel free to ask, in case of any query .. :)

TraiBo gravatar image TraiBo  ( 2016-11-08 06:23:54 -0600 )edit

Did you connect your computer with motor driver directly?without motion controller?

asdxcsd gravatar image asdxcsd  ( 2016-11-16 01:30:10 -0600 )edit
1

HI, No, I am using Elmo gold whistle drive controller.

TraiBo gravatar image TraiBo  ( 2016-11-16 23:34:08 -0600 )edit

TraiBo or piyu23srma do you have a fully working etherCAT interface with ELMO motor controllers? I would like to use their Gold Twitter drivers with etherCAT. If you could share code I would be eternally grateful!

jakeweinmann gravatar image jakeweinmann  ( 2017-03-07 11:49:18 -0600 )edit

Does one have any example code? I'm stuck with it. PDO replies don't work properly and axis is not moving. SDO communication works. ELMO support also is not helpful :|

Carsten gravatar image Carsten  ( 2017-03-28 03:07:15 -0600 )edit

Could this procedure work also for other EtherCAT-based motor drivers - such as Maxon EPOS 4 ?

stex2005 gravatar image stex2005  ( 2018-10-31 05:22:24 -0600 )edit

Question Tools

4 followers

Stats

Asked: 2016-07-28 01:53:30 -0600

Seen: 5,445 times

Last updated: Nov 08 '16