<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Codesys SP16 Modbus Serial Connection</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ac51503c69/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ac51503c69/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/ac51503c69/</id><updated>2023-05-29T18:49:24.894000Z</updated><subtitle>Recent posts to Codesys SP16 Modbus Serial Connection</subtitle><entry><title>Codesys SP16 Modbus Serial Connection</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ac51503c69/?limit=25#1f47/33dd" rel="alternate"/><published>2023-05-29T18:49:24.894000Z</published><updated>2023-05-29T18:49:24.894000Z</updated><author><name>grant32</name><uri>https://forge.codesys.com/u/grant32/</uri></author><id>https://forge.codesys.com5720bbdb3204936e56d3edb1ebeb028d2502277c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks! I'm trying to sort out how to actually map those as under Modbus Slave Init I can only change the Register offset of the write data addresses (function codes 5, 6, 15, 16). I've done this exact setup with other PLC's but this interface is messing with me. &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys SP16 Modbus Serial Connection</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ac51503c69/?limit=25#1f47" rel="alternate"/><published>2023-05-29T18:12:46.827000Z</published><updated>2023-05-29T18:12:46.827000Z</updated><author><name>i-campbell</name><uri>https://forge.codesys.com/u/i-campbell/</uri></author><id>https://forge.codesys.coma229900ac75a1fd2ccb95bcb2ec1f1b1f28b42df</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;a href="https://www.beijerelectronics.com/en/Products/Distributed___IO/M___series___IOs/Network___adapter___modules/Network___adapter___modules/M9273#smartengineeringresources" rel="nofollow"&gt;https://www.beijerelectronics.com/en/Products/Distributed&lt;strong&gt;&lt;em&gt;IO/M&lt;/em&gt;&lt;/strong&gt;series&lt;strong&gt;&lt;em&gt;IOs/Network&lt;/em&gt;&lt;/strong&gt;adapter&lt;strong&gt;&lt;em&gt;modules/Network&lt;/em&gt;&lt;/strong&gt;adapter___modules/M9273#smartengineeringresources&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Check the manual of the M9273.&lt;br/&gt;
0x0000 is an illegal data address for 'Write single coil'.&lt;br/&gt;
Looks like 0x1000 would be more appropriate.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys SP16 Modbus Serial Connection</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ac51503c69/?limit=25#268e" rel="alternate"/><published>2023-05-29T17:26:27.544000Z</published><updated>2023-05-29T17:26:27.544000Z</updated><author><name>grant32</name><uri>https://forge.codesys.com/u/grant32/</uri></author><id>https://forge.codesys.comff09c9c624be4ab44d64e4cbca4a66b0e8851d1d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Sorry this attatchment didn't add for some reason&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys SP16 Modbus Serial Connection</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ac51503c69/?limit=25#c77e" rel="alternate"/><published>2023-05-29T17:25:22.639000Z</published><updated>2023-05-29T17:25:22.639000Z</updated><author><name>grant32</name><uri>https://forge.codesys.com/u/grant32/</uri></author><id>https://forge.codesys.come533c6e26eb53fd8458ed412a32027030cdb6dff</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am having a little bit of trouble getting my serial modbus setup. I am using a GN9373 as the master and a M9273 as the slave connected via RS485. I keep getting an "Illegal Data Address" Error as seen in the screenshots. I'm starting with a simple switch and light program to try and get it going. I have tried programming these variables as bits in holding/input registers as well as Coils/discrete inputs. I have also switched the Master Bus Cycle Task to MainTask and always update slave variables. Hopefully someone can help me see something I'm missing! &lt;/p&gt;&lt;/div&gt;</summary></entry></feed>