Menu

Wrong cdc file building

Victor
2013-05-21
2013-05-24
  • Victor

    Victor - 2013-05-21

    Hello All,

    I use the openCONFIGURATOR v1.2.2 in Ubuntu.
    By this tool I built a project with xdc file where uses 254 entries for mapped objects.
    Please find built mnobd.txt file in attach of my next post.

    Here is created 2 nodes using absolutely the same xdc file for each node.

    If we look to the last mapping entries of first node we see correct lines:
    1A00 FC 00000008 00201f6000fcA200
    1A00 FD 00000008 00201f8000fdA200
    1A00 FE 00000008 00201fa000feA200
    and
    1600 FC 00000008 00201f6000fcA680
    1600 FD 00000008 00201f8000fdA680
    1600 FE 00000008 00201fa000feA680

    but for second node we can see not correct lines for FE subindex
    1A01 FC 00000008 00201f6000fca201
    1A01 FD 00000008 00201f8000fda201
    1A01 FE 00000008 00201fa00000a202
    and
    1601 FC 00000008 00201f6000fca681
    1601 FD 00000008 00201f8000fda681
    1601 FE 00000008 00201fa00000a682

    It looks strange that openCONFIGURATOR doesn't use fe subindex for a201 and a681 indexes.
    And because of it the openPOWERLINK doesn't starts. For details, please see https://sourceforge.net/p/openpowerlink/discussion/general1/thread/8d7bd0ed/#78c4

    How can I fix it?

    Thank you in advance.
    Best regards,
    Victor

     

    Last edit: Victor 2013-05-21
  • Victor

    Victor - 2013-05-21

    There is attached mnobd.txt file here for my previous post.

    Best regards,
    Victor

     
  • Victor

    Victor - 2013-05-22

    Hello All,

    I found how to fix it.
    In getPIAddress() function of ProcessImage.cpp file are lines:

    int div = subIndex / 254;
    int mod = subIndex % 254;

    I have changed them to:

    subIndex--;
    int div = subIndex / 254;
    int mod = subIndex % 254 + 1;

    Could it be added to new version of openCONFIGURATOR, please?

    Best regards,
    Victor

     

    Last edit: Victor 2013-05-23
  • Powerlink-team Kalycito

    Hello Victor,

    Thanks for your interest in reporting this bug. We'll look into it closely & add it to the next release.

    Please let us know if you face more issues.

    Regards,
    Powerlink-team
    Kalycito

     

Log in to post a comment.