Closed Phiraos closed 2 years ago
I solved my problem.
I use the cyclic synchronous position mode (mode 8) instead of the profile position (mode 1).
And, most important, something I miss or not really explicit, the PDO streaming has to be stricly cyclic. If not, the buffer suffers an underflow and motor stop working.
So, as in the basic_example.py, I implement a thread for processdata in order to satisfy the cyclic condition.
tell me how you changed mode 8 to mode 1. Can I see the correct code?
tell me how you changed mode 8 to mode 1. Can I see the correct code?
Aye @DHavron,
I changed the mode 1 to mode 8.
To do this, I juste changed the parameter in this line
output_data.modes_of_operation = modes_of_operation['Profile position mode']
I use now "Cyclic synchronous position mode".
Hi,
I follow up on my project (using a C1250-DS-XC-1S with standard ASIC ET1100 and CiA402 Protocol). Now that I can realize a home, I would like to move the actuator according to my input.
I try a simple single target but nothing happen.
Here is the code :