[Etherlab-dev] SDO request abort code when slave in OP

Geller, Nir nir.geller at servotronix.com
Thu Jul 1 11:53:15 CEST 2021


Hi There,

I'm performing SDO requests when the slaves are in OP using SDO request methods:
ecrt_sdo_request_index()
ecrt_sdo_request_timeout()
ecrt_sdo_request_data()
ecrt_sdo_request_data_size()
ecrt_sdo_request_state()
ecrt_sdo_request_write()
ecrt_sdo_request_read()

In case of a failure, how do I get the abort code?

The abort code is available when using the ioctl interface EC_IOCTL_SLAVE_SDO_DOWNLOAD or EC_IOCTL_SLAVE_SDO_UPLOAD.
Is there an API to get it when the slaves are in OP?

Thanks,

Nir.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.etherlab.org/pipermail/etherlab-dev/attachments/20210701/2ce7ef2f/attachment.htm>


More information about the Etherlab-dev mailing list