Skip to content

Commit 7883bb3

Browse files
author
Janis Ita
committed
added SDO Abort if a timeout occurs when sending a SDO request
1 parent 287c1b5 commit 7883bb3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

canopen/sdo/client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ def request_response(self, sdo_request):
8686
except SdoCommunicationError as e:
8787
retries_left -= 1
8888
if not retries_left:
89+
self.abort(0x5040000)
8990
raise
9091
logger.warning(str(e))
9192

0 commit comments

Comments
 (0)