Kinematic documentation error (-1)

bintzt
2022-05-25
2022-05-29
  • bintzt - 2022-05-25

    Hello Codesys users,

    I've been experimenting a little with the creation of a user kinematics library.
    In general I've been learning from this video: https://www.youtube.com/watch?v=Bm6OG6cMHPE

    Right now I am having a little trouble getting the kinematic configuration wizard documentation for the mechanism right.
    You have to create this documentation in the declaration section of the kinematic FB, with attributes like sm_kin_axes and sm_kin_libdoc.

    The mechanism entry and documentation is created in the wizard - I can even change input_var values and complete axis references. However, my commentary text does not seem to be interpreted by the reStructuredText DocFormat (even though this format is selected in the properties of my library project).
    So what you get is a text that looks just the way like I wrote it in commentary style. The titles are not created and the image is not processed.

    I have checked the library management video on what I could be missing: https://www.youtube.com/watch?v=A4lQGWAUTgs
    But I did not notice anything.
    I did notice that when I include the library in a project there appears an error message in the window of the documentation tab, and that worries me a bit. See Attachment for the error.
    However, I don't know how I can solve this error. I can't find much info on this. Is there something wrong with the script?

    Does anyone have any (similar) experience or advice on this?

    My Codesys version is 3.5.SP15.P3 64 bit. (Windows 10 Business, 21H2, 64 bit, x64-based processor)

    Much thanks in advance for any help!

     
  • bintzt - 2022-05-25

    For further illustration of the problem: this is an example of what the result in the kinematic config wizard looks like (see attachment).

     
  • bintzt - 2022-05-29

    Little update: I have not solved the reStructuredText problem yet, but have stumbled on a new problem while compiling the kinematics FB; the transformation methods and the IsSingularity method give the C0089 error, but I'm not sure why (something to do with the "{warning 'Add method implementation '}" message?). GetAxisProperties method has no problem with its automatically generated declaration.
    Anyone more at home with OOP that can direct me?

     

Log in to post a comment.