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

Problem by compiling with XML_Utility_SL, 1.0.4.0 (IoT Lib)

alebrije
2022-10-19
2022-10-19
  • alebrije - 2022-10-19

    Hello,
    I have been using this library since the beginning of the year, and suddenly I started to receive this error:
    ------ Build started: Application: Device.Application -------
    Typify code...
    [ERROR] UTBOpcUa: C0046: Identifier 'gc_udiMaxValueSize' not defined
    [ERROR] UTBOpcUa: C0436: String length 'gc_udiMaxValueSize' is no constant value
    [ERROR] UTBOpcUa: C0046: Identifier 'gc_udiMaxValueSize' not defined
    [ERROR] UTBOpcUa: C0436: String length 'gc_udiMaxValueSize' is no constant value
    [ERROR] UTBOpcUa: C0046: Identifier 'gc_udiMaxValueSize' not defined
    [ERROR] UTBOpcUa: C0436: String length 'gc_udiMaxValueSize' is no constant value
    [ERROR] UTBOpcUa: C0046: Identifier 'gc_udiMaxValueSize' not defined
    [ERROR] UTBOpcUa: C0436: String length 'gc_udiMaxValueSize' is no constant value
    [ERROR] UTBOpcUa: C0046: Identifier 'gc_udiMaxValueSize' not defined
    [ERROR] UTBOpcUa: C0436: String length 'gc_udiMaxValueSize' is no constant value
    [ERROR] UTBOpcUa: C0046: Identifier 'gc_udiMaxValueSize' not defined
    [ERROR] UTBOpcUa: C0436: String length 'gc_udiMaxValueSize' is no constant value
    [ERROR] UTBOpcUa: C0046: Identifier 'gc_udiMaxValueSize' not defined
    [ERROR] UTBOpcUa: C0436: String length 'gc_udiMaxValueSize' is no constant value
    [ERROR] UTBOpcUa: C0046: Identifier 'gc_udiMaxValueSize' not defined
    [ERROR] UTBOpcUa: C0436: String length 'gc_udiMaxValueSize' is no constant value
    [ERROR] UTBOpcUa: OPC_UA_TrotecLaser [Device: PLC Logic: Application: Communication Manager]: C0046: Identifier 'gc_udiMaxValueSize' not defined
    [ERROR] UTBOpcUa: OPC_UA_TrotecLaser [Device: PLC Logic: Application: Communication Manager]: C0436: String length 'gc_udiMaxValueSize' is no constant value
    Compile complete -- 18 errors, 4 warnings
    Build complete -- 18 errors, 4 warnings : No download possible

    All of this errors came after modifying a function block that uses the result of the function XMLGetElementAsync.

    Can somebody tell me why does the param inside the library is no longer recognized?...
    What i did before to solve this issue was creating a new project and copy paste all what i have in my current, but now my project is too big and also Git connected in order to try a new one.
    There should be a solution for this, any ideas will be welcome.

     
  • alebrije - 2022-10-19

    Solution:
    I uninstall the IoT library, and reinstalled.
    Would be nice still to know the base of this issue... license? wrong installation? 2 versions were installed, is this an issue?
    Well, will be nice to know
    Regards!

     

Log in to post a comment.