ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Hi Piyush,
Hi Jackchen,
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/OpenEtherCATsociety/SOEM . After that try to go through the example codes in following link https://github.com/OpenEtherCATsociety/SOEM/tree/master/test/linux
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/manuelvonthron-opalrt/9467152 9) Below are the best web links to extend the application code for your requirement http://www.elmomc.com/support/manuals/MAN-CAN301IG.pdf https://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwjNgcv7v5jQAhUOUI8KHce9AhAQFggaMAA&url=https%3A%2F%2Fwww.anaheimautomation.com%2Fmanuals%2Fservo%2FEtherCATUser%27sManual%2520(1).pdf&usg=AFQjCNEvfwHhdDqv1cXLFjkPOZX-YBQROw
2 | No.2 Revision |
Hi Piyush,
Hi Jackchen,
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/OpenEtherCATsociety/SOEM . After that try to go through the example codes in following link https://github.com/OpenEtherCATsociety/SOEM/tree/master/test/linux
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/manuelvonthron-opalrt/9467152 9) Below are the best web links to extend the application code for your requirement http://www.elmomc.com/support/manuals/MAN-CAN301IG.pdf https://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwjNgcv7v5jQAhUOUI8KHce9AhAQFggaMAA&url=https%3A%2F%2Fwww.anaheimautomation.com%2Fmanuals%2Fservo%2FEtherCATUser%27sManual%2520(1).pdf&usg=AFQjCNEvfwHhdDqv1cXLFjkPOZX-YBQROw