(1) add real32 support for managed node by changing objdict.h
(2) add object definition for controlled node by changing objdict.h
(3) add real32 support to xdd file of managing node
(4) add object definition to xdd file of controlled node
I also ran openCONFIGURATOR and copied the xap.h and cdc files to the appropriate directories and re-built the applications.
MN and CN are communicating but when I wireshark the data exchanges them, the real32 data from MN to CN are always zero. What am I missing? Are there some other changes that I need to make?
Thanks in advance,
Simon
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
have not been updated since v2.1.1 even though the support for REAL32 was added long time ago. If one uses the MN and CN xdd files in the respective folders:
In the future releases, it is important to make everything consistent. Otherwise, if one uses the xdd files from the deviceImport folder and starts artifically adding REAL32 support, inconsistencies will ensure resulting in very strange results.
Thanks,
Simon
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am trying to modify the demo programs to send real32 data between MN and a CN. I read the posting:
https://sourceforge.net/p/openpowerlink/discussion/newbie/thread/10a06574/
and made the following changes:
(1) add real32 support for managed node by changing objdict.h
(2) add object definition for controlled node by changing objdict.h
(3) add real32 support to xdd file of managing node
(4) add object definition to xdd file of controlled node
I also ran openCONFIGURATOR and copied the xap.h and cdc files to the appropriate directories and re-built the applications.
MN and CN are communicating but when I wireshark the data exchanges them, the real32 data from MN to CN are always zero. What am I missing? Are there some other changes that I need to make?
Thanks in advance,
Simon
Hi Simon,
It should be working with the latest openPOWERLINK stack.
So, did you try it out with V2.6.2 or V2.7.0?
Best regards,
Wolfgang
Hi Wolfgang,
The problem is that the MN and CN xdd files in the folder:
...\apps\common\openCONFIGURATOR_projects\Demo_3CN\deviceImport
have not been updated since v2.1.1 even though the support for REAL32 was added long time ago. If one uses the MN and CN xdd files in the respective folders:
...\apps\common\objdicts\CiA302-4_MN &
...\apps\common\objdicts\CiA401_CN
then everything will work fine.
In the future releases, it is important to make everything consistent. Otherwise, if one uses the xdd files from the deviceImport folder and starts artifically adding REAL32 support, inconsistencies will ensure resulting in very strange results.
Thanks,
Simon
Hi Simon,
Thanks for the detailed description of issue. We will update the stack with latest XDD files in the upcoming release.
Thanks,
Powerlink-Team-Kalycito