[SOLVED] Install ESI file: Index was outside the bounds of the array

kurvanov
2017-12-14
2017-12-15
  • kurvanov - 2017-12-14

    Dear members,
    I'm trying to install the attached Ethercat Slave Information file (ESI) in device repository of codesys development system 3.5SP10 patch 3.
    The import failed with following error message : Index was outside the bounds of the array
    No further information is reported (line number in xml file, which array....)

    I'm not very fit with Ethercat ESI file, Does anyone know what seems to be wrong in my ESI file ?

    Any help would be greatly appreciated.
    best regards.
    I.kurvanov

    my_ESI_file.xml [49.68 KiB]

     
  • eschwellinger

    eschwellinger - 2017-12-14

    Hi,

    this name here should not be empty, either with name

    <entry>
    <index>#x3000</index>
    <subindex>11</subindex>
    <bitlen>1</bitlen>
    <name></name>
    <datatype>BIT</datatype>
    </entry>

    or remove it.

    BR
    Edwin

    ESI uniVALplc_CS9_ok.xml [49.02 KiB]

     
  • kurvanov - 2017-12-15

    Good morning,

    I confirm that the name of an 'Entry' item shall not be empty as per document Ethercat Slave Information Specification - ETG.2000 S (R) V1.0.7 - Chapter 13.8
    I'm facing a bug in the software I used to generate that ESI file.

    Thank you for your efficient support

     

Log in to post a comment.