RxPDO is not sent
See original GitHub issueFrom candump output, it seems that I’m not sending any PDO messages.
node.pdo.rx[1].read()
node.pdo.rx[1].clear()
node.pdo.rx[1].add_variable('Interpolation data record', 'Parameter1 of ip function')
node.pdo.rx[1].enabled = True
node.nmt.state = 'PRE-OPERATIONAL'
node.pdo.rx[1].save()
node.pdo.rx[1].start(0.1)
node.nmt.state = 'OPERATIONAL'
node.pdo.rx[1]['Interpolation data record.Parameter1 of ip function'].phys = 0
time.sleep(5)
node.pdo.rx[1].stop()
network.disconnect()
candump
output:
quad@quad-desktop:~/Desktop$ candump can0
can0 603 [8] 40 00 14 01 00 00 00 00
can0 583 [8] 43 00 14 01 03 02 00 00
can0 603 [8] 40 00 14 02 00 00 00 00
can0 583 [8] 4F 00 14 02 FF 00 00 00
can0 603 [8] 40 00 14 03 00 00 00 00
can0 583 [8] 4B 00 14 03 00 00 00 00
can0 603 [8] 40 00 14 05 00 00 00 00
can0 583 [8] 4B 00 14 05 00 00 00 00
can0 603 [8] 40 00 16 00 00 00 00 00
can0 583 [8] 4F 00 16 00 01 00 00 00
can0 603 [8] 40 00 16 01 00 00 00 00
can0 583 [8] 43 00 16 01 20 01 C1 60
can0 000 [2] 80 03
can0 603 [8] 40 00 14 01 00 00 00 00
can0 583 [8] 43 00 14 01 03 02 00 00
can0 603 [8] 23 00 14 01 03 02 00 80
can0 583 [8] 60 00 14 01 00 00 00 00
can0 603 [8] 2F 00 14 02 FF 00 00 00
can0 583 [8] 60 00 14 02 00 00 00 00
can0 603 [8] 2B 00 14 03 00 00 00 00
can0 583 [8] 60 00 14 03 00 00 00 00
can0 603 [8] 2B 00 14 05 00 00 00 00
can0 583 [8] 60 00 14 05 00 00 00 00
can0 603 [8] 2F 00 16 00 00 00 00 00
can0 583 [8] 60 00 16 00 00 00 00 00
can0 603 [8] 23 00 16 01 20 01 C1 60
can0 583 [8] 60 00 16 01 00 00 00 00
can0 603 [8] 2F 00 16 00 01 00 00 00
can0 583 [8] 60 00 16 00 00 00 00 00
can0 603 [8] 23 00 14 01 03 02 00 00
can0 583 [8] 60 00 14 01 00 00 00 00
can0 000 [2] 01 03
can0 183 [2] 37 06
The last output corresponds to node.nmt.state = 'OPERATIONAL'
. The next line,
node.pdo.rx[1]['Interpolation data record.Parameter1 of ip function'].phys = 0
does not send anything on the bus.
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
Selective PDO mapping - Beckhoff Information System - English
It is important that “RxPDO assign” over object 0x1C12 is always at the end of the list of RxPDO Map entries. It may...
Read more >1600 to 1603h RxPDO Mapping Parameters
Sub-index 0 contains the number of objects mapped into a PDO. A value of 0 indicates that this PDO is not active. Sub-indexes...
Read more >CANopen Reference Guide - Octave
Notice that the data length sent by one SDO frame is only 4 bytes. ... There are two kinds of PDO: TxPDO and...
Read more >ROS_CANopen RPDO timeout - ROS Answers
Did not receive a response message Did not receive a response message Did ... We configured the following PDO mapping: RxPDO 1: Trans:...
Read more >CANopen, TPDO and RPDO behavior? - Stack Overflow
The NodeIDs are only added to PDOs sent, not received by the ... Does deviceA send TxPDO 180+2 and deviceB receive data by...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Could you attach some debug output?
This should work with latest master and python-can 2.2.0. If not please re-open.