I am playing around with the demo application of openPOWERLINK 2.7.0. I connect two linux machines. One acts as CN (running demo_cn_console), the other one as MN (running demo_mn_console).
Communication is working nicely until I add ERR_ErrorRegister to the TPDO channel of the CN. For instance, if I add it as 1A00/03 using the XDD Eclipse Plugin and recompile the MN, then I observe an error message at the MN's console output:
The MN will then retry the initialization procedure over and over again, but the CN is never operational.
Do I need to implement something special in order to make this work? The objdict.h of the CN contains an entry for object 0x1001 (i.e. the ErrorRegister).
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
the problem lies in that kObdAccR does not have the kObdAccPdo bit set and can therefore not be mapped to a PDO object. The solution is to change kObdAccR into kObdAccVPR.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hallo,
I am playing around with the demo application of openPOWERLINK 2.7.0. I connect two linux machines. One acts as CN (running demo_cn_console), the other one as MN (running demo_mn_console).
Communication is working nicely until I add ERR_ErrorRegister to the TPDO channel of the CN. For instance, if I add it as 1A00/03 using the XDD Eclipse Plugin and recompile the MN, then I observe an error message at the MN's console output:
The MN will then retry the initialization procedure over and over again, but the CN is never operational.
Do I need to implement something special in order to make this work? The objdict.h of the CN contains an entry for object 0x1001 (i.e. the ErrorRegister).
Thanks!
Hello Derick,
Could you please share us the openCONFIGURATOR project, and details of MN and CN application (Linux-edrv/PCAP ) used?
Thanks,
Powerlink-Team-Kalycito
Hello Derik,
I am getting the same error messages as you.
Did you manage to find a solution? If so, would you care to share it?
Nevermind, the problem was that the ErrorRegister was not PDO mappable in the objdict.h file.
Thanks,
Martin
Last edit: Martin Mörtsell 2018-08-14
Hello Martin,
Unfortunately, I could not resolve this issue. Could you share the adjustments you made?
Thanks!
The problem is that the 00000000_POWERLINK_CiA401_CN.xdd and objdict.h files provided for the demo apps are not identical.
The xdd-file has the following line for the Error register:
while the odjdict.h defines the Error register as
the problem lies in that kObdAccR does not have the kObdAccPdo bit set and can therefore not be mapped to a PDO object. The solution is to change kObdAccR into kObdAccVPR.