<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Programmatically change the IP addresses of the Modbus TCP slave devices</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/54132ae9c1/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/54132ae9c1/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/54132ae9c1/</id><updated>2024-12-10T10:33:14.923000Z</updated><subtitle>Recent posts to Programmatically change the IP addresses of the Modbus TCP slave devices</subtitle><entry><title>Programmatically change the IP addresses of the Modbus TCP slave devices</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/54132ae9c1/?limit=25#6ac3" rel="alternate"/><published>2024-12-10T10:33:14.923000Z</published><updated>2024-12-10T10:33:14.923000Z</updated><author><name>fedu</name><uri>https://forge.codesys.com/u/fedu/</uri></author><id>https://forge.codesys.comd9fb68d7f12e99a4e0f392ee60603e3a3c18b3ea</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have the same need. Did you solve it?&lt;br/&gt;
thanks&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Programmatically change the IP addresses of the Modbus TCP slave devices</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/54132ae9c1/?limit=25#b1c1" rel="alternate"/><published>2024-12-10T10:33:08.547000Z</published><updated>2024-12-10T10:33:08.547000Z</updated><author><name>fedu</name><uri>https://forge.codesys.com/u/fedu/</uri></author><id>https://forge.codesys.com705d475a12c474644ff6e8d216b817052d92bd04</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have the same need. Did you solve it?&lt;br/&gt;
thanks&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Programmatically change the IP addresses of the Modbus TCP slave devices</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/54132ae9c1/?limit=25#b897" rel="alternate"/><published>2024-01-04T08:04:12.178000Z</published><updated>2024-01-04T08:04:12.178000Z</updated><author><name>joanm</name><uri>https://forge.codesys.com/u/joanm/</uri></author><id>https://forge.codesys.com1bab00a1b04d6cc9f229b5e41a221fcd310c2355</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello all,&lt;/p&gt;
&lt;p&gt;I am working in a project in which there are multiple Modbus TCP slaves.&lt;br/&gt;
I need to be able to change the IP addresses of those devices from the HMI and I was planning to use the process depicted here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://faq.codesys.com/display/CDSFAQ/Modbus+TCP+Slave%3A+Dynamic+Setting+of+the+IP+Address" rel="nofollow"&gt;https://faq.codesys.com/display/CDSFAQ/Modbus+TCP+Slave%3A+Dynamic+Setting+of+the+IP+Address&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I can see the port number is what is used to specify which slave device we want to modify the IP address of.&lt;/p&gt;
&lt;p&gt;This said, can I freely set arbitrary port numbers to each device?  I mean, can I set the first device to be at port 502, the second one at port 503...&lt;/p&gt;
&lt;p&gt;Any drawback or restriction?&lt;/p&gt;
&lt;p&gt;Is there any other way to reference to the device without having to change the port numbers?&lt;/p&gt;
&lt;p&gt;Thank you all in advance.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>