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

can anyone help me to interface hardware using ethercat in ROS

asked 2017-01-30 08:33:52 -0500

ashok gravatar image

can anyone help me to interface hardware using ethercat in ROS with step by step procedure.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-01-30 00:42:17 -0500

TraiBo gravatar image

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

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 . 9) Below are the best web links to extend the application code for your requirement . .

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2017-01-30 08:33:52 -0500

Seen: 394 times

Last updated: Jan 30 '18