(no subject)

rickj
2021-12-16
2021-12-21
  • rickj - 2021-12-16

    When building a a projecty for an IFM Ecconomat contrtoller I get the following error message.

    " B111RS_Sp16.4_V0.0.22 KhIfmConversion3: C0136:  Ambiguous use of name 'LinearMemoryManager' "
    

    This can be traced to two following codesys libraries.

     CDS_MemMan  - codesys memory manager, 3.5.12.0 (3s - smart software solutions gmbh)
     VsuElemBase - visuelembase, 3.5.16.30 (system)
    

    As far as I can tell these are both codesys (i.e. 3S) libraries. Why are these libraries designed to be mutually exclusive and if not then how can the conflict between the libraries be resolved?

     
  • TimvH

    TimvH - 2021-12-21

    Apparently both libraries contain a LinearMemoryManager function or function block. The B111RS_Sp16.4_V0.0.22 KhIfmConversion3 library is using this function or function block, but the compiler doesn't know which one should be used. So the B111RS_Sp16.4_V0.0.22 KhIfmConversion3 library has to be changed to use e.g. CDS_MemMan.LinearMemoryManager, then the compiler known that this specific fun or fb should be used from this specific library.

     

Log in to post a comment.