Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

CMAddComponent and LogAdd2 documentation

alejho
2020-04-01
2020-10-01
  • alejho

    alejho - 2020-04-01

    Hi all,
    I'm actually able to use these two functions to register a component and
    insert entries in the device log.
    I'm just wondering what's the meaning of these input arguments:

    udiCpmId and udiVersion for CMAddComponent

    udiCpmId, udiErrorID and udiInfoID for logAdd2

    more in general...does exist any documentation for CmpLog and Component
    Manager libraries?

    Any kind of help is really appreciated.
    Thank you!



     

    Last edit: i-campbell 2020-04-09
  • alejho

    alejho - 2020-04-03

    Trying to find an answer by myself I find out that udiInfoID input parameter in logAdd2 can be used as a numeric identifier for a log entry.

    You'll find it when exporting the logger in xml

    p.s. : embedding images in posts seems not possible

     

    Last edit: alejho 2020-04-03
  • stmos - 2020-09-30

    I have the exact same question. Does a documentation exist for these functions?

    I've found documentation for LogAdd2, but not for CMAddComponent and CMAddComponent2, and in particular for all the functions of the "Component Manager" library.

    Any hints?
    Thanks in advance.

     

Log in to post a comment.