<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Android sensors setup</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/08c125c5b8/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/08c125c5b8/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/08c125c5b8/</id><updated>2020-09-11T06:04:27.246000Z</updated><subtitle>Recent posts to Android sensors setup</subtitle><entry><title>Android sensors setup</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/08c125c5b8/?limit=25#8a05" rel="alternate"/><published>2020-09-11T06:04:27.246000Z</published><updated>2020-09-11T06:04:27.246000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comd0dabd54d41f2236e6eb96988c5cd7ff485c226e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Does a Ping work between Android Phone and IFM PLC?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Android sensors setup</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/08c125c5b8/?limit=25#9302" rel="alternate"/><published>2020-09-10T20:36:17.311000Z</published><updated>2020-09-10T20:36:17.311000Z</updated><author><name>davidredondo</name><uri>https://forge.codesys.com/u/davidredondo/</uri></author><id>https://forge.codesys.com4ffa0e5d695b11e83008d2f181569543a1029187</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello, many thanks for your answer.&lt;br/&gt;
I tested that but it doesn't work.&lt;br/&gt;
I attached a capture of my network area, maybe it is helpful&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Android sensors setup</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/08c125c5b8/?limit=25#746d" rel="alternate"/><published>2020-09-10T04:45:48.529000Z</published><updated>2020-09-10T04:45:48.529000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comb06f8018116005a6dbbd162de13abb6c443be236</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I would try to change the netvars broadcast address to a network broadcast...&lt;br/&gt;
the IFM device does probably not work with 255.255.255.255 change this to you network range 192.168.1.255 as example, if you net work is... 192.168.1.x&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Android sensors setup</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/08c125c5b8/?limit=25#0041" rel="alternate"/><published>2020-09-09T20:23:30.387000Z</published><updated>2020-09-09T20:23:30.387000Z</updated><author><name>davidredondo</name><uri>https://forge.codesys.com/u/davidredondo/</uri></author><id>https://forge.codesys.com46a831683549f3eee022d5163ea9e3f57137383c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello, I have a similar problem. I have an ifm Electronic HMI as PLC (CR1077) and y configure the network, but the problem is that my gateway port on my Codesys project is 1217, and cell phone app send data by port #1202 and cannot change it. Any idea to communicate my cell phone app (CodesysSensor) to my ifm Electronic HMI? It is possible?&lt;/p&gt;
&lt;p&gt;I have not problem to connect on virtual Codesys PLC and receive data.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Android sensors setup</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/08c125c5b8/?limit=25#00a0" rel="alternate"/><published>2020-02-27T15:04:58.388000Z</published><updated>2020-02-27T15:04:58.388000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com44c7df5be841fd69f47cd40eaf857f8f919fd495</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
they need to be in the same network (android and plc)&lt;br/&gt;
BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Android sensors setup</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/08c125c5b8/?limit=25#f15e" rel="alternate"/><published>2020-02-27T15:04:57.741000Z</published><updated>2020-02-27T15:04:57.741000Z</updated><author><name>lesaew1984</name><uri>https://forge.codesys.com/u/lesaew1984/</uri></author><id>https://forge.codesys.comd36fab647cced6a6d843f33098fd4d65bfbbac72</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Do I have to use the devices hotspot to connect the controller, or can they both just be on the same network interface?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Android sensors setup</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/08c125c5b8/?limit=25#b7c8" rel="alternate"/><published>2020-02-27T15:04:56.974000Z</published><updated>2020-02-27T15:04:56.974000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comf08f0f63627ae5ec0c7c05ba202ba0338f51a970</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
the most important is this list here:&lt;br/&gt;
This must 100% fit, because These liste is exactly used in the android app to send the values:&lt;br/&gt;
The upper Application is only a dummy application to have this list accessible as receive list.&lt;/p&gt;
&lt;p&gt;//This gobal variable list is received via the network.&lt;br/&gt;
//Sender: NVL &lt;span&gt;[SensorDataGenerator: PLC Logic: DataGenerator]&lt;/span&gt;&lt;br/&gt;
//Protocol: UDP&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="nt"&gt;VAR_GLOBAL&lt;/span&gt;
&lt;span class="err"&gt; &lt;/span&gt; &lt;span class="err"&gt; &lt;/span&gt;&lt;span class="nt"&gt;wVersion&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nt"&gt;WORD&lt;/span&gt; &lt;span class="o"&gt;:=&lt;/span&gt; &lt;span class="nt"&gt;16&lt;/span&gt;&lt;span class="p"&gt;#&lt;/span&gt;&lt;span class="nn"&gt;00_01&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="err"&gt; &lt;/span&gt; &lt;span class="err"&gt; &lt;/span&gt;&lt;span class="nt"&gt;wCounter&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nt"&gt;WORD&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="err"&gt; &lt;/span&gt; &lt;span class="err"&gt; &lt;/span&gt;&lt;span class="nt"&gt;dwFeatures&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nt"&gt;DWORD&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="err"&gt; &lt;/span&gt; &lt;span class="err"&gt; &lt;/span&gt;&lt;span class="nt"&gt;Data&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nt"&gt;SensorValues&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="err"&gt; &lt;/span&gt; &lt;span class="err"&gt; &lt;/span&gt;&lt;span class="nt"&gt;strCommand&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nt"&gt;STRING&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nt"&gt;70&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
&lt;span class="nt"&gt;END_VAR&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: NVL.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=3396"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: VarListSensorApp.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=3395"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Android sensors setup</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/08c125c5b8/?limit=25#7bdd" rel="alternate"/><published>2020-02-27T15:04:55.112000Z</published><updated>2020-02-27T15:04:55.112000Z</updated><author><name>lesaew1984</name><uri>https://forge.codesys.com/u/lesaew1984/</uri></author><id>https://forge.codesys.com7fff752f288b754f36d03b5ac5b689702dd6d0d2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks for the help so far but I am still unable to get it to work. I am getting a bunch of errors when I try to download to the device. Lets say I wanted to create a new project and just monitor screen rotation. How would I go about setting that up?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Android sensors setup</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/08c125c5b8/?limit=25#cfba" rel="alternate"/><published>2020-02-27T15:04:54.438000Z</published><updated>2020-02-27T15:04:54.438000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comf02c22487e8c0f2f93355f19633773b985a065c6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
You just need to download the second one... first one is only placeholder for the netvarlist. &lt;br/&gt;
BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Android sensors setup</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/08c125c5b8/?limit=25#1dc6" rel="alternate"/><published>2020-02-27T15:04:53.777000Z</published><updated>2020-02-27T15:04:53.777000Z</updated><author><name>lesaew1984</name><uri>https://forge.codesys.com/u/lesaew1984/</uri></author><id>https://forge.codesys.com616e8e549115d5a693aabc366e34a077f7fcad1f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;One problem I have been having with the example program is that it includes two devices, Datagenerator and receiver. Do I load both devices to the raspberry pi and which one do I run?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>