This project includes examples demonstrating the use of SOEM in CSP, PP, CSV, and PT modes. If you have any questions or encounter any issues, feel free to reach out.
This is an open-source demo related to the eRob product, provided solely for reference by developers. Please note that issues within the open-source project are independent of the quality of eRob products. Users are advised to exercise caution while using the demo. We are not responsible for any damage caused by improper operations. For any project errors, please raise a query in the Issues section. Collaboration and forks to resolve open-source project issues are welcome.
Use a Real-Time Kernel System
Ensure your operating system has a real-time kernel to guarantee consistent and precise communication.
Isolate CPU Cores
Perform CPU isolation to dedicate specific cores to EtherCAT processes, reducing interruptions and improving stability.
Troubleshooting OP State Issues
Read Mode-Specific Instructions
Before using each mode, read the relevant operational instructions to ensure correct configuration and usage.
Use the Official eRob Upper Computer Software
eRob provides official upper computer software. Mastering the built-in oscilloscope tool will allow you to quickly locate issues with the EtherCAT master.
Capture and Analyze EtherCAT Data
Use packet capture tools to analyze EtherCAT output and log information to identify errors.
git clone https://github.com/ZeroErrControl/eRob_SOEM_linux.git
cd eRob_SOEM_linux
mkdir build
cd build
cmake ..
make
sudo ./build/demo/eRob_CSV
sudo ./build/demo/eRob_PP_subscriber
python3 src/erob_ros/src/eCoder_fake.py
sudo ./build/demo/eRob_CSP_subscriber
python3 src/erob_ros/src/eCoder_fake.py
sudo ./build/demo/eRob_CSP
sudo ./build/demo/eRob_PT
If you want to consult the object dictionary, you can run the following command and then run sudo ./build/test/linux/slaveinfo <ethercat_device> -map
to view the object dictionary.
sudo ./build/demo/eRob_CST
If you want to consult the object dictionary, you can run the following command and then run sudo ./build/test/linux/slaveinfo <ethercat_device> -map
to view the object dictionary.