Benjamin Partzsch
Benjamin Partzsch
Hi @marcAC, good to see that you could find a solution to your initial question. What sdo_read read returns are the raw [bytes](https://docs.python.org/3/library/stdtypes.html#bytes) of that object. Bytes you will also...
Hi @marcAC, good to see that you had success. Interesting that your device uses float type parameter. For PDO, take a look at the [_pdo_update_loop function in the basic_example.py](https://github.com/bnjmnp/pysoem/blob/8b36695a7e9f653902b160a3779d5ebe8d507af3/examples/basic_example.py#L74). You...
Oh yes, you can also convert bytes to ctypes using ctypes. Then you do something like: ```py tobj7004 = TOBJ7004(8, 8) foo = bytes(tobj7004) ``` ... to get the bytes...
Hi @MarcelloDavis, Did you try to call `master.config_init()` prior to accessing the device? This is required to establish any communication.
For now I don't get where the error is coming from. Dose it pop up on the display of the acutator? Dose it happen in the CSP mode only or...
Dose the actuator go into SafeOP state when the error occurs, and stops the motor? With Python and non-realtime operating systems you will always have big jitter, also network interface...
Hi. Do you like to share more context on this? For example what your script is doing right after the `config_init()`, what the error looks like, or maybe even more......
I can't really tell. For now I can't even think on how to do this nateivly with the SOEM API itself. Maybe you could find something about this in the...
Putting PDO update cycle in a process inside pysoem, sounds good to me. But to figure out how to implement this, I need to take a closer look at things....
Hi @tanakarei256, at least the SDO timeouts are now configurable. Check out [pysoem.Master.sdo_read_timeout](https://pysoem.readthedocs.io/en/latest/master.html#pysoem.Master.sdo_read_timeout) and [pysoem.Master.sdo_write_timeout](https://pysoem.readthedocs.io/en/latest/master.html#pysoem.Master.sdo_write_timeout). This will be availabel in the latest version of pysoem (1.0.2) installed via pip from...