I've done some tests with a Raspberry PI and a PICAN2 hat to simulate a CANOpen node, and it works apart from that the master does a PDO remapping. To my understanding the CODESYS CANOpen slave only supports static PDO mapping, so I won't be able to simulate the CANOpen node due to the master stops the configuration after it receives an error, trying to write to 1600:0 in the OD.
The master however always use the same mapping parameters, so in theory, for this labtest, I could statically map those if there was a possibility to bypass the errors writing to 1600:0 etc.
Would it be possible to modify the CANOpen slave to accept this without digging to deep?
Or is PDO remapping something that might be implemented in the near future? :)
BR
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I've done some tests with a Raspberry PI and a PICAN2 hat to simulate a CANOpen node, and it works apart from that the master does a PDO remapping. To my understanding the CODESYS CANOpen slave only supports static PDO mapping, so I won't be able to simulate the CANOpen node due to the master stops the configuration after it receives an error, trying to write to 1600:0 in the OD.
The master however always use the same mapping parameters, so in theory, for this labtest, I could statically map those if there was a possibility to bypass the errors writing to 1600:0 etc.
Would it be possible to modify the CANOpen slave to accept this without digging to deep?
Or is PDO remapping something that might be implemented in the near future? :)
BR