-
Notifications
You must be signed in to change notification settings - Fork 691
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What is the proper way of setting my motor to operational? #660
Comments
To have stable and reliable real-time communication with servo slaves see the many older posts about this subject. One I recommend is #487 (comment) |
@UnderJollyRogers , can this issue be closed? |
Hello, I am using the same servomotor (Qrob80). |
Yes, I was able to solve the problem. I did two things,
|
Sorry to say this is a fake solution. Setting the local structure to operational does not make the slave go to operational state. The result is simply that the slave stays in safe-OP. The fact that you can still control the slave in safe-OP is a violation of the EtherCAT state machine rules. In safe-OP all outputs should remain in a safe state (i.e. motors should be disabled). Ah well, not all slave manufacturers test their product as thorough as mandated I guess. |
I am trying to control Qrob motors using SOEM, I use the following code to set the motors to operational mode:
Although the motors works fine, sometimes the motor refuses to set to OPERATIONAL mode. Let's said that 1 of 4 tries the motors cannot go to OPERATIONAL mode. I know that the hardware is fine because I tested the motors using twincat. But still, I am not sure how to increase the reliability of my code.
Any suggestion of how can I improve my code of if there is something missing?
The text was updated successfully, but these errors were encountered: