<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Modbus TCP Slave support for Coils/InputRegisters (bit)</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/8615dba050/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/8615dba050/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/8615dba050/</id><updated>2020-02-27T15:51:52.708000Z</updated><subtitle>Recent posts to Modbus TCP Slave support for Coils/InputRegisters (bit)</subtitle><entry><title>Modbus TCP Slave support for Coils/InputRegisters (bit)</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/8615dba050/?limit=25#9084" rel="alternate"/><published>2020-02-27T15:51:52.708000Z</published><updated>2020-02-27T15:51:52.708000Z</updated><author><name>proaquatics</name><uri>https://forge.codesys.com/u/proaquatics/</uri></author><id>https://forge.codesys.com58e8a897e9455c225f8117befc847fdc6aa77269</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Is this the same for ModBus Serial RTU?  I have a HMI that is reading (FC-1) and writing (FC-15) coils to a CoDeSys PLC that is set up as a ModBus Serial Slave device.  Only the Holding &amp;amp; Inputs registers show up in the I/O mapping.  So will the coil read and writes from the HMI master show up in the mapping in the same way it does for TCP...(i.e. 00001 =40001 bit 0)?&lt;/p&gt;
&lt;p&gt;Also...how would you then read and write the 30000 &amp;amp; 40000 registers?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Modbus TCP Slave support for Coils/InputRegisters (bit)</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/8615dba050/?limit=25#d0b9" rel="alternate"/><published>2020-02-27T15:51:51.961000Z</published><updated>2020-02-27T15:51:51.961000Z</updated><author><name>xselvasx</name><uri>https://forge.codesys.com/u/xselvasx/</uri></author><id>https://forge.codesys.com75ac52b2c48912b3f909f4f98d3f9498bf05950d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Normally there is an area for input register and an area for holding register, you can read the same area as discrete input and coil.&lt;br/&gt;
For example if you read the first discrete input is the same as reading the first bit of the first input register.&lt;br/&gt;
10001 = 30001 bit 0&lt;br/&gt;
10002 = 30001 bit 1&lt;/p&gt;
&lt;p&gt;00001 = 40001 bit 0&lt;br/&gt;
00002 = 40001 bit 1&lt;/p&gt;
&lt;p&gt;inside the PLC (slave tcp):&lt;br/&gt;
30001 = %QW0 and 10001 = %QX0.0&lt;br/&gt;
40001 = %IW0 and 00001 = %IX0.0&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Modbus TCP Slave support for Coils/InputRegisters (bit)</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/8615dba050/?limit=25#bdcd" rel="alternate"/><published>2020-02-27T15:51:49.819000Z</published><updated>2020-02-27T15:51:49.819000Z</updated><author><name>yyannekk</name><uri>https://forge.codesys.com/u/yyannekk/</uri></author><id>https://forge.codesys.comf182c8e75e8d31a9bf05f28c55e928699adc0154</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The Pi ModbusTCPSlave Device seem to only support Holding and Input Registers but no Coils/Discrete Inputs?&lt;br/&gt;
In the main Config I can set start addresses, but I don't have access in the IO mapping&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: ModbusTCPAEAbbild.PNG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=1696"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: ModbusTCPSlave.PNG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=1695"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>