<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Modbus TCP communication</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/fa385cd1d8/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/fa385cd1d8/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/fa385cd1d8/</id><updated>2023-10-06T12:35:51.007000Z</updated><subtitle>Recent posts to Modbus TCP communication</subtitle><entry><title>Modbus TCP communication</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/fa385cd1d8/?limit=25#9e8a" rel="alternate"/><published>2023-10-06T12:35:51.007000Z</published><updated>2023-10-06T12:35:51.007000Z</updated><author><name>ofey</name><uri>https://forge.codesys.com/u/ofey/</uri></author><id>https://forge.codesys.comd4e1252a337388d483a9bd89d5acc43d6680f553</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi! I tried setting up the PLC I'm working with (Beijer GN-9373) to connect to a modbus master running on a laptop. I have an ethernet connection (via USB-C to ethernet) between the laptop and the controller.&lt;/p&gt;
&lt;p&gt;I have tried following tutorial on how to set this up. I have added an ethernet device with the IP-address of the PLC.&lt;br/&gt;
Further I added a ModbusTCP_Slave_Device with default settings.&lt;br/&gt;
I get the error "Failed to open TCP Port: 1" when I try to go online with the PLC.&lt;/p&gt;
&lt;p&gt;Earlier I tested the exact same set up with the soft PLC from codesys. I can then read/write values correctly with the Modbus master i have running on the laptop.&lt;/p&gt;
&lt;p&gt;Hope anybody can help me with this, thanks in advance!&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>