<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Codesys ModBus TCP Master and Arduino ModBus TCP Slave</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/c5838c79c3/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/c5838c79c3/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/c5838c79c3/</id><updated>2020-02-27T17:23:06.700000Z</updated><subtitle>Recent posts to Codesys ModBus TCP Master and Arduino ModBus TCP Slave</subtitle><entry><title>Codesys ModBus TCP Master and Arduino ModBus TCP Slave</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/c5838c79c3/?limit=25#6cfb" rel="alternate"/><published>2020-02-27T17:23:06.700000Z</published><updated>2020-02-27T17:23:06.700000Z</updated><author><name>alverman</name><uri>https://forge.codesys.com/u/alverman/</uri></author><id>https://forge.codesys.com5e1ff90726879453198332aceb90fcdee4fd93fd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Good morning,&lt;br/&gt;
in my apartment I do not have the ability to pull other cables to match some equipment.&lt;/p&gt;
&lt;p&gt;The only connection I have between the apartment and the control point where I have raspberry with codesys is the network.&lt;/p&gt;
&lt;p&gt;My aim is to send the status of a button to codesys and how many times it is pressed to run preset scenarios.&lt;/p&gt;
&lt;p&gt;For example, press the button once, turn on all the lights, press twice, turn off all the lights, press the button for a long time, cancel the operation.&lt;br/&gt;
In large lines is what I would like to do&lt;/p&gt;
&lt;p&gt;So I was thinking of installing an arduino and passing the states via modbus directly to codesys?&lt;/p&gt;
&lt;p&gt;Is it possible for you to do this in this way?&lt;br/&gt;
Have any of you already done something like this?&lt;/p&gt;
&lt;p&gt;Thank you, Alberto&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>