Menu

Begining with OpenCONFIGURATOR

Help
Mike
2014-04-25
2014-05-09
  • Mike

    Mike - 2014-04-25

    Hello,

    I'm new to powerlink in general, but i can't seem to understand the diffrence between the xdd file and the objdict.h ? and how to configure in ordre to make a simple demo with an MN and a CN ?

    Thank you.

     
    • Wolfgang Seiss

      Wolfgang Seiss - 2014-04-30

      Hello Mike,

      The objdict.h is the actual implementation of the object dictionary in the stack source code. This file will be compiled into your stack version and application and therefore be part of your POWERLINK device software/firmware.
      The format of the objdict.h is specific for the openPOWERLINK stack

      The XDD file on the other hand is an XML file describing the POWERLINK device (including its object dictionary) in general. It is a standardized format used for all POWERLINK devices (independent of the used POWERLINK stack implementation) and is required by a configuration tool (such as openCONFIGURATOR) in order to configure a POWERLINK network with your device.

      As the XDD file has to describe the device, it has to match the definitions in the objdict.h. This match is also tested during a POWERLINK device certification.

      Best regards,
      Wolfgang

       
  • Mike

    Mike - 2014-05-05

    Hello,
    Thanks for the answer,
    Now can i for example with OpenConfigurator define a new index and subindexes and map them without changing the Objdict.h ?

    Thanks.

     
    • Wolfgang Seiss

      Wolfgang Seiss - 2014-05-05

      Hi,

      No, that's not enough.
      If you want to change the object dictionary of your CN, you have to change the objdict.h file, since this file is compiled to the stack.
      Then, you need to adapt the XDD file accordingly to reflect the changes in the objdict.h and re-import it into openCONFIGURATOR.

      Best regards,
      Wolfgang

       
  • Mike

    Mike - 2014-05-05

    Hi,
    Ok Great, thanks,
    Can you help me with the syntax in order to add an entry in the Objdict.h and the xdd file ?

    Thank you.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.