<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to codesys control pi master + arduino slave from usb connection</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/6328ace40b/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/6328ace40b/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/6328ace40b/</id><updated>2020-02-27T17:12:21.029000Z</updated><subtitle>Recent posts to codesys control pi master + arduino slave from usb connection</subtitle><entry><title>codesys control pi master + arduino slave from usb connection</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/6328ace40b/?limit=25#435d" rel="alternate"/><published>2020-02-27T17:12:21.029000Z</published><updated>2020-02-27T17:12:21.029000Z</updated><author><name>alverman</name><uri>https://forge.codesys.com/u/alverman/</uri></author><id>https://forge.codesys.com7ed21a4b25cda1db0d7feb5ee97cb0c92b6ac173</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ok ..... you can !!&lt;br/&gt;
I did some tests and finally I saw them running.&lt;br/&gt;
Now, however, I would just need some help.&lt;br/&gt;
Can somebody give me some information on how to write an arduino code to control inputs and outputs?&lt;br/&gt;
On the web there are many examples in modbus via ethernet but not serial.&lt;br/&gt;
Do you have a few pieces of arduino code that show you how to read an input and set an output i codsys ?&lt;/p&gt;
&lt;p&gt;Thanks a lot, Alberto&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>codesys control pi master + arduino slave from usb connection</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/6328ace40b/?limit=25#8cbf" rel="alternate"/><published>2020-02-27T17:12:20.076000Z</published><updated>2020-02-27T17:12:20.076000Z</updated><author><name>alverman</name><uri>https://forge.codesys.com/u/alverman/</uri></author><id>https://forge.codesys.comf9d7cce5d2b2952ca578ef9d953cf98685177bf3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Good morning !!&lt;br/&gt;
a question:&lt;br/&gt;
With an arduin connected to raspberry directly from usb you can control arduino via serial (and without any converter 485) from codesys?&lt;/p&gt;
&lt;p&gt;Do you have some examples of Arduinian code to read the values?&lt;/p&gt;
&lt;p&gt;Thank you, Alberto&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>