We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a21371 commit d4e7c71Copy full SHA for d4e7c71
canopen/profiles/p402.py
@@ -375,8 +375,8 @@ def statusword(self):
375
try:
376
return self.tpdo_values[0x6041]
377
except KeyError:
378
- logger.warning('The object 0x6041 is not supported by the PDO mechanism, fallback to SDO')
379
- return self.sdo[0x6041].raw = value
+ logger.warning('The object 0x6041 is not a configured TPDO, fallback to SDO')
+ return self.sdo[0x6041].raw
380
381
@property
382
def controlword(self):
0 commit comments