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

Error: "IODrvEthernetIP: Connection failure. (16#1)" "Extended Status: Target connection not found. (16#107)"

brazadio
2023-03-16
2023-04-05
  • brazadio - 2023-03-22

    I made the update of the EIP and all other packages that it's giving attentions flags to update.
    Even with this update, the error still there and the runtime reboot one time in the last days.

    Error in attachment.!

     
  • brazadio - 2023-04-02

    Hi,

    There is already more than 3 weeks that I found this error and still not solved.
    I fear for the possibility of a system crash during the full production of the machine.

    Can someone give the an information or a way to debug this failure?

    Thanks.

     
  • AlfredoQuintero - 2023-04-03

    Hello Brazadio: Status 0x01 means connection manager error in EtherNet/IP. Extended Status 0x203 for Status 0x01 means connection timeout. For some reason the EtherNet/IP adapter stops communicating with the CODESYS Scanner. I do not think the probelm is in CODESYS, rather, ti seems to be that either there is a problem with the switch or cabling, or the EtherNet/IP adapter has a problem. Please see attachment. I think you need to take Wireshark traces to figure out the problem.

     
  • AlfredoQuintero - 2023-04-03

    Brazadio, por favor revisa la captura gráfica anexa. CODESYS te reporta estaus 0x01 y estatus extendido 0x203. Como te muestor en el extracto de la especificación CIP, este estatus extendido siginifica que el adaptador deja de comunicarse con el scanner CODESYS. Yo no creo que esto sea problema de CODESYS. Puedes estar teniendo problemas con el adaptador o con el switch. Tienes que tomar capturas con Wireshark para ver por qué termina la conexión.

     
  • thalesmaoa - 2023-04-04

    Problem found! The was to much overhead. Codesys was reaching 70% of cpu usage + codesysedge 10%. We also have nodered running. which was constantly keeping the CPU usage high. Increasing the time from 10ms to 500ms improved the performance and reduced the errors. Would be nice to define the niceness (priority) of codesys. Now it is zero.

     
  • AlfredoQuintero - 2023-04-05

    This is good. If the process tolerates it, if you increase the RPI (requested packet interval) this would also easy CPU use, because the EtherNet/IP scanner stack will be executed with less frequency, which should help with the CPU use.
    Edit: I see, do you mean by "increasing the time" increasing the RPI? if so, your solution is what I am explaining. Good to know you fixed it.

     

    Last edit: AlfredoQuintero 2023-04-05
  • brazadio - 2023-04-05

    Hi.

    Yes, since it's a slow process, we increase the RPI time from 10 ms to 100 ms (Maximum).

    Also I noticed (using ping to all over the system) that it was normal (one time each 30 min) to have a response time of 35-45 ms between the systems, and with the RPI was default (10ms) and the timeout was default (4x RPI), it was easy to the system get this flag you lost communication.

    Thanks for the help.

     
  • AlfredoQuintero - 2023-04-05

    No problem. Let/s hope the project goes smooth from here.

     

Log in to post a comment.