Intelduopower (Customer) asked a question.

Network variable list/Symbol Configuration

Hello,

this is the error I am getting below. Codesys running on any other system allows for more than 5 bytes. I would like to know what other limitations this plc has.

        ------ Build started: Application: Device.Application -------

        Typify code...

[ERROR]     P622: NVL [Device: PLC Logic: Application]: Network variables: Maximum list size reached. Only 5 bytes are allowed.

        Compile complete -- 1 errors, 0 warnings

 

This is the errors I am getting below for the symbol configuration.

 

        ------ Build started: Application: Device.Application -------

        Typify code...

[ERROR]     iecvaraccess, 4.5.0.0 (system): FB_Exit [IecVarAccess]: C0046: Identifier 'IecVarAccUnregisterInstance' not defined

[ERROR]     iecvaraccess, 4.5.0.0 (system): FB_Exit [IecVarAccess]: C0035: Program name, function or function block instance expected instead of 'IecVarAccUnregisterInstance'

[ERROR]     iecvaraccess, 4.5.0.0 (system): Initialize [IecVarAccess]: C0032: Cannot convert type 'Unknown type: 'IecVarAccRegisterInstance3(_IIecVarAccess3, ADR(result))'' to type 'POINTER TO BYTE'

[ERROR]     iecvaraccess, 4.5.0.0 (system): Initialize [IecVarAccess]: C0046: Identifier 'IecVarAccRegisterInstance3' not defined

[ERROR]     iecvaraccess, 4.5.0.0 (system): Initialize [IecVarAccess]: C0035: Program name, function or function block instance expected instead of 'IecVarAccRegisterInstance3'

        Compile complete -- 5 errors, 0 warnings

 

 


  • FACTS_BruceL (AutomationDirect)

    Hey Intel,

     

    Thank you for your detailed post!

     

    Any deviations from the "Stock CODESYS" version that we find, we will address in the "Unsupported Features" or "Errata" section of the documentation site.

     

    For example- https://docs.codesys-p2cds622.com/en/latest/Unsupported/mbus_ascii.html

     

    Re. the Network Variable List error, it is quite possible we have a limitation here also. We will start to look into today and will respond with recommendation on this post as soon as we can.

     

    If more info is needed e.g. your project I will PM you.

     

    Regards

     

    Bruce

    Expand Post
  • TerryW (Customer)

    Just an observation on the Symbol Configuration topic. I don't know if it's possible to separate out the OPC UA from the native CoDeSys Ethernet driver. I chose in some part to use the P2CDS-622 as I assumed since it was a CoDeSys PLC it would support that driver just like all the other CoDeSys PLC's I have used. I much prefer the native driver as it is significantly easier to use than the Modbus driver when an HMI is part of the project. I certainly understand that priorities have to be set on what features should be added next but I hope this one won't be abandoned forever.

    Expand Post
  • EthernetJP (Customer)

    @FACTS_BruceL (AutomationDirect)​ any recommendations for interfacing with 3rd party HMI software e.g. Ignition, Aveva Edge, etc.? I'm new to the P2CDS-622 processor and new to CoDeSys altogether, but so far it seems that Symbol Configuration is the de facto mechanism for a non-CoDeSys visualization solution.

  • FACTS_BruceL (AutomationDirect)

    Hey JP, some folks have used Modbus to interface up to Ignition which unfortunately is manual versus auto like in OPC-UA. The lack of total "Symbol Config" support for us is a problem for sure that we are looking into, but may not be possible on the P2CDS-622 hardware. Our sincerest apologies for this deficiency. I hope you can find a reasonable workaround.

  • EthernetJP (Customer)

    Thanks for the response. I haven't messed around with WebVisu much, but it seems like it could be viable for smaller projects. I should do some benchmarking and see how it goes, but for the most part will probably stick to visualization occurring on a different processor than control logic. I've seen other users mention Weintek / Maple Systems as potentially compatible without Symbol Configuration, but that avenue is as of yet unexplored for me.

    • Durallymax (Customer)

      The built-in visu is very capable, but ships pretty bare bones. All the tools and features are there to create better HMIs than many 3rd parties and the close coupling of the Visu with logic makes it easy to create libraries to generate visus incredibly fast.

       

      WebVisu is great because it runs on anything with a browser. By default the rendering and animations are handled client side, not on the PLC. You can also pack any visu logic into methods that you only call when the specific object is displayed.

       

      The Visu libraries are full of cool stuff like the ability to gather details about each client to force them to a different visu for ex.

      Expand Post
      • EthernetJP (Customer)

        Where's the "super like" button at when you need it? Thanks for taking the time to share this information. I am a not new to controls but am very new to CODESYS, so I've got a lot to learn and, from what I can tell, a lot to look forward to!

10 of 12