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

document show about External library

faili
2013-05-31
2013-06-27
  • faili

    faili - 2013-05-31

    I designed a function in the external library and i wrote some comment as below because i want it can be shown as
    a Documentation for user. But the comment was shown with no LF(look like document.png). How can i wrap lines as
    document2.png.

    //sysTempeBaseAdrsGet//This routine returns the address of the CRG register set of the Tempe chip.//The function returns the correct address only after the Tempe chip has been configured by pciAutoConfig().
    FUNCTION_BLOCK sysTempeBaseAdrsGet
    VAR_INPUT
    varIn:DINT;
    END_VAR
    VAR_OUTPUT
    END_VAR
    VAR
    END_VAR

    IMG: document2.png

    IMG: document.png

     
  • Strucc

    Strucc - 2013-05-31

    See online help / Libraries / Guidelines / LibDev Summary / Project documentation ... for possible formatting options.

     
  • faili

    faili - 2013-06-03

    Strucc hat geschrieben:
    See online help / Libraries / Guidelines / LibDev Summary / Project documentation ... for possible formatting options.

    Thank you for your reply. I copied a sample of title to my library as below

    //===============
    // Section Title
    //===============
    FUNCTION_BLOCK sysTempeBaseAdrsGet
    VAR_INPUT
    varIn:DINT;
    END_VAR

    It is still shown as one line.

     
  • Strucc

    Strucc - 2013-06-11

    Apparently it is using HTML formatting now. You can try using

    <P>Paragraph</P> 
    

    or

    <BR/>New line
    
     
  • faili

    faili - 2013-06-27

    thanks a lot.
    It works..

     

Log in to post a comment.