<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Accessing ModbusTCP addresses from python</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/6a7b312fcb/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/6a7b312fcb/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/6a7b312fcb/</id><updated>2023-09-20T06:22:40.656000Z</updated><subtitle>Recent posts to Accessing ModbusTCP addresses from python</subtitle><entry><title>Accessing ModbusTCP addresses from python</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/6a7b312fcb/?limit=25#17d4" rel="alternate"/><published>2023-09-20T06:22:40.656000Z</published><updated>2023-09-20T06:22:40.656000Z</updated><author><name>TimvH</name><uri>https://forge.codesys.com/u/timvh/</uri></author><id>https://forge.codesys.come48bab6cb98f296d9960784288e84d4c5821ad70</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;a href="https://en.wikipedia.org/wiki/Modbus" rel="nofollow"&gt;https://en.wikipedia.org/wiki/Modbus&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Accessing ModbusTCP addresses from python</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/6a7b312fcb/?limit=25#167c" rel="alternate"/><published>2023-09-20T05:10:48.695000Z</published><updated>2023-09-20T05:10:48.695000Z</updated><author><name>jeffgamsby</name><uri>https://forge.codesys.com/u/jeffgamsby/</uri></author><id>https://forge.codesys.com9ca17b8122c8090ccfe22a03525dc138864eb258</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, I am new to modbusTCP and I am trying to access Input registers from codesys (3.5.SP13). The offset is 16#0000 and I am trying to access Channel 1&lt;span&gt;[24]&lt;/span&gt; %IW24 to pull analog values. I am using pyModbusTCP and I need to supply a modbus address and the number of registers to read. &lt;/p&gt;
&lt;p&gt;What does 16#0000 mean in terms of the actual offset, how do I translate this number plus the channel to access this info via python?&lt;/p&gt;
&lt;p&gt;Any help would be appreciated, thank you.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>