<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Forum - Recent Threads</title><link>https://community.element14.com/technologies/industrial-automation-space/f/forum</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><lastBuildDate>Wed, 24 Jun 2026 21:58:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://community.element14.com/technologies/industrial-automation-space/f/forum" /><item><title>E14 Community recommendation for ModBus TCP client</title><link>https://community.element14.com/thread/57027?ContentTypeID=0</link><pubDate>Thu, 11 Jun 2026 21:20:08 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:75140b54-2293-4b93-9c1f-fa1f8cd386d5</guid><dc:creator>colporteur</dc:creator><slash:comments>29</slash:comments><comments>https://community.element14.com/thread/57027?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/technologies/industrial-automation-space/f/forum/57027/e14-community-recommendation-for-modbus-tcp-client/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;I am looking for an application to query a ModBus TCP interface on a scale head?&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:360px;max-width:640px;" alt=" " src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/148/scale_5F00_head.png" /&gt;&lt;/p&gt;
&lt;p&gt;The company I am working for has recently installed a RiceLake 1280 scale indicator with a Modbus TCP interface. The scale indicator is IP capable and resides in a network DMZ.&amp;nbsp;The goal is to have a cloud vendor pull scale data over the network from the Modbus interface. I&amp;#39;m looking for an application that can query the Modbus interface&amp;nbsp;to confirm communication with the interface.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The scale vendor recommended an application in order to set the Modbus TCP interface IP address. I managed to get that working, proving the interface IP answers an IP ping. DMZ rules have been set in place to isolate the indicator. I want to test that the cloud vendor can get to the Modbus interface and pull the data. I&amp;#39;m thinking maybe there is a software tool like minicom is for serial communication, except the tool is for Modbus.&lt;/p&gt;
&lt;p&gt;E14 has some great Modbus resources but nothing to match my search.&amp;nbsp;A Modbus client query tool. I&amp;#39;m hoping there is a community member that has experience with Modbus TCP and that they could recommend application software to perform the task.&lt;/p&gt;</description></item><item><title>RE: E14 Community recommendation for ModBus TCP client</title><link>https://community.element14.com/thread/236227?ContentTypeID=1</link><pubDate>Wed, 24 Jun 2026 21:58:36 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:e210b9d9-ab8e-4354-9486-57290c70e809</guid><dc:creator>colporteur</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/236227?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/industrial-automation-space/f/forum/57027/e14-community-recommendation-for-modbus-tcp-client/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;I will close this post by first saying thank you for your input. Sounding out the problem and getting suggestions was helpful in arriving at the solution.&lt;/p&gt;
&lt;p&gt;I culled a link for oceancontrol windows GUI client from the link&amp;nbsp;&amp;nbsp;&lt;a href="https://community.element14.com/members/beacon_5f00_dave"&gt;beacon_dave&lt;/a&gt;&amp;nbsp;provided.&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.element14.com/members/shabaz"&gt;shabaz&lt;/a&gt;&amp;nbsp;python client established a connection, I just didn&amp;#39;t invest in generating a query. It did confirm it was working.&amp;nbsp;&lt;a href="https://community.element14.com/members/bigg"&gt;BigG&lt;/a&gt;&amp;nbsp;&amp;nbsp;input reminded me of net cat a network test tool I had used many moon ago. I confess net cat was the one I used the most.&lt;/p&gt;
&lt;p&gt;Since I was only looking to confirm a connection through the firewall, net cats ease of use made it ideal for quick testing.&amp;nbsp;Supported on windows and linux was bonus. I had to learn the syntax for Windows:( It is not the same as linux.&lt;/p&gt;
&lt;p&gt;With a confirmed modbus tcp interface available it is off to configure and test a VPN end to end solution that will connect the company and vendor. Thanks again for you input.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: E14 Community recommendation for ModBus TCP client</title><link>https://community.element14.com/thread/236177?ContentTypeID=1</link><pubDate>Sat, 20 Jun 2026 19:34:55 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:fdd0ca56-7f5f-4b0a-b381-1ea28faa29b9</guid><dc:creator>BigG</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/236177?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/industrial-automation-space/f/forum/57027/e14-community-recommendation-for-modbus-tcp-client/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Ah fantastic. Not that I would know (noob here). Apparently with &lt;code data-path-to-node="6" data-index-in-node="5"&gt;netcat&lt;/code&gt;, you can transmit the structured Modbus application bytes and see if the hardware replies. This completely validates both the firewall rules &lt;i data-path-to-node="6" data-index-in-node="162"&gt;and&lt;/i&gt; the device&amp;#39;s availability in one go.&lt;br /&gt;&lt;br /&gt;Searching online brought up this page:&amp;nbsp;&lt;a href="https://stackoverflow.com/questions/73982209/send-modbus-rtu-request-via-tcp-with-netcat-and-catch-the-response" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;stackoverflow.com/.../send-modbus-rtu-request-via-tcp-with-netcat-and-catch-the-response&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: E14 Community recommendation for ModBus TCP client</title><link>https://community.element14.com/thread/236173?ContentTypeID=1</link><pubDate>Sat, 20 Jun 2026 14:39:13 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:46ab1744-300a-4ba4-939c-c86fd1641fcb</guid><dc:creator>colporteur</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/236173?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/industrial-automation-space/f/forum/57027/e14-community-recommendation-for-modbus-tcp-client/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;I completely forgot about CLI netcat! I recall you can setup a transmit and receiving end on ports you are examining.&lt;/p&gt;
&lt;p&gt;Man I miss tech coffee breaks. All those minds in one place was a great technical pool of knowledge.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: E14 Community recommendation for ModBus TCP client</title><link>https://community.element14.com/thread/236169?ContentTypeID=1</link><pubDate>Fri, 19 Jun 2026 16:03:20 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:14541113-afaa-4d0b-9654-039aa9230b34</guid><dc:creator>shabaz</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/236169?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/industrial-automation-space/f/forum/57027/e14-community-recommendation-for-modbus-tcp-client/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;I cannot take the credit, AI&amp;nbsp;wrote that code, I merely pointed it at the 1280 user manual, and it spit out Python code, I merely ran it and told it of any errors, so it could correct it. The screenshot below shows what I asked it originally. It&amp;#39;s not perfect as you noticed, since it could have provided more helpful output or automatically abort a test rather than hang.&lt;/p&gt;
&lt;p&gt;Regarding the TCP connection etc., I&amp;#39;m very familiar with that part only because I ended up developing some products that heavily relied on network features/functions,&amp;nbsp;I believe I would struggle&amp;nbsp;with a lot of it&amp;nbsp;if I had to learn it on my own.&lt;/p&gt;
&lt;p&gt;&lt;img alt="image" style="max-height:457px;max-width:433px;"  height="457" src="https://community.element14.com/resized-image/__size/866x914/__key/communityserver-discussions-components-files/148/1280_2D00_ai.png" width="433" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: E14 Community recommendation for ModBus TCP client</title><link>https://community.element14.com/thread/236167?ContentTypeID=1</link><pubDate>Fri, 19 Jun 2026 15:35:13 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:4ac5fe91-46a2-4f4c-8d74-1191c6560f05</guid><dc:creator>colporteur</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/236167?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/industrial-automation-space/f/forum/57027/e14-community-recommendation-for-modbus-tcp-client/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m humbled by your knowledge and thankful that you are willing to share.&lt;/p&gt;
&lt;p&gt;Many eons ago, when my skins had less wrinkles, I recall&amp;nbsp;training with a senior aviation electronics technician in a course. He took the the time to share his experience. The stuff I learned in that short interaction I have never forgot.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;can&amp;#39;t comprehend how you extracted the information from the manual that enabled you to write code and decode the output for the modbus tcp interface. I&amp;#39;m envious.&lt;/p&gt;
&lt;p&gt;I recall listening to a lecturer speaking Russian. I figured if I listened hard enough I would understand Russian. Never understood a word! I have combed the manual and reviewed your code thinking if I try hard enough I will gain the knowledge. It is not working.&lt;/p&gt;
&lt;p&gt;If I was forty years younger, I would invest the time. I accomplished the goal. Just have the test the firewall rules set and be done. Thanks again.&lt;/p&gt;
&lt;p&gt;I tried you trick of connecting to an IP that didn&amp;#39;t support modbus tcp and noted the error. I suspected your code was working. Great work on a first attempt.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: E14 Community recommendation for ModBus TCP client</title><link>https://community.element14.com/thread/236165?ContentTypeID=1</link><pubDate>Fri, 19 Jun 2026 15:22:20 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:c57b38e4-ac7f-4466-b214-c6602b175d50</guid><dc:creator>colporteur</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/236165?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/industrial-automation-space/f/forum/57027/e14-community-recommendation-for-modbus-tcp-client/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;I believe the video is where I found the bread crumbs to the site.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: E14 Community recommendation for ModBus TCP client</title><link>https://community.element14.com/thread/236156?ContentTypeID=1</link><pubDate>Thu, 18 Jun 2026 15:49:31 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:a499695b-02c0-4564-adf5-682e55ebf5e0</guid><dc:creator>shabaz</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/236156?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/industrial-automation-space/f/forum/57027/e14-community-recommendation-for-modbus-tcp-client/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Here is how the&amp;nbsp;1280 did in fact respond during the first test case:&lt;/p&gt;
&lt;p&gt;Your log file indicates the 1280 returned a status code &lt;strong&gt;269&lt;/strong&gt; which in hex would be &lt;strong&gt;0x010d&lt;/strong&gt; or&lt;strong&gt; 0000 0001 0000 1101&lt;/strong&gt; in binary.&lt;/p&gt;
&lt;p&gt;According to the user guide, that means:&lt;/p&gt;
&lt;p&gt;No error, &lt;br /&gt;tare not entered,&amp;nbsp;&lt;br /&gt;center of zero,&lt;br /&gt;weight OK,&lt;br /&gt;standstill, primary units, tare not acquired, gross weight,&lt;br /&gt;first channel (I don&amp;#39;t know if that means channel 0 or channel 1).&lt;/p&gt;
&lt;p&gt;Anyway, perhaps this is now too much detail, since it&amp;#39;s already clear the TCP connection to the 1280 did successfully, and that&amp;#39;s all you requested.&amp;nbsp;However,&amp;nbsp;the test case shows that the actual Modbus TCP protocol layer is successfully being received and sent by the 1280 (from experience/being burnt with various protocols, I wanted the simulation to include Modbus TCP; there are plenty of situations where a TCP connect alone is simply insufficient to be sure that the&amp;nbsp;next layer&amp;nbsp;will pass).&lt;/p&gt;
&lt;p&gt;&lt;img alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/148/status_2D00_data.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: E14 Community recommendation for ModBus TCP client</title><link>https://community.element14.com/thread/236155?ContentTypeID=1</link><pubDate>Thu, 18 Jun 2026 15:23:01 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:ecf22dd5-b2aa-4b69-aaf1-884733272940</guid><dc:creator>beacon_dave</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/236155?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/industrial-automation-space/f/forum/57027/e14-community-recommendation-for-modbus-tcp-client/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;FYI that Ocean Controls tool was one of the ones demonstrated in the video link I posted previously.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://youtu.be/RiYHcFqbxCo?t=1946" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;https://youtu.be/RiYHcFqbxCo?t=1946&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: E14 Community recommendation for ModBus TCP client</title><link>https://community.element14.com/thread/236154?ContentTypeID=1</link><pubDate>Thu, 18 Jun 2026 15:22:05 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:d234681b-4987-4854-8d4a-7d8384976c4d</guid><dc:creator>shabaz</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/236154?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/industrial-automation-space/f/forum/57027/e14-community-recommendation-for-modbus-tcp-client/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Hi Sean,&lt;/p&gt;
&lt;p&gt;Your output is successful. Here is what you&amp;#39;d see if there was no TCP connection at all:&lt;/p&gt;
&lt;p&gt;&lt;img alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/148/no_2D00_connect.png" /&gt;&lt;/p&gt;
&lt;p&gt;And this is what would be seen if the TCP connect occurred, but there was no response data from the 1280 end; it would just hang on Step 1 of the first test case (which has three steps):&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/148/connect_2D00_but_2D00_no_2D00_resp.png" /&gt;&lt;/p&gt;
&lt;p&gt;However in your client_output file, I see this, so it got past step 1 (and 2 and 3) and all of the first test case was successful.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/148/sean_2D00_output.png" /&gt;&lt;/p&gt;
&lt;p&gt;Your log file stops on the second test case step 1. I&amp;#39;m guessing you&amp;#39;ve got the real 1280 device attached, and it simply doesn&amp;#39;t like the second test case (which is fine, since the test cases were written based on the ambiguous user guide, so the second test case happens to attempt a register that the real 1280 doesn&amp;#39;t like. The log file shows that second test case was using a read register # 40257, that&amp;#39;s the only difference from the first test case. So, since it&amp;#39;s now confirmed your real 1280 doesn&amp;#39;t use 40257, that could be deleted from the list inside the cloud_app_simulator.py file if you wished. But it&amp;#39;s already confirmed that the 1280 end did respond with TCP data during the first test case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: E14 Community recommendation for ModBus TCP client</title><link>https://community.element14.com/thread/236152?ContentTypeID=1</link><pubDate>Thu, 18 Jun 2026 15:17:07 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:aee0122c-22a9-423d-b8a6-93db1a44dde3</guid><dc:creator>colporteur</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/236152?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/industrial-automation-space/f/forum/57027/e14-community-recommendation-for-modbus-tcp-client/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;An update on the goal of finding a modbus TCP client.&lt;/p&gt;
&lt;p&gt;My attempt with Shabaz offering wasn&amp;#39;t successful so I moved onto hits from a google search for modbus tcp client.&lt;/p&gt;
&lt;p&gt;oceancontrols has such a beast for Windows.&amp;nbsp;&lt;a id="" href="https://oceancontrols.com.au/software-modbusview-tcp-ocs-011.html" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;https://oceancontrols.com.au/software-modbusview-tcp-ocs-011.html&lt;/a&gt;&amp;nbsp;The free software timeout every 15 minutes. Once restarted you have to setup communication. I installed the software in a Windows sandbox to test.&lt;/p&gt;
&lt;p&gt;&lt;img alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/148/oceancontrol_5F00_modbus.png" /&gt;&lt;/p&gt;
&lt;p&gt;I believe it is important to provide a return on investment. Your responses are valuable here is a return.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know Modbus protocol and I am not in the market to learn it. My goal was to find software that I could use to test the ability to connect to a modbus tcp interface&amp;nbsp;through the firewall to the DMZ.&lt;/p&gt;
&lt;p&gt;The oceancontrol software is easy to install from their download.&lt;/p&gt;
&lt;p&gt;The Configure tab (Ellipse A) is where you set the IP address of the device you want to connect to. There is no ability to save this in the free software therefore every 15minutes you have to start over.&lt;/p&gt;
&lt;p&gt;Pressing the Start Polling button generates Status window messages and the poll window changes to Active.&lt;/p&gt;
&lt;p&gt;Under the Communication tab you bring up a log or monitor window. The top half of the monitor window transmit screen, shows polling numbers and the bottom half polling response numbers (Ellipse B) poll 36 gives a return of poll 36. There is a polling number receive for every transmit.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;A quick cmd window netstat -an shows a connection established (Ellipse C) to the IP address and port of the interface. When polling is stopped this connection disappears.&amp;nbsp;YES! We are connecting and communicating to the modbus tcp interface.&lt;/p&gt;
&lt;p&gt;I was unsuccessful when I tried using the registers to write and read. It would be nice to interact, request a read of the scale head and see some data but that is not necessary to reach my goal.&amp;nbsp; I have little programming knowledge so I abandoned that exercise.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For this test the modbus tcp interface was outside the DMZ. Next step is to reposition the interface inside and start testing communication into the DMZ.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: E14 Community recommendation for ModBus TCP client</title><link>https://community.element14.com/thread/236151?ContentTypeID=1</link><pubDate>Thu, 18 Jun 2026 13:49:47 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:fb811e94-cc97-4e6e-bc5f-8b0cb4950e14</guid><dc:creator>colporteur</dc:creator><slash:comments>2</slash:comments><comments>https://community.element14.com/thread/236151?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/industrial-automation-space/f/forum/57027/e14-community-recommendation-for-modbus-tcp-client/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve used your client side program. It appears to connect but generates errors.&lt;a href="https://community.element14.com/cfs-file/__key/communityserver-discussions-components-files/148/client_5F00_output.zip"&gt;community.element14.com/.../client_5F00_output.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: E14 Community recommendation for ModBus TCP client</title><link>https://community.element14.com/thread/236117?ContentTypeID=1</link><pubDate>Sat, 13 Jun 2026 16:57:32 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:866d9d15-707f-4533-b5ea-c1c03f53f5a7</guid><dc:creator>BigG</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/236117?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/industrial-automation-space/f/forum/57027/e14-community-recommendation-for-modbus-tcp-client/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;A slight deviation/distraction but I wondered if the page you shared would make for a Github project (something I&amp;#39;m exploring at present). So, I opened up the question to Gemini...&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p data-path-to-node="5"&gt;The file you linked is an excellent core element of a project because it has:&lt;/p&gt;
&lt;ol start="1" data-path-to-node="6"&gt;
&lt;li&gt;
&lt;p data-path-to-node="6,0,0"&gt;&lt;b data-path-to-node="6,0,0" data-index-in-node="0"&gt;Defined Terminology:&lt;/b&gt; It explicitly details domain-specific terms (like &lt;i data-path-to-node="6,0,0" data-index-in-node="71"&gt;coils&lt;/i&gt;, &lt;i data-path-to-node="6,0,0" data-index-in-node="78"&gt;discrete inputs&lt;/i&gt;, &lt;i data-path-to-node="6,0,0" data-index-in-node="95"&gt;holding registers&lt;/i&gt;) so a developer doesn&amp;#39;t have to guess.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p data-path-to-node="6,1,0"&gt;&lt;b data-path-to-node="6,1,0" data-index-in-node="0"&gt;Clear Structures and Mappings:&lt;/b&gt; It provides precise payload formats (&lt;code data-path-to-node="6,1,0" data-index-in-node="68"&gt;&amp;lt;additional_address&amp;gt; &amp;lt;modbus_request_pdu&amp;gt; ...&lt;/code&gt;) and error/exception tables.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p data-path-to-node="6,2,0"&gt;&lt;b data-path-to-node="6,2,0" data-index-in-node="0"&gt;Actionable Utility:&lt;/b&gt; A developer trying to write a Modbus communication driver in Python, C, or Go can look directly at this markdown file and know exactly how to structure their bytes.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p data-path-to-node="7"&gt;An ideal GitHub project is simply &lt;b data-path-to-node="7" data-index-in-node="34"&gt;a centralized workspace that solves a specific technical problem or serves a clear purpose for its target audience.&lt;/b&gt; It can be pure code, pure documentation, or a mixture of both.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: E14 Community recommendation for ModBus TCP client</title><link>https://community.element14.com/thread/236116?ContentTypeID=1</link><pubDate>Sat, 13 Jun 2026 14:23:03 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:74241b4d-d911-4362-a4c5-c43a07fc4b3e</guid><dc:creator>shabaz</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/236116?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/industrial-automation-space/f/forum/57027/e14-community-recommendation-for-modbus-tcp-client/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m doing a similar thing.. I&amp;#39;m getting AI to help me with my notes, since the Wikipedia pages (and other resources) have info scattered, and I just wanted it condensed. This is a work-in-progress, I still need to check, and will test with my real device, and capture some traffic and so on:&amp;nbsp;&lt;a href="https://github.com/shabaz123/modbus_tools/blob/main/modbus_rtu_format.md" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;modbus_tools/modbus_rtu_format.md at main &amp;middot; shabaz123/modbus_tools&lt;/a&gt;&amp;nbsp;(but please don&amp;#39;t use this yet, since I&amp;#39;m still learning!).&lt;/p&gt;
&lt;p&gt;In some ways sometimes it&amp;#39;s better coming at things from a beginner perspective when writing notes, because then&amp;nbsp;one learns what&amp;#39;s unclear in existing online documentation, and those are the areas I like to focus on, because it&amp;#39;s almost guaranteed I will eventually forget again and so I will want to re-read quickly.&lt;/p&gt;
&lt;p&gt;I got AI to write me the software for the checksum (CRC) that RTU uses (TCP doesn&amp;#39;t require it), verified it on Windows with real examples, and will also build it on a Pi Pico to double-check (there&amp;#39;s no endianness issue, but I still want to test on at least one microcontroller).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: E14 Community recommendation for ModBus TCP client</title><link>https://community.element14.com/thread/236115?ContentTypeID=1</link><pubDate>Sat, 13 Jun 2026 14:07:13 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:e59c4956-07fd-4bba-b870-ea3223a6150b</guid><dc:creator>BigG</dc:creator><slash:comments>2</slash:comments><comments>https://community.element14.com/thread/236115?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/industrial-automation-space/f/forum/57027/e14-community-recommendation-for-modbus-tcp-client/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Having never done this, I was curious. So, decided to ask my AI assistant as this is how I am now learning these days. You learn by doing. The benefit with this method is that it pays to be wrong and AI is great at doing that. It simply sets a direction and off you go. Maybe this is helpful...&lt;br /&gt;&lt;br /&gt;&lt;a href="https://gemini.google.com/share/9aba1ba75b87" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;gemini.google.com/.../9aba1ba75b87&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: E14 Community recommendation for ModBus TCP client</title><link>https://community.element14.com/thread/236114?ContentTypeID=1</link><pubDate>Sat, 13 Jun 2026 13:47:30 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:d1d2c586-0af9-422e-b636-79b4a2e93aae</guid><dc:creator>shabaz</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/236114?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/industrial-automation-space/f/forum/57027/e14-community-recommendation-for-modbus-tcp-client/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Hi! Might depend on what the cloud app vendor can do. Depending on what they&amp;#39;re using (e.g. PaaS) they might not have as much flexibility to&amp;nbsp;confirm if things are working&amp;nbsp;at that low level (i.e. TCP socket). Hence&amp;nbsp;to preempt&amp;nbsp;that, if the test&amp;nbsp;included a higher level (i.e. valid Modbus TCP messages) then that may be quicker for them to be confident the comms is working fine, even though the Modbus TCP messages can be garbage (valid garbage). If the cloud app vendor can work at a low-level in the stack then you&amp;#39;re right, just a TCP level check&amp;nbsp;might be sufficient.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: E14 Community recommendation for ModBus TCP client</title><link>https://community.element14.com/thread/236113?ContentTypeID=1</link><pubDate>Sat, 13 Jun 2026 13:32:29 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:52117641-542e-476a-9309-ee11cd5be010</guid><dc:creator>shabaz</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/236113?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/industrial-automation-space/f/forum/57027/e14-community-recommendation-for-modbus-tcp-client/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Here&amp;#39;s a video of the Python code in case it&amp;#39;s needed to see how to run it..&lt;/p&gt;
&lt;p&gt;&lt;a href="https://youtu.be/1O3W2kOLMrQ"&gt;https://youtu.be/1O3W2kOLMrQ&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: E14 Community recommendation for ModBus TCP client</title><link>https://community.element14.com/thread/236111?ContentTypeID=1</link><pubDate>Sat, 13 Jun 2026 13:21:05 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:0a83e7fb-379a-46d3-8c5d-ce1e7663ffaf</guid><dc:creator>colporteur</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/236111?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/industrial-automation-space/f/forum/57027/e14-community-recommendation-for-modbus-tcp-client/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;I don&amp;#39;t see the need at the moment to rabbit hole wireshark. If I can query the interface (i.e. a client tools) and get results, I&amp;#39;m out of here. TCP passes the DMZ rules I&amp;#39;m golden. Myopic focus, can connection pass packet pass the FW.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: E14 Community recommendation for ModBus TCP client</title><link>https://community.element14.com/thread/236110?ContentTypeID=1</link><pubDate>Sat, 13 Jun 2026 13:17:50 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:d2db38b6-49f1-4ff5-ab89-3f7ab2cc65f0</guid><dc:creator>colporteur</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/236110?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/industrial-automation-space/f/forum/57027/e14-community-recommendation-for-modbus-tcp-client/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Yeah I got excited with this find. I&amp;#39;ve considered a cut and paste to see if I can get a phthon scrpt to work. Shabaz has given me a better starting point, so I will start there first if an app search is unfruitful.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: E14 Community recommendation for ModBus TCP client</title><link>https://community.element14.com/thread/236109?ContentTypeID=1</link><pubDate>Sat, 13 Jun 2026 13:03:10 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:38ea4312-38a0-46a3-8a09-47c147c5b6eb</guid><dc:creator>shabaz</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/236109?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/industrial-automation-space/f/forum/57027/e14-community-recommendation-for-modbus-tcp-client/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;WireShark is awesome.. just noticed there&amp;#39;s an extension that will do Modbus-RTU too:&amp;nbsp;&lt;a href="https://github.com/jzhvymetal/WiresharkSerialAdapter" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;jzhvymetal/WiresharkSerialAdapter: Wireshark Serial Adapter for Windows&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m currently writing up some notes for myself regarding RTU, (will put them on GitHub) but will probably test with WireShark to confirm I&amp;#39;ve interpreted things right.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: E14 Community recommendation for ModBus TCP client</title><link>https://community.element14.com/thread/236106?ContentTypeID=1</link><pubDate>Sat, 13 Jun 2026 11:03:44 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:5e3045f7-1c21-4499-9bfb-7de2e3293ab4</guid><dc:creator>beacon_dave</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/236106?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/industrial-automation-space/f/forum/57027/e14-community-recommendation-for-modbus-tcp-client/rss?ContentTypeId=0</wfw:commentRss><description>[quote userid="123345" url="~/technologies/industrial-automation-space/f/forum/57027/e14-community-recommendation-for-modbus-tcp-client/236099"]I suppose one other thing worth doing is perhaps running WireShark, and examining if it successfully decodes whatever is sent by these two simulators. I didn&amp;#39;t try that (I&amp;#39;ve not got WireShark installed currently)[/quote]
&lt;p&gt;&lt;em&gt;Learn the Modbus RTU and Modbus TCP protocol in 1 hour:&amp;nbsp;&lt;br /&gt;Tools for testing Modbus (Modbus TCP View, &lt;strong&gt;Wireshark&lt;/strong&gt;)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=RiYHcFqbxCo&amp;amp;t=2006s" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;https://www.youtube.com/watch?v=RiYHcFqbxCo&amp;amp;t=2006s&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: E14 Community recommendation for ModBus TCP client</title><link>https://community.element14.com/thread/236105?ContentTypeID=1</link><pubDate>Sat, 13 Jun 2026 09:54:52 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:48d947be-c62a-42d3-92d5-39652bcb25bb</guid><dc:creator>beacon_dave</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/236105?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/industrial-automation-space/f/forum/57027/e14-community-recommendation-for-modbus-tcp-client/rss?ContentTypeId=0</wfw:commentRss><description>[quote userid="37381" url="~/technologies/industrial-automation-space/f/forum/57027/e14-community-recommendation-for-modbus-tcp-client/236101"]I figured someone here would have used a modbus client. Coming up zeros.[/quote]
&lt;p&gt;&lt;em&gt;&amp;quot;...This also required using Modbus (TCP)&amp;nbsp;within a Python script to be able to send commands...&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://community.element14.com/challenges-projects/project14/musictime/b/blog/posts/100-year-old-player-piano-gets-an-update-music-time-via-python-and-modbus-tcp" data-e14adj="t"&gt;https://community.element14.com/challenges-projects/project14/musictime/b/blog/posts/100-year-old-player-piano-gets-an-update-music-time-via-python-and-modbus-tcp&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: E14 Community recommendation for ModBus TCP client</title><link>https://community.element14.com/thread/236101?ContentTypeID=1</link><pubDate>Sat, 13 Jun 2026 01:15:53 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:89338520-d34c-486f-9404-8fe7345b8edd</guid><dc:creator>colporteur</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/236101?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/industrial-automation-space/f/forum/57027/e14-community-recommendation-for-modbus-tcp-client/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Thanks S. I will it a try next week.&lt;/p&gt;
&lt;p&gt;I have a programmer friend that did something simulator. He had a python script running a modbus server. I couldn&amp;#39;t buy him enough beer to make a client:(&lt;/p&gt;
&lt;p&gt;I figured someone here would have used a modbus client. Coming up zeros.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: E14 Community recommendation for ModBus TCP client</title><link>https://community.element14.com/thread/236099?ContentTypeID=1</link><pubDate>Fri, 12 Jun 2026 21:34:27 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:fec1007a-03a2-411a-baf9-8fb8346e51e8</guid><dc:creator>shabaz</dc:creator><slash:comments>4</slash:comments><comments>https://community.element14.com/thread/236099?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/industrial-automation-space/f/forum/57027/e14-community-recommendation-for-modbus-tcp-client/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Hi Sean,&lt;/p&gt;
&lt;p&gt;While it&amp;#39;s not the best protocol for this (it&amp;#39;s a bit &amp;quot;naked&amp;quot;! and the cloud app vendor ought to have come up with better proposals to be honest), but anyway, I was interested, because by coincidence I&amp;#39;m&amp;nbsp;just getting going with&amp;nbsp;Modbus RTU currently (RS-485 instead of TCP, some differences in the protocol).&amp;nbsp;I got curious enough to try to find the user manual for the 1280 Modbus TCP card. I gave that to AI, and it generated the Python code attached below. It complained that the user manual was vague in places, which it is, so I told it to try to make a simulator that accepted a few different function codes, and then try to simulate the cloud side too).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The screenshot shows the 1280_simulator.py file running at the left side, it just sits and waits for a connection.&lt;/p&gt;
&lt;p&gt;On the right window, you can see the cloud_app_simulator.py file running, it makes a TCP connection to the 1280 simulator, and then tries a few function codes.&lt;/p&gt;
&lt;p&gt;Currently the code transmits to port 127.0.0.1 and port 1502, you&amp;#39;d need to modify both of those to suit your needs.&lt;/p&gt;
&lt;p&gt;Please don&amp;#39;t ask me for modifications or tweaks, I don&amp;#39;t know Modbus TCP nor what the AI did! : ) It might be ok but it might not. It might completely fail.&lt;/p&gt;
&lt;p&gt;I suppose one other thing worth doing is perhaps running WireShark, and examining if it successfully decodes whatever is sent by these two simulators. I didn&amp;#39;t try that (I&amp;#39;ve not got WireShark installed currently). I only tried running the Python code on Windows, it should work with Linux but I can&amp;#39;t be sure.&lt;/p&gt;
&lt;p&gt;&lt;img alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/148/example_2D00_run.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://community.element14.com/cfs-file/__key/communityserver-discussions-components-files/148/modbus_5F00_tcp_5F00_python.zip"&gt;community.element14.com/.../modbus_5F00_tcp_5F00_python.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: E14 Community recommendation for ModBus TCP client</title><link>https://community.element14.com/thread/236098?ContentTypeID=1</link><pubDate>Fri, 12 Jun 2026 20:17:44 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:4b64290c-61aa-4b8e-92cd-9b0d5da113f3</guid><dc:creator>obones</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/236098?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/industrial-automation-space/f/forum/57027/e14-community-recommendation-for-modbus-tcp-client/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Well, telnet will tell you if the connection can be established, which is a first &amp;quot;layer&amp;quot; of tests.&lt;/p&gt;
&lt;p&gt;After that, a quick search for modbus TCP lead me to this reddit with a few suggestions:&amp;nbsp;&lt;a href="https://www.reddit.com/r/PLC/comments/ncp724/modbus_tcp_computer_client/?show=original" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;https://www.reddit.com/r/PLC/comments/ncp724/modbus_tcp_computer_client/?show=original&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>