Visualisation generates "Unresolved reference"

Leijonberg
2016-12-07
2024-06-10
  • Leijonberg - 2016-12-07

    Hi,

    I've made a new Standard project, using Codesys Control Win V3, version 3.5.9.40.

    Downloading to SoftPLC works fine.
    Add an empty Visu.
    Now, download generates "10 unresolved references".

    Is this a bug or is something wrong with my installation?
    My co-worker has the exact same issue.

     
  • Leijonberg - 2016-12-07

    Download messages dump:

    [FATAL ERROR] Unresolved reference: 'DYNAMICTEXTUNREGISTERFILE'
    [FATAL ERROR] Unresolved reference: 'DYNAMICTEXTREGISTERFILE'
    [FATAL ERROR] Unresolved reference: 'DYNAMICTEXTGETTEXT'
    [FATAL ERROR] Unresolved reference: 'DYNAMICTEXTGETDEFAULTTEXT'
    [FATAL ERROR] Unresolved reference: 'DYNAMICTEXTLOADDEFAULTTEXTS'
    [FATAL ERROR] Unresolved reference: 'DYNAMICTEXTRELOADTEXTS'
    [FATAL ERROR] Unresolved reference: 'DYNAMICTEXTGETCURRENTLANGUAGE'
    [FATAL ERROR] Unresolved reference: 'DYNAMICTEXTCHANGELANGUAGE'
    [FATAL ERROR] Unresolved reference: 'DYNAMICTEXTGETTEXTW'
    [FATAL ERROR] Unresolved reference: 'DYNAMICTEXTGETDEFAULTTEXTW'

     
  • Leijonberg - 2016-12-09

    Problem solved.

    I had both SP8 and SP9 installed. Uninstalled SP8 and reinstalled SP9 build 4, works now.

     
  • eschwellinger

    eschwellinger - 2016-12-09

    Hi,

    in case others have the same issue:

    "c:\Program Files (x86)\3S CODESYS\GatewayPLC\CODESYSControl.cfg"

    add CmpDynamicText to the ComponentManager in CODESYSControl.cfg

    [ComponentManager]
    Component.1=CmpTargetVisuStub
    Component.2=CmpCodeMeter
    Component.3=CmpWebServer
    Component.4=CmpWebServerHandlerV3
    Component.5=SysEthernet
    Component.6=CmpPCANBasicDrv
    Component.7=CmpBACnet
    Component.8=CmpDynamicText

    then reinstalling CODESYS is not needed.

    BR
    Edwin

     
    • fabiencavalier - 2021-07-15

      Hello,
      I have exactly the same issue after adding a visualization window :
      When I build the project => No error
      When I load the project => 20 unresolved references
      I have tried to modify the CodesysControl.cfg as mentionned but nothing changed.

      Could you help me ?

      Thanks in advance

       
  • Leijonberg - 2016-12-15

    Thanks for the input!

     
  • zol6 - 2022-01-04

    Hello!

    I have got the same issue, but my references startes with STI
    'STI_ROWRELASE'

    Am I needed to add a component, or this is something else?

    Thanks!

    Best Regards:
    Zoltan

     
  • i-campbell

    i-campbell - 2022-01-04

    STI_ROWRELEASE will be in a library, which will have a vendor name. I would check with the vendor or their documentation. Maybe you need to enable a particular component? Or maybe the library is meant for a different PLC.

    More generally, "Unresolved reference" on download means, that a library expects the runtime to have a function "STI_ROWRELEASE", but the runtime does not have it. Maybe it is the wrong PLC, wrong firmware version, or you need to enable a particular dynamic component.

     
  • zol6 - 2022-01-04

    Hello i-campell,

    This error only comes, when i add a webvisu. Before that everything works fine.
    After I add the webvisu the build is completed without error, but when the download starting the errors occured.

     
  • i-campbell

    i-campbell - 2022-01-05

    Hmm, this STI_ROWRELEASE is the library 3s Storage, or CAA Storage Imp.
    You should have an appropriate line pointing to the correct version in your device description, like for Control Win x64 v3.5.17.20:

                <ts:setting name="CAA Storage Imp" type="string" access="visible">
                  <ts:value>3S Storage, 3.5.17.0 (3S - Smart Software Solutions GmbH)</ts:value>
                </ts:setting>
    

    What PLC are you using, what version? does it match the one in your project?

     
  • zol6 - 2022-01-13

    I am using Festo PLC.
    I am deleted the alarm table, and the errors are gone. So thats the source of the problem.
    I tried to make a new project and check again, but the same errors happend.

     
    • wb16 - 2024-06-10

      Hello Zol6,

      Have you solved this issue? I use Festo PLC CPX-E-CEC-C1 to create alarm monitoring project. In CODESYS V3.5-SP18 I used the Alarm Storage object and have the same problem. Is it the PLC that is not compatible or the version of the library is not match?

      Best,
      wb16

       

      Last edit: wb16 2024-06-10
  • drowley - 2023-03-01

    Hi, I am have a similar problem when I try to run the project I get the error message: "Unresolved reference: 'IECTASKDELETE3'.

    I am running codesys V3.5 SP18 Patch 3 on Windows 11.

    Thanks.

     
  • PaRo - 2023-03-01

    Hi,
    Which target system do you use and in which version? Sounds like the CmpIecTask..
    I can't even imagine that a function from the lib is not supported by the runtime. Probably target system version too old for the library version.

     

Log in to post a comment.