<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to  Issue with Forward Open Connections in Ethernet/IP Protocol Stack in Codesys</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/82484ffcf9/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/82484ffcf9/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/82484ffcf9/</id><updated>2024-06-25T12:52:47.735000Z</updated><subtitle>Recent posts to  Issue with Forward Open Connections in Ethernet/IP Protocol Stack in Codesys</subtitle><entry><title> Issue with Forward Open Connections in Ethernet/IP Protocol Stack in Codesys</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/82484ffcf9/?limit=25#dc7b" rel="alternate"/><published>2024-06-25T12:52:47.735000Z</published><updated>2024-06-25T12:52:47.735000Z</updated><author><name>pppn</name><uri>https://forge.codesys.com/u/pppn/</uri></author><id>https://forge.codesys.comf017246b854ddd55a16547dad79a70a8c68c78b6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;br/&gt;
    I am facing an issue with my Ethernet-based project in Codesys. My product was functioning well until I modified the protocol stack and uploaded it to my device. Here are the details of my problem:&lt;/p&gt;
&lt;p&gt;Project Setup:&lt;br/&gt;
    I am working on an Ethernet-based project to test my product.&lt;br/&gt;
The project was running without issues before modifying the protocol stack.&lt;/p&gt;
&lt;p&gt;Issue:&lt;br/&gt;
    After modifying the protocol stack and uploading it to my device, I am encountering an error in Codesys related to the forward open connections. Error status: connection failure, extended: connection in use or duplicate forward open.  &lt;/p&gt;
&lt;p&gt;According to the Ethernet/IP protocol, there are three forward open connections that need to be established.&lt;br/&gt;
The first two connections are opening without any issues.&lt;br/&gt;
The third connection, which is an input-only connection, is causing problems.&lt;br/&gt;
The error message indicates that the connection is already open.&lt;/p&gt;
&lt;p&gt;Debugging Attempts:&lt;br/&gt;
    I have extensively debugged the protocol stack and found no issues.&lt;br/&gt;
The product works well when tested with EIP tools but not with Codesys.&lt;br/&gt;
Exclusive owner connections are working correctly, and only the input-only connection is problematic.&lt;/p&gt;
&lt;p&gt;Wireshark Traces:&lt;br/&gt;
    Wireshark traces show that the third connection attempts to open but reports that it is already open.&lt;/p&gt;
&lt;p&gt;Steps to Reproduce:&lt;br/&gt;
Modify the protocol stack and upload it to the device.&lt;br/&gt;
Attempt to establish three forward open connections in Codesys.&lt;br/&gt;
Observe the error on the third connection (input-only).&lt;/p&gt;
&lt;p&gt;Request:&lt;br/&gt;
I would appreciate any suggestions or guidance on how to resolve this issue. If there are specific settings or configurations in Codesys that I need to check, please let me know. Additionally, if there are known issues or workarounds related to this problem, I would be grateful for the information.&lt;/p&gt;
&lt;p&gt;Attachments:&lt;br/&gt;
Wireshark traces showing the connection attempts and errors&lt;br/&gt;
Screenshots of the error messages in Codesys&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>