<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to unit ID in modbus TCP slave device</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b616007173/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b616007173/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/b616007173/</id><updated>2021-01-07T11:57:08.775000Z</updated><subtitle>Recent posts to unit ID in modbus TCP slave device</subtitle><entry><title>unit ID in modbus TCP slave device</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b616007173/?limit=25#de0e" rel="alternate"/><published>2021-01-07T11:57:08.775000Z</published><updated>2021-01-07T11:57:08.775000Z</updated><author><name>thebushyone</name><uri>https://forge.codesys.com/u/thebushyone/</uri></author><id>https://forge.codesys.comf5a78b1068a60b3994dce9dcca9fa151711d9725</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Sorry, should have posted. The issue ended up being that in Modbus TCP Slave I/O Mapping I had to change the Bus Cycle Task to "Task" and the Always Update Variables to "Enabled 2 (always in bus cycle task)". Everything kick in at that point&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>unit ID in modbus TCP slave device</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b616007173/?limit=25#e0ba" rel="alternate"/><published>2021-01-07T10:51:54.737000Z</published><updated>2021-01-07T10:51:54.737000Z</updated><author><name>i-campbell</name><uri>https://forge.codesys.com/u/i-campbell/</uri></author><id>https://forge.codesys.com4a256fadd418c0c29f5536f8996fcf9534d7f9da</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;With SP17 (March 2021 maybe?) the modbus TCP slave device will ignore the unit-ID, if a serial gateway is not enabled.  So you will be able to use any unit-id you like.  Currently Unit-ID 0 (really a broadcast to all addresses) and Unit-ID 255 work.&lt;/p&gt;
&lt;p&gt;I am curious, do you have some modbus-master device, which cannot use unit-id 0 nor 255?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>unit ID in modbus TCP slave device</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b616007173/?limit=25#546a/da4f" rel="alternate"/><published>2021-01-07T09:24:40.026000Z</published><updated>2021-01-07T09:24:40.026000Z</updated><author><name>mmxfan</name><uri>https://forge.codesys.com/u/mmxfan/</uri></author><id>https://forge.codesys.com0a7f00a0f785f5f9cf14e8c2ca2807c5b817274e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;not a chance.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>unit ID in modbus TCP slave device</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b616007173/?limit=25#546a" rel="alternate"/><published>2020-12-18T21:56:50.684000Z</published><updated>2020-12-18T21:56:50.684000Z</updated><author><name>thebushyone</name><uri>https://forge.codesys.com/u/thebushyone/</uri></author><id>https://forge.codesys.com2d2b45bbbd2aa8eeb737b1fe1f693aa9f3cdc80c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi mmxfan, Did you find a solution as I have the exact same problem with the removal of the unit ID&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>unit ID in modbus TCP slave device</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b616007173/?limit=25#c5ef" rel="alternate"/><published>2020-11-05T09:01:49.171000Z</published><updated>2020-11-05T09:01:49.171000Z</updated><author><name>mmxfan</name><uri>https://forge.codesys.com/u/mmxfan/</uri></author><id>https://forge.codesys.comb0ce9b2e1a1a04f92dc55dd7d58377a3bfc72bac</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Why I cannot find the unit ID on "Tab ‘ModbusTCP Slave Device - General’"? Is it because I'm using the latest version of the modbus TCP slave library? Without unit ID setting available, I have to set device ID to 255 when using modscan or other test softwares. Or is there any to ignore the unit ID for the modbus TCP slave device?&lt;/p&gt;
&lt;p&gt;&lt;img src="./attachment/20201105165530.jpg" width="50%"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="./attachment/20201105165602.jpg" width="50%"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="./attachment/20201105170007.jpg" width="50%"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>